mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-03 00:06:06 +00:00
Increase decode buffer size to match Pi/MMAL decoders
This commit is contained in:
parent
5fe7b36b40
commit
543dc087fc
@ -28,7 +28,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define DECODER_BUFFER_SIZE 92*1024
|
||||
#define DECODER_BUFFER_SIZE 256*1024
|
||||
#define SLICES_PER_FRAME 4
|
||||
|
||||
static char* ffmpeg_buffer;
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <poll.h>
|
||||
|
||||
#define DECODER_BUFFER_SIZE 92*1024
|
||||
#define DECODER_BUFFER_SIZE 256*1024
|
||||
#define X11_VDPAU_ACCELERATION ENABLE_HARDWARE_ACCELERATION_1
|
||||
#define X11_VAAPI_ACCELERATION ENABLE_HARDWARE_ACCELERATION_2
|
||||
#define SLICES_PER_FRAME 4
|
||||
|
Loading…
x
Reference in New Issue
Block a user