[Bug 750398] avenc_mjpeg fails to negotiate the source format

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 4 16:17:32 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=750398

--- Comment #4 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
Created attachment 304620
  --> https://bugzilla.gnome.org/attachment.cgi?id=304620&action=edit
avcodec: Check against codec format list

There exist few formats (deprecated though) used by mjpeg decoder
and encoder that maps to the same GStreamer format. To properly
pick the right format, also lookup each Codec list before accepting
the format. This fixes error when trying to use mjpeg encoder.

Note that this may results in faded colors. In fact, these special
format are meant to specify that this is full range YUV. Colorimetry
in gst-libav is not yet implemented, hence is ignored in general. So
I think it's fine to first fix the issue before addressing the missing
feature.

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