diff options
author | Andrei Sarakeev <sarakusha@gmail.com> | 2014-10-07 12:10:42 +0400 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-10-14 09:43:04 +0200 |
commit | 581cabe2beee7124e2c233e5e26fc02e5082af37 (patch) | |
tree | edbfa6266282dd3436c024f55979eee669f1f698 | |
parent | 2f825e1e95410f57aaa9578e45bb01a8b944f945 (diff) |
decodebin: Only emit the drain signal for the main decode chain, not any subchains
https://bugzilla.gnome.org/show_bug.cgi?id=738064
-rw-r--r-- | gst/playback/gstdecodebin2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index db77dbc7a..e2bb1a056 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -3558,7 +3558,7 @@ beach: *drained = chain->drained; - if (*drained) + if (*drained && chain == dbin->decode_chain) g_signal_emit (dbin, gst_decode_bin_signals[SIGNAL_DRAINED], 0, NULL); return handled; |