[Bug 645006] New: [mpegtsmux] in m2ts-mode, PAT is written only once
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Mar 17 04:02:02 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=645006
GStreamer | gst-plugins-bad | git
Summary: [mpegtsmux] in m2ts-mode, PAT is written only once
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: andreas.frisch at multimedia-labs.de
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME target: ---
GNOME version: ---
this resulted in hardware demuxer sometimes not being able to start filtering
because it didn't see the first and only appearing PAT in the m2ts stream
so i debugged and found two reasons for the PAT only being written once
the first is in the underlying tsmuxer.c where the PAT is only generated if a
flag mux->pat_changed is set but this flag is becoming TRUE again after
initialization.
the first problem is that in the new_packet_cb, every very first packet with a
new_pcr gets gets lost because it's not being put into the adapter. since PAT
is usually only one TS packet long and has a new_pcr, every PAT except for the
first is affected (since the first_pcr packet is directly pushed without
adapter).
i hope i did this patch right and i'd appreciate it if you could review it.
--
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