mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-25 13:30:42 +00:00
Increase decode buffer size to match Pi/MMAL decoders
This commit is contained in:
1 parent
5fe7b36b40
commit
543dc087fc
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user