mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
avidemux: do not push discont buffers if they aren't discont
https://bugzilla.gnome.org/show_bug.cgi?id=682110
This commit is contained in:
parent
a344e4d43f
commit
8ed611cdbc
1 changed files with 4 additions and 0 deletions
|
@ -4858,6 +4858,8 @@ gst_avi_demux_loop_data (GstAviDemux * avi)
|
|||
GST_DEBUG_OBJECT (avi, "setting DISCONT flag");
|
||||
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT);
|
||||
stream->discont = FALSE;
|
||||
} else {
|
||||
GST_BUFFER_FLAG_UNSET (buf, GST_BUFFER_FLAG_DISCONT);
|
||||
}
|
||||
#if 0
|
||||
gst_avi_demux_add_assoc (avi, stream, timestamp, offset, keyframe);
|
||||
|
@ -5158,6 +5160,8 @@ gst_avi_demux_stream_data (GstAviDemux * avi)
|
|||
GST_DEBUG_OBJECT (avi, "Setting DISCONT");
|
||||
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT);
|
||||
stream->discont = FALSE;
|
||||
} else {
|
||||
GST_BUFFER_FLAG_UNSET (buf, GST_BUFFER_FLAG_DISCONT);
|
||||
}
|
||||
res = gst_pad_push (stream->pad, buf);
|
||||
buf = NULL;
|
||||
|
|
Loading…
Reference in a new issue