GNOME Bugzilla – Bug 616392
videotestsrc colorspec=0/1 does not affect color-matrix in caps
Last modified: 2010-11-01 17:33:54 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.
imho that property should be deprecated now that we can specify things like that in the caps.
commit fc3840ee73034c00f40bd4394ed21dd38e714593 Author: David Schleef <ds@schleef.org> Date: Sun Sep 5 17:04:31 2010 -0700 videotestsrc: deprecate colorspec property Fixes: #616392.