This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit b7d7233d4efabf01e46038156bdafacb2f79eb1e Author: Michael Niedermayer <[email protected]> AuthorDate: Thu Oct 15 02:02:13 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sun Oct 18 03:19:28 2026 +0000 ffplay: keep the startup volume in percent stream_open() replaced the -volume percentage with the SDL volume it computed from it, so a second stream would compute its volume from the first stream's. Assisted-by: Claude --- fftools/ffplay.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fftools/ffplay.c b/fftools/ffplay.c index 11fcc808c2..5350f8e6dd 100644 --- a/fftools/ffplay.c +++ b/fftools/ffplay.c @@ -3625,9 +3625,7 @@ static VideoState *stream_open(const char *filename, goto fail; } } - startup_volume = av_clip(startup_volume, 0, 100); - startup_volume = av_clip(SDL_MIX_MAXVOLUME * startup_volume / 100, 0, SDL_MIX_MAXVOLUME); - is->audio_volume = startup_volume; + is->audio_volume = SDL_MIX_MAXVOLUME * av_clip(startup_volume, 0, 100) / 100; is->muted = 0; is->av_sync_type = av_sync_type; is->read_tid = SDL_CreateThread(read_thread, "read_thread", is); -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
