Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

SDL: Prevent SDL_FreeSurface from freeing the LCD buffer

In direct mode, the statically allocated Rockbox LCD framebuffer is used and should never be freed. Otherwise, ROCKBOX_VideoQuit takes care of freeing the dynamically allocated hidden buffer, used for scaling.

This fixed hanging of Rockbox when quitting an SDL app.

Change-Id: Ib9cd8c04cc0d2d6ccedaa582a5a85ef211d0273c

+1
+1
apps/plugins/sdl/src/video/rockbox/SDL_rockboxvideo.c
··· 643 643 this->hidden->h = current->h = height; 644 644 current->pitch = current->w * (bpp / 8); 645 645 current->pixels = this->hidden->direct ? lcd_fb : this->hidden->buffer; 646 + current->flags |= SDL_PREALLOC; 646 647 647 648 /* We're done */ 648 649 return(current);