playbin3: fix source-setup signal emission
authorPhilippe Normand <philn@igalia.com>
Wed, 14 Feb 2018 10:21:49 +0000 (10:21 +0000)
committerPhilippe Normand <philn@igalia.com>
Wed, 14 Feb 2018 10:23:03 +0000 (10:23 +0000)
Previous code would pass 0 as source element.

gst/playback/gstplaybin3.c

index 6e4bf72..d5cc5d1 100644 (file)
@@ -4394,7 +4394,7 @@ source_setup_cb (GstElement * element, GstElement * source,
     GstSourceGroup * group)
 {
   g_signal_emit (group->playbin, gst_play_bin3_signals[SIGNAL_SOURCE_SETUP], 0,
-      0, source);
+      source);
 }
 
 /* must be called with PLAY_BIN_LOCK */