mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-17 18:02:23 +03:00
ALSA encoder: correctly set time_base.
This commit is contained in:
1 parent
721be99371
commit
d1b029dec9
1 file changed
+1
@@ -61,6 +61,7 @@ static av_cold int audio_write_header(AVFormatContext *s1)
|
||||
st->codec->sample_rate, sample_rate);
|
||||
goto fail;
|
||||
}
|
||||
av_set_pts_info(st, 64, 1, sample_rate);
|
||||
|
||||
return res;
|
||||
|
||||
|
||||
Reference in new issue
Block a user