[MPlayer-cvslog] CVS: main/libmpdemux tvi_v4l2.c,1.28,1.29
Richard Felker CVS
syncmail at mplayerhq.hu
Fri Aug 19 16:30:27 CEST 2005
CVS change done by Richard Felker CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv26369/libmpdemux
Modified Files:
tvi_v4l2.c
Log Message:
1000000000000000l
Index: tvi_v4l2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tvi_v4l2.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- tvi_v4l2.c 6 Aug 2005 19:45:55 -0000 1.28
+++ tvi_v4l2.c 19 Aug 2005 14:30:24 -0000 1.29
@@ -318,7 +318,7 @@
static void setup_audio_buffer_sizes(priv_t *priv)
{
int bytes_per_sample = priv->audio_in.bytes_per_sample;
- double fps = priv->standard.frameperiod.denominator /
+ double fps = (double)priv->standard.frameperiod.denominator /
priv->standard.frameperiod.numerator;
int seconds = priv->video_buffer_size_max/fps;
More information about the MPlayer-cvslog
mailing list