mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
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.
This commit is contained in:
parent
b91c909ef9
commit
1842191dc5
2 changed files with 12 additions and 3 deletions
|
@ -1,3 +1,12 @@
|
|||
2005-01-14 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
|
||||
|
||||
* 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.
|
||||
|
||||
2005-01-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported):
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue