How can I figure out if two caps are compatible

Sebastian Dröge sebastian at centricular.com
Wed Dec 4 23:57:30 PST 2013


On Mi, 2013-12-04 at 22:26 -0800, Ugly Face wrote:
> I have two pads with caps:
> 
> for srcpad:
> caps are video/x-raw-yuv, format=(string)"\(fourcc\)NV21", width=(int)320,
> height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ]

The problem is this: format=(string)"\(fourcc\)NV21"

This should be format=(fourcc)NV21, i.e. the fourcc NV21 instead of the
string "(fourcc)NV21".

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131205/05af978b/attachment.pgp>


More information about the gstreamer-devel mailing list