summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdec.c
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2005-01-14 18:36:42 +0000
committerStéphane Loeuillet <gstreamer@leroutier.net>2005-01-14 18:36:42 +0000
commitc1097dfe75c8e441eb8c9b4132dc204f3f15e518 (patch)
tree63d6b67f704a057159efc998ebcd7f00eab3c29b /ext/dv/gstdvdec.c
parent7129081f3397dcec37f9ed3b17a859fa2daa1542 (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/gstdvdec.c')
-rw-r--r--ext/dv/gstdvdec.c2
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