mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
Revert "mpegtspacketizer: Convert PCR times to GStreamer times before comparing them against 500 * GST_MSECOND"
This reverts commit 9f186c6ab3
.
That commit was actually completely wrong, nevermind.
This commit is contained in:
parent
9f186c6ab3
commit
cb293af93d
1 changed files with 1 additions and 2 deletions
|
@ -1962,8 +1962,7 @@ record_pcr (MpegTSPacketizer2 * packetizer, MpegTSPCR * pcrtable,
|
|||
return;
|
||||
}
|
||||
/* If PCR diff is greater than 500ms, create new group */
|
||||
if (G_UNLIKELY (PCRTIME_TO_GSTTIME (corpcr) -
|
||||
PCRTIME_TO_GSTTIME (current->pending[current->last].pcr) >
|
||||
if (G_UNLIKELY (corpcr - current->pending[current->last].pcr >
|
||||
500 * PCR_MSECOND)) {
|
||||
GST_DEBUG ("New PCR more than 500ms away, handling discont");
|
||||
/* Take values from current and put them in the current group (closing it) */
|
||||
|
|
Loading…
Reference in a new issue