[Bug 740458] New: hlsdemux typefind issue

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 20 12:22:14 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740458
  GStreamer | gst-plugins-bad | 1.4.0

           Summary: hlsdemux typefind issue
    Classification: Platform
           Product: GStreamer
           Version: 1.4.0
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: vijay.jayaraman at echostar.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


On some occasions, the very first buffer that comes to the src_chain in
hlsdemux is only 700 odd bytes long. All the subsequent buffers are 4k bytes
long.

hlsdemux runs gst_type_find_helper_for_buffer() on the data which in turn ends
up calling mpeg_ts_type_find and mpeg_ts_type_find needs at least
GST_MPEGTS_TYPEFIND_SYNC_SIZE worth of data to do the typefind which is 832
bytes. So, typefind fails and the pipeline errors out.

The fix would be that hlsdemux needs to wait for enough bytes before calling
typefind on the buffer.

-- 
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