diff options
author | Stéphane Loeuillet <gstreamer@leroutier.net> | 2005-01-14 18:36:42 +0000 |
---|---|---|
committer | Stéphane Loeuillet <gstreamer@leroutier.net> | 2005-01-14 18:36:42 +0000 |
commit | c1097dfe75c8e441eb8c9b4132dc204f3f15e518 (patch) | |
tree | 63d6b67f704a057159efc998ebcd7f00eab3c29b /ext/dv | |
parent | 7129081f3397dcec37f9ed3b17a859fa2daa1542 (diff) |
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.
Diffstat (limited to 'ext/dv')
-rw-r--r-- | ext/dv/gstdvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c index 3632aee9..0bcff81b 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 |