mirror of https://github.com/mpv-player/mpv
1000000000000000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16275 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e704b54632
commit
6cecdc9916
|
@ -318,7 +318,7 @@ static int amode2v4l(int amode)
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue