After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616392 - videotestsrc colorspec=0/1 does not affect color-matrix in caps
videotestsrc colorspec=0/1 does not affect color-matrix in caps
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other Linux
: Normal normal
: 0.10.31
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-21 12:03 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2010-11-01 17:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Sauer (gstreamer, gtkdoc dev) 2010-04-21 12:03:10 UTC
$ gst-launch -vq videotestsrc colorspec=0 ! xvimagesink
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)YUY2, color-matrix=(string)sdtv, chroma-site=(string)mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1
...

$ gst-launch -vq videotestsrc colorspec=1 ! xvimagesink
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)YUY2, color-matrix=(string)sdtv, chroma-site=(string)mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1
...

imho paint_get_structure() should not set a unfixed list when a specific colorspec value is specified via gobject prop.
Comment 1 Benjamin Otte (Company) 2010-04-21 12:54:35 UTC
imho that property should be deprecated now that we can specify things like that in the caps.
Comment 2 David Schleef 2010-09-06 00:06:18 UTC
commit fc3840ee73034c00f40bd4394ed21dd38e714593
Author: David Schleef <ds@schleef.org>
Date:   Sun Sep 5 17:04:31 2010 -0700

    videotestsrc: deprecate colorspec property
    
    Fixes: #616392.