summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2018-02-14 10:21:49 +0000
committerPhilippe Normand <philn@igalia.com>2018-02-14 10:23:03 +0000
commit22a6287b8e021428f958216db9995e8dacebcaa7 (patch)
treea4b5a140d89c684519e04308640dfb37113a025c
parent466b868459b498edaffd2bdcac998792e6488327 (diff)
playbin3: fix source-setup signal emission
Previous code would pass 0 as source element.
-rw-r--r--gst/playback/gstplaybin3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/playback/gstplaybin3.c b/gst/playback/gstplaybin3.c
index 6e4bf72d6..d5cc5d1c5 100644
--- a/gst/playback/gstplaybin3.c
+++ b/gst/playback/gstplaybin3.c
@@ -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 */