[Bug 721676] typefind does not find the correct media type for mpg with http streaming

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 28 21:47:21 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=721676
  GStreamer | gstreamer (core) | git

--- Comment #13 from satish kumar <satishnitk2000 at gmail.com> 2014-11-29 05:47:15 UTC ---
(In reply to comment #10)
> If I'm not mistaken this is not very efficient... if we get hundreds of little
> buffers, we will combine them into a single big one... one by one, copying data
> over and over again. And then typefind over that data over and over again,
> every time with a little bit of more data in the end.
> 
> This doesn't seem like a great default behaviour


hi Sebastian,

with the current default implementation, we are iterating over and again by
more data till we find the probability greater than the minimum probability.
The minimum probability is not sufficient always for finding correct media
type( as in the reported case).

In the patch, I have extended the same philosophy, to check for maximum
probability for the given scanning range of data. when 100% probability found
in b/w, simply break and declare the valid type found. For most of the cases,
100% probability should be found with very few iterations.

BR/satish

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