From: Stéphane Loeuillet Date: Fri, 14 Jan 2005 18:36:42 +0000 (+0000) Subject: I'm a bad boy. using /1001. to force C to do float division and not integer division... X-Git-Tag: BRANCH-GSTREAMER-0_8-ROOT~121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1097dfe75c8e441eb8c9b4132dc204f3f15e518;p=platform%2Fupstream%2Fgst-plugins-good.git 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. --- diff --git a/ChangeLog b/ChangeLog index e1b7f8c..008d5dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-01-14 Stephane LOEUILLET + + * 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 * sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported): diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c index 3632aee..0bcff81 100644 --- a/ext/dv/gstdvdec.c +++ b/ext/dv/gstdvdec.c @@ -30,7 +30,7 @@ #define NTSC_HEIGHT 480 #define NTSC_BUFFER 120000 -#define NTSC_FRAMERATE 30000/1001 +#define NTSC_FRAMERATE 30000/1001. #define PAL_HEIGHT 576 #define PAL_BUFFER 144000