Increase decode buffer size to match Pi/MMAL decoders

This commit is contained in:
Cameron Gutman 2022-06-26 14:22:54 -05:00
parent 5fe7b36b40
commit 543dc087fc
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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