[Bug 703256] New: [PATCH] fix low probability typefinding for video/mpeg on small amount of data

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 28 07:15:40 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=703256
  GStreamer | gst-plugins-base | git

           Summary: [PATCH] fix low probability typefinding for video/mpeg
                    on small amount of data
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: vincent.penquerch at collabora.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


With the current test, we get into problems when we try to typefind
a MPEG stream from a small amount of data, which can happen when
we get data pushed from a HTTP source. We thus make a second test
to give higher probability if all the potential headers were either
pack or pes headers (ie, no potential header was unrecognized).

This fixes an issue with a MPEG1/MP2 stream being properly discovered
as video/mpeg from a file, but as audio/mpeg from souphttpsrc.

I'm not overlay certain this won't in turn make something typefind as mpeg/ts
while it is presently typefound as something else (correctly) though.
Typedinding probabilities are such a dark art... :)

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