tdesktop/Telegram/SourceFiles/media
Alexander Bushnev 3af0c37c6b Fix video player volume level changing
Bug:
Sometimes changing of the volume level or mute/unmute has no effect.
It happens because Fader::onTimer get a current volume level from the Mixer,
but it gets an event about the volume modification from the settings.
Bug appear when the method onTimer calling between updating
of the settings and the Mixer volume.

Solution:
Updating the Mixer volume before the settings.
(maybe will be better to get the volume level
from the settings in place of the Mixer,
but I am not sure about other side effects of this)
2021-06-09 08:18:49 +03:00
..
audio Use av_packet_alloc instead of av_init_packet. 2021-05-26 22:53:54 +04:00
clip Fix deprecation warnings when building with FFmpeg 4.2. 2020-11-06 11:21:34 +03:00
player Unified and moved to single place generating of song name from SongData. 2021-05-31 08:54:22 +04:00
streaming Fix streaming frames prepare. 2021-05-24 22:45:15 +04:00
view Fix video player volume level changing 2021-06-09 08:18:49 +03:00