summaryrefslogtreecommitdiffstats
path: root/gst/y4m
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2005-01-14 18:36:42 +0000
committerJan Schmidt <thaytan@noraisin.net>2009-05-15 23:35:07 +0100
commit1c1fb2e31aed227486b1e9fa096418959a232626 (patch)
tree196a635da64eab2d05e8f7aba202d484a7a11231 /gst/y4m
parente706ed61e42a37b597c0ac96908eb775b9d5307a (diff)
[MOVED FROM BAD] 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.
Diffstat (limited to 'gst/y4m')
-rw-r--r--gst/y4m/gsty4mencode.c6
1 files changed, 3 insertions, 3 deletions
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;