[Bug 676302] [jpegdec] Sinkpad template caps too strict

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 22 02:12:00 PDT 2012


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #7 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-05-22 09:11:58 UTC ---
> But would require the typefinder to add it

Lucky us:
$ gst-typefind-1.0 ~/samples/*jpg
/home/tpm/samples/149363-rbcrasher.jpg - image/jpeg, width=(int)1500,
height=(int)1500, sof-marker=(int)0
/home/tpm/samples/556648-lossless.jpg - image/jpeg, width=(int)320,
height=(int)240, sof-marker=(int)3


> and probably a parser to be plugged by default (in case of demuxers that don't set it)

Yes, indeed, would need to be added to demuxers, or we would need to fix up the
parser. Demuxers could trivially run gst_type_find_for_buffer() on the first
jpeg buffer they push out though (if they don't want to peek at the bits
directly). We could probably also get away with just setting sof-marker=0 for
now on demuxer caps, with a big FIXME. The most interesting distinction is
between "normal" jpeg and lossless jpeg.

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