diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2008-02-06 02:03:35 +0000 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-03-03 14:34:04 -0500 |
commit | d76d681e4120c0381d36ef557eeb2df9d5589b9a (patch) | |
tree | 213876585322c8130a7fddf2d8c2846d53d93f20 /ext/mimic | |
parent | 01f8344bf0684fdca57a4f8d6073b50e91c9a9de (diff) | |
download | gst-plugins-bad-d76d681e4120c0381d36ef557eeb2df9d5589b9a.tar.gz gst-plugins-bad-d76d681e4120c0381d36ef557eeb2df9d5589b9a.tar.bz2 gst-plugins-bad-d76d681e4120c0381d36ef557eeb2df9d5589b9a.zip |
[MOVED FROM GST-P-FARSIGHT] Fix framerate type in caps for gstmimic element
20080206020335-4f0f6-0d9e136039ad6b7b84982bdac242a059d50fbb66.gz
Diffstat (limited to 'ext/mimic')
-rw-r--r-- | ext/mimic/gstmimdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c index a1a8bcea..9a62b54f 100644 --- a/ext/mimic/gstmimdec.c +++ b/ext/mimic/gstmimdec.c @@ -49,7 +49,7 @@ GST_STATIC_PAD_TEMPLATE ( "bpp = (int) 24, " "depth = (int) 24, " "endianness = (int) 4321, " - "framerate = (double) [1.0, 30.0], " + "framerate = (fraction) [1/1, 30/1], " "red_mask = (int) 16711680, " "green_mask = (int) 65280, " "blue_mask = (int) 255, " @@ -273,7 +273,7 @@ gst_mimdec_chain (GstPad *pad, GstBuffer *in) "bpp", G_TYPE_INT, 24, "depth", G_TYPE_INT, 24, "endianness", G_TYPE_INT, 4321, - "framerate", G_TYPE_DOUBLE, 30.0, + "framerate", GST_TYPE_FRACTION, 15, 1, "red_mask", G_TYPE_INT, 16711680, "green_mask", G_TYPE_INT, 65280, "blue_mask", G_TYPE_INT, 255, |