• Philipp Zabel's avatar
    v4l2object: improve colorspace handling for JPEG sources · 520e78c8
    Philipp Zabel authored
    gstjpegdec sets 1:4:0:0 colorimetry (full range BT.601 YCbCr encoding
    with unknown primaries and unknown transfer function). This currently
    gets translated to bt601 or bt709 depending on resolution.
    Both cases result in a negotiation failure:
    
        ERROR: from element /GstPipeline:pipeline0/v4l2video0convert:v4l2video0convert0: Device '/dev/video0' does not support 1:4:0:0 colorimetry
    
    Improve the guessing game by selecting JPEG colorimetry (JPEG colorspace
    with sRGB transfer function) under these specific conditions, and loosen
    the matching so that 1:4:0:0 input gets accepted if the device is
    actually configured to 1:4:7:1 (V4L2_PIX_FMT_JPEG default).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=796940
    520e78c8
Name
Last commit
Last update
common @ 3fa2c9e3 Loading commit data...
docs Loading commit data...
ext Loading commit data...
gst Loading commit data...
gst-libs/gst Loading commit data...
hooks Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
po Loading commit data...
sys Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.static-linking Loading commit data...
RELEASE Loading commit data...
REQUIREMENTS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-plugins-good.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...