mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
mpegtsparse: Fix switched DTS/PTS when set-timestamps=false
Fixes 30ee21eae3
.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2047>
This commit is contained in:
parent
92626535c7
commit
b9cc83ccf8
1 changed files with 2 additions and 2 deletions
|
@ -809,8 +809,8 @@ mpegts_parse_push (MpegTSBase * base, MpegTSPacketizerPacket * packet,
|
|||
}
|
||||
|
||||
/* Copy over input PTS/DTS (if present) */
|
||||
GST_BUFFER_DTS (buf) = base->packetizer->last_pts;
|
||||
GST_BUFFER_PTS (buf) = base->packetizer->last_dts;
|
||||
GST_BUFFER_DTS (buf) = base->packetizer->last_dts;
|
||||
GST_BUFFER_PTS (buf) = base->packetizer->last_pts;
|
||||
ret = mpegts_parse_have_buffer (base, gst_buffer_ref (buf));
|
||||
|
||||
while (pad && !done) {
|
||||
|
|
Loading…
Reference in a new issue