[Bug 653481] tsdemux: Fail to sync to stream when input buffers lacks OFFSET
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Jul 14 15:07:56 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=653481
GStreamer | gst-plugins-bad | 0.10.22
Alessandro Decina <alessandro.d> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alessandro.d at gmail.com
--- Comment #5 from Alessandro Decina <alessandro.d at gmail.com> 2011-07-14 22:07:54 UTC ---
... and
commit d439f2d38d590a47e60e5b4d7fd7a2f2307beac6
Author: Alessandro Decina <alessandro.d at gmail.com>
Date: Fri Jul 15 00:03:10 2011 +0200
mpegtsbase: actually set seen_pat=TRUE when we see a PAT
diff --git a/gst/mpegtsdemux/mpegtsbase.c b/gst/mpegtsdemux/mpegtsbase.c
index a2e7cba..463090a 100644
--- a/gst/mpegtsdemux/mpegtsbase.c
+++ b/gst/mpegtsdemux/mpegtsbase.c
@@ -834,7 +834,7 @@ mpegts_base_handle_psi (MpegTSBase * base,
MpegTSPacketizerSection * section)
if (G_LIKELY (structure)) {
mpegts_base_apply_pat (base, structure);
if (base->seen_pat == FALSE) {
-
+ base->seen_pat = TRUE;
base->first_pat_offset = GST_BUFFER_OFFSET (section->buffer);
GST_DEBUG ("First PAT offset: %" G_GUINT64_FORMAT,
base->first_pat_offset);
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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