Message ID | 20221218212952.1267905-2-vdhar1@protonmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] libavdevice/pulse_audio_enc: remove inevitable early return in mute state and volume change callback | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavdevice/pulse_audio_enc.c b/libavdevice/pulse_audio_enc.c index 038401c680..13e3165e36 100644 --- a/libavdevice/pulse_audio_enc.c +++ b/libavdevice/pulse_audio_enc.c @@ -95,9 +95,6 @@ static void pulse_audio_sink_input_cb(pa_context *ctx, const pa_sink_input_info AVFormatContext *h = userdata; PulseData *s = h->priv_data; - if (s->ctx != ctx) - return; - if (!eol) { double val; pa_volume_t vol = pa_cvolume_avg(&i->volume);
Signed-off-by: Varun Dhar <vdhar1@protonmail.com> --- libavdevice/pulse_audio_enc.c | 3 --- 1 file changed, 3 deletions(-)