[MOVED FROM BAD] replace framerate aproximations by their real value (24000/1001, 30000/1001, 60000/1001)

Original commit message from CVS:
* ext/dv/gstdvdec.c:
* ext/libfame/gstlibfame.c:
* gst/subparse/gstsubparse.c: (parse_mdvdsub):
* gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect):
replace framerate aproximations by their real value
(24000/1001, 30000/1001, 60000/1001)
Finish fixing bug #164049
This commit is contained in:
Stéphane Loeuillet 2005-01-14 12:27:22 +00:00 committed by Jan Schmidt
parent af491d646c
commit e706ed61e4

View file

@ -136,11 +136,11 @@ gst_y4mencode_sinkconnect (GstPad * pad, const GstCaps * caps)
gdouble fps; gdouble fps;
gdouble framerates[] = { gdouble framerates[] = {
00.000, 00.000,
23.976, 24.000, /* 24fps movie */ 24000 / 1001, 24.000, /* 24fps movie */
25.000, /* PAL */ 25.000, /* PAL */
29.970, 30.000, /* NTSC */ 30000 / 1001, 30.000, /* NTSC */
50.000, 50.000,
59.940, 60.000 60000 / 1001, 60.000
}; };
GstStructure *structure; GstStructure *structure;