Problem with caps between v4l2src and autovideosink

Tim Müller tim at centricular.com
Thu Sep 18 10:52:14 PDT 2014


On Thu, 2014-09-18 at 10:09 -0400, Nicolas Dufresne wrote:

> >               "format", G_TYPE_STRING, "YUY2",
> Format isn't a string, it's a GST_TYPE_VIDEO_FORMAT.
> (...) In this case, format 
> (of type VIDEO_FORMAT) is mandatory, but missing / wrong type. This is 
> most likely the reason.

No, the "format" field in raw audio/video caps is a string.

http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/docs/design/part-mediatype-video-raw.txt#n58

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list