[Bug 769565] [tsdemux] playback is faster than normal speed for certain files
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Aug 5 20:01:28 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=769565
--- Comment #1 from Nirmal Palanisamy <nirmal.palanisamy at lge.com> ---
With this patch change, above mentioned issue is not observed.
diff --git a/gst/mpegtsdemux/mpegtspacketizer.c
b/gst/mpegtsdemux/mpegtspacketizer.c
index a7e0798..787dde8 100644
--- a/gst/mpegtsdemux/mpegtspacketizer.c
+++ b/gst/mpegtsdemux/mpegtspacketizer.c
@@ -1830,11 +1830,6 @@ _set_current_group (MpegTSPCR * pcrtable,
/* The previous group closed at the raw last_pcr diff (+100ms for
safety) */
pcr_offset += prev->values[prev->last_value].pcr + 100 * PCR_MSECOND;
}
- } else if (lastpcr < pcr - 500 * PCR_MSECOND) {
- GST_WARNING ("GAP detected. diff %" GST_TIME_FORMAT,
- GST_TIME_ARGS (PCRTIME_TO_GSTTIME (pcr - lastpcr)));
- /* The previous group closed at the raw last_pcr diff (+500ms for
safety) */
- pcr_offset += prev->values[prev->last_value].pcr + 500 * PCR_MSECOND;
} else
/* Normal continuation (contiguous in time) */
pcr_offset += pcr - prev->first_pcr;
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list