mirror of https://github.com/mpv-player/mpv
command: silence "Audio: no audio" line for playback speed
If no audio stream is selected, this line will be printed by reinit_audio_chain() when changing playback speed.
This commit is contained in:
parent
69436967b9
commit
2ade0951ef
|
@ -146,7 +146,8 @@ static int mp_property_playback_speed(m_option_t *prop, int action,
|
|||
opts->playback_speed = *(float *) arg;
|
||||
// Adjust time until next frame flip for nosound mode
|
||||
mpctx->time_frame *= orig_speed / opts->playback_speed;
|
||||
reinit_audio_chain(mpctx);
|
||||
if (mpctx->sh_audio)
|
||||
reinit_audio_chain(mpctx);
|
||||
return M_PROPERTY_OK;
|
||||
}
|
||||
case M_PROPERTY_PRINT:
|
||||
|
|
Loading…
Reference in New Issue