summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2003-12-21 22:43:09 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2003-12-21 22:43:09 +0000
commita9cf65614b333b31475110471aff5cfa993ec7bd (patch)
tree918d8b635c1fcd33fa6de1f5b63251008142deef
parent697c5293333f06d1948bce1e3e714e3c657f653a (diff)
Port lame, libfame and xvid to new CAPS
Original commit message from CVS: Port lame, libfame and xvid to new CAPS Fix varargs in jpegdec and pngenc Make GstStaticPadTemplates static in gsmdec Add integer versions of the RGB masks in video.h Fix inverted logic in gstvideotestsrc
-rw-r--r--ext/jpeg/gstjpegdec.c2
-rw-r--r--ext/libpng/gstpngenc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c
index 5e49d2ca3..741184d67 100644
--- a/ext/jpeg/gstjpegdec.c
+++ b/ext/jpeg/gstjpegdec.c
@@ -86,7 +86,7 @@ jpeg_caps_factory (void)
return gst_caps2_new_simple ("image/jpeg",
"width", GST_TYPE_INT_RANGE, 16, 4096,
"height", GST_TYPE_INT_RANGE, 16, 4096,
- "framerate", GST_TYPE_DOUBLE_RANGE, 0, G_MAXDOUBLE,
+ "framerate", GST_TYPE_DOUBLE_RANGE, 0.0, G_MAXDOUBLE,
NULL);
}
diff --git a/ext/libpng/gstpngenc.c b/ext/libpng/gstpngenc.c
index dbb309209..0c1f77234 100644
--- a/ext/libpng/gstpngenc.c
+++ b/ext/libpng/gstpngenc.c
@@ -96,7 +96,7 @@ png_caps_factory (void)
return gst_caps2_new_simple ("video/x-png",
"width", GST_TYPE_INT_RANGE, 16, 4096,
"height", GST_TYPE_INT_RANGE, 16, 4096,
- "framerate", GST_TYPE_DOUBLE_RANGE, 0, G_MAXDOUBLE,
+ "framerate", GST_TYPE_DOUBLE_RANGE, 0.0, G_MAXDOUBLE,
NULL);
}