You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Revert "avdevice/pulse_audio_dec: only set adjust latency flag if fragment_size is not set"
This reverts commit 7f059a250b
.
Apparently adjusting latency makes a difference even if fragment size is specifed.
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -220,7 +220,7 @@ static av_cold int pulse_read_header(AVFormatContext *s)
|
|||||||
|
|
||||||
ret = pa_stream_connect_record(pd->stream, device, &attr,
|
ret = pa_stream_connect_record(pd->stream, device, &attr,
|
||||||
PA_STREAM_INTERPOLATE_TIMING
|
PA_STREAM_INTERPOLATE_TIMING
|
||||||
| (pd->fragment_size == -1 ? PA_STREAM_ADJUST_LATENCY : 0)
|
|PA_STREAM_ADJUST_LATENCY
|
||||||
|PA_STREAM_AUTO_TIMING_UPDATE);
|
|PA_STREAM_AUTO_TIMING_UPDATE);
|
||||||
|
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
|
Reference in New Issue
Block a user