This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 6d72600a30 fftools/ffplay: remove SDL_AUDIO_ALSA_SET_BUFFER_SIZE
6d72600a30 is described below

commit 6d72600a301c441e4a6d46663fbbfdad7e021068
Author:     Hunter Kvalevog <[email protected]>
AuthorDate: Thu Jul 2 19:17:30 2026 -0500
Commit:     James Almer <[email protected]>
CommitDate: Fri Jul 3 12:49:56 2026 +0000

    fftools/ffplay: remove SDL_AUDIO_ALSA_SET_BUFFER_SIZE
    
    SDL_AUDIO_ALSA_SET_BUFFER_SIZE was removed in SDL 2.0.9:
    
https://github.com/libsdl-org/SDL/commit/c591429542f429aac4979fb6ae9bbe024491a1f
    
    Signed-off-by: Hunter Kvalevog <[email protected]>
---
 fftools/ffplay.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 28a83e079f..93eff33b0a 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -3883,12 +3883,6 @@ int main(int argc, char **argv)
     flags = SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER;
     if (audio_disable)
         flags &= ~SDL_INIT_AUDIO;
-    else {
-        /* Try to work around an occasional ALSA buffer underflow issue when 
the
-         * period size is NPOT due to ALSA resampling by forcing the buffer 
size. */
-        if (!SDL_getenv("SDL_AUDIO_ALSA_SET_BUFFER_SIZE"))
-            SDL_setenv("SDL_AUDIO_ALSA_SET_BUFFER_SIZE","1", 1);
-    }
     if (display_disable)
         flags &= ~SDL_INIT_VIDEO;
     if (SDL_Init (flags)) {

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to