summaryrefslogtreecommitdiffstats
path: root/gst/videofilter/gstvideoflip.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-07-14 08:32:38 +0000
committerDavid Schleef <ds@schleef.org>2003-07-14 08:32:38 +0000
commitad79edbe4253373a22aca89f3d908c5b86d33470 (patch)
tree0aeaf91b3838a219761980d59dc574a100c9a5b6 /gst/videofilter/gstvideoflip.c
parentc243e19dfa9e4ea821dfdcf5539b88e1b82da50f (diff)
Caps fixes and general cleanup.
Original commit message from CVS: Caps fixes and general cleanup.
Diffstat (limited to 'gst/videofilter/gstvideoflip.c')
-rw-r--r--gst/videofilter/gstvideoflip.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gst/videofilter/gstvideoflip.c b/gst/videofilter/gstvideoflip.c
index 36cd5c08..cfa2b047 100644
--- a/gst/videofilter/gstvideoflip.c
+++ b/gst/videofilter/gstvideoflip.c
@@ -166,9 +166,10 @@ gst_videoflip_src_template_factory(void)
static GstPadTemplate *templ = NULL;
if(!templ){
- GstCaps *caps = GST_CAPS_NEW("src","video/raw",
+ GstCaps *caps = GST_CAPS_NEW("src","video/x-raw-yuv",
"width", GST_PROPS_INT_RANGE (0, G_MAXINT),
- "height", GST_PROPS_INT_RANGE (0, G_MAXINT));
+ "height", GST_PROPS_INT_RANGE (0, G_MAXINT),
+ "framerate", GST_PROPS_FLOAT_RANGE (0, G_MAXFLOAT));
caps = gst_caps_intersect(caps, gst_videoflip_get_capslist ());
@@ -183,9 +184,10 @@ gst_videoflip_sink_template_factory(void)
static GstPadTemplate *templ = NULL;
if(!templ){
- GstCaps *caps = GST_CAPS_NEW("sink","video/raw",
+ GstCaps *caps = GST_CAPS_NEW("sink","video/x-raw-yuv",
"width", GST_PROPS_INT_RANGE (0, G_MAXINT),
- "height", GST_PROPS_INT_RANGE (0, G_MAXINT));
+ "height", GST_PROPS_INT_RANGE (0, G_MAXINT),
+ "framerate", GST_PROPS_FLOAT_RANGE (0, G_MAXFLOAT));
caps = gst_caps_intersect(caps, gst_videoflip_get_capslist ());