summaryrefslogtreecommitdiffstats
path: root/gst/videofilter/gstvideobalance.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/gstvideobalance.c
parentc243e19dfa9e4ea821dfdcf5539b88e1b82da50f (diff)
Caps fixes and general cleanup.
Original commit message from CVS: Caps fixes and general cleanup.
Diffstat (limited to 'gst/videofilter/gstvideobalance.c')
-rw-r--r--gst/videofilter/gstvideobalance.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gst/videofilter/gstvideobalance.c b/gst/videofilter/gstvideobalance.c
index 136015fb..06ed0d6d 100644
--- a/gst/videofilter/gstvideobalance.c
+++ b/gst/videofilter/gstvideobalance.c
@@ -144,9 +144,10 @@ gst_videobalance_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_videobalance_get_capslist ());
@@ -161,9 +162,10 @@ gst_videobalance_sink_template_factory(void)
static GstPadTemplate *templ = NULL;
if(!templ){
- GstCaps *caps = GST_CAPS_NEW("sink","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_videobalance_get_capslist ());