mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
collectpads: Don't initially send an invalid DTS
Sending a possibly invalid DTS may confuse the muxers, which will then think the DTS is going backward. https://bugzilla.gnome.org/show_bug.cgi?id=740575
This commit is contained in:
parent
b5e4f7bd9d
commit
51549bf6ba
1 changed files with 1 additions and 1 deletions
|
@ -1642,7 +1642,7 @@ gst_collect_pads_clip_time (GstCollectPads * pads, GstCollectData * data,
|
|||
if (pads->priv->clip_func) {
|
||||
in = gst_buffer_new ();
|
||||
GST_BUFFER_PTS (in) = time;
|
||||
GST_BUFFER_DTS (in) = time;
|
||||
GST_BUFFER_DTS (in) = GST_CLOCK_TIME_NONE;
|
||||
pads->priv->clip_func (pads, data, in, &out, pads->priv->clip_user_data);
|
||||
if (out) {
|
||||
otime = GST_BUFFER_PTS (out);
|
||||
|
|
Loading…
Reference in a new issue