From d76d681e4120c0381d36ef557eeb2df9d5589b9a Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Wed, 6 Feb 2008 02:03:35 +0000 Subject: [PATCH] [MOVED FROM GST-P-FARSIGHT] Fix framerate type in caps for gstmimic element 20080206020335-4f0f6-0d9e136039ad6b7b84982bdac242a059d50fbb66.gz --- ext/mimic/gstmimdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c index a1a8bceae6..9a62b54f68 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,