Increase decode buffer size to match Pi/MMAL decoders

This commit is contained in:
Cameron Gutman committed 2022-06-26 14:22:54 -05:00
1 parent 5fe7b36b40
commit 543dc087fc
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@
#include <unistd.h> #include <unistd.h>
#include <stdbool.h> #include <stdbool.h>
#define DECODER_BUFFER_SIZE 92*1024 #define DECODER_BUFFER_SIZE 256*1024
#define SLICES_PER_FRAME 4 #define SLICES_PER_FRAME 4
static char* ffmpeg_buffer; static char* ffmpeg_buffer;
+1 -1
View File
@@ -37,7 +37,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <poll.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_VDPAU_ACCELERATION ENABLE_HARDWARE_ACCELERATION_1
#define X11_VAAPI_ACCELERATION ENABLE_HARDWARE_ACCELERATION_2 #define X11_VAAPI_ACCELERATION ENABLE_HARDWARE_ACCELERATION_2
#define SLICES_PER_FRAME 4 #define SLICES_PER_FRAME 4