From 1842191dc542f9ffe19b2b5ce054f64dfea40497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Loeuillet?= Date: Fri, 14 Jan 2005 18:36:42 +0000 Subject: I'm a bad boy. using /1001. to force C to do float division and not integer division (as it did in my last commit) Original commit message from CVS: * ext/dv/gstdvdec.c: * gst/subparse/gstsubparse.c: (parse_mdvdsub): * gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect): I'm a bad boy. using /1001. to force C to do float division and not integer division (as it did in my last commit) Thanks to David I. Lehn for pointing this mistake. --- gst/y4m/gsty4mencode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/y4m') diff --git a/gst/y4m/gsty4mencode.c b/gst/y4m/gsty4mencode.c index 396b0625..f70f101a 100644 --- a/gst/y4m/gsty4mencode.c +++ b/gst/y4m/gsty4mencode.c @@ -136,11 +136,11 @@ gst_y4mencode_sinkconnect (GstPad * pad, const GstCaps * caps) gdouble fps; gdouble framerates[] = { 00.000, - 24000 / 1001, 24.000, /* 24fps movie */ + 24000 / 1001., 24.000, /* 24fps movie */ 25.000, /* PAL */ - 30000 / 1001, 30.000, /* NTSC */ + 30000 / 1001., 30.000, /* NTSC */ 50.000, - 60000 / 1001, 60.000 + 60000 / 1001., 60.000 }; GstStructure *structure; -- cgit v1.2.1