bayer2rgb: Add framerate to the sink caps
authorBenjamin Gaignard <benjamin.gaignard@stericsson.com>
Wed, 15 Dec 2010 20:28:06 +0000 (21:28 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 15 Dec 2010 20:28:06 +0000 (21:28 +0100)
Fixes bug #637224.

gst/bayer/gstbayer2rgb.c

index c8c0640..67aaa42 100644 (file)
@@ -139,7 +139,7 @@ struct _GstBayer2RGBClass
   GST_VIDEO_CAPS_BGR
 
 #define SINK_CAPS "video/x-raw-bayer,format=(string){bggr,grbg,gbrg,rggb}," \
-  "width=(int)[1,MAX],height=(int)[1,MAX]"
+  "width=(int)[1,MAX],height=(int)[1,MAX],framerate=(fraction)[0/1,MAX]"
 
 enum
 {