mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Unused variable
This commit is contained in:
parent
a19c66b79f
commit
b260e7eeee
1 changed files with 4 additions and 4 deletions
|
@ -594,7 +594,7 @@ addDecodeBin(GstElement *webrtc G_GNUC_UNUSED, GstPad *newpad, GstElement *pipe)
|
||||||
g_object_set(decodebin, "force-sw-decoders", TRUE, nullptr);
|
g_object_set(decodebin, "force-sw-decoders", TRUE, nullptr);
|
||||||
g_signal_connect(decodebin, "pad-added", G_CALLBACK(linkNewPad), pipe);
|
g_signal_connect(decodebin, "pad-added", G_CALLBACK(linkNewPad), pipe);
|
||||||
#if GST_CHECK_VERSION(1, 18, 0)
|
#if GST_CHECK_VERSION(1, 18, 0)
|
||||||
g_signal_connect(decodebin, "element-added", G_CALLBACK(setWaitForKeyFrame), pipe);
|
g_signal_connect(decodebin, "element-added", G_CALLBACK(setWaitForKeyFrame), nullptr);
|
||||||
#endif
|
#endif
|
||||||
gst_bin_add(GST_BIN(pipe), decodebin);
|
gst_bin_add(GST_BIN(pipe), decodebin);
|
||||||
gst_element_sync_state_with_parent(decodebin);
|
gst_element_sync_state_with_parent(decodebin);
|
||||||
|
|
Loading…
Reference in a new issue