Commit d1b029de authored by Nicolas George's avatar Nicolas George

ALSA encoder: correctly set time_base.

parent 721be993
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment