summaryrefslogtreecommitdiffstats
path: root/gst/y4m
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2005-01-14 12:27:22 +0000
committerJan Schmidt <thaytan@noraisin.net>2009-05-15 23:35:07 +0100
commite706ed61e42a37b597c0ac96908eb775b9d5307a (patch)
tree1bea17df2c9adc9eb77b0e58914c848c57ec65b8 /gst/y4m
parentaf491d646c2bcaba533a605253ce725594459e9b (diff)
[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
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 25e1f94e..396b0625 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,
- 23.976, 24.000, /* 24fps movie */
+ 24000 / 1001, 24.000, /* 24fps movie */
25.000, /* PAL */
- 29.970, 30.000, /* NTSC */
+ 30000 / 1001, 30.000, /* NTSC */
50.000,
- 59.940, 60.000
+ 60000 / 1001, 60.000
};
GstStructure *structure;