Commit 1c1fb2e3 authored by Stéphane Loeuillet's avatar Stéphane Loeuillet Committed by Jan Schmidt
Browse files

[MOVED FROM BAD] I'm a bad boy. using /1001. to force C to do float division...

[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.
parent e706ed61
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment