summaryrefslogtreecommitdiff
path: root/gst/playback
diff options
context:
space:
mode:
Diffstat (limited to 'gst/playback')
-rw-r--r--gst/playback/gstdecodebin3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/playback/gstdecodebin3.c b/gst/playback/gstdecodebin3.c
index 1a8422001..1ab95440d 100644
--- a/gst/playback/gstdecodebin3.c
+++ b/gst/playback/gstdecodebin3.c
@@ -1625,7 +1625,9 @@ is_selection_done (GstDecodebin3 * dbin)
/* We are completely active */
msg = gst_message_new_streams_selected ((GstObject *) dbin, dbin->collection);
- GST_MESSAGE_SEQNUM (msg) = dbin->select_streams_seqnum;
+ if (dbin->select_streams_seqnum != GST_SEQNUM_INVALID) {
+ gst_message_set_seqnum (msg, dbin->select_streams_seqnum);
+ }
for (tmp = dbin->output_streams; tmp; tmp = tmp->next) {
DecodebinOutputStream *output = (DecodebinOutputStream *) tmp->data;
if (output->slot) {