mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-20 07:24:00 +00:00
Solve conflict between pi and imx codepaths
This commit is contained in:
1 parent
36bbba8bb6
commit
7653569bb5
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -115,7 +115,7 @@ static int frame_handle(int pipefd) {
|
||||
return LOOP_OK;
|
||||
}
|
||||
|
||||
int decoder_renderer_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
|
||||
static int decoder_renderer_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
|
||||
if (videoFormat != VIDEO_FORMAT_H264) {
|
||||
fprintf(stderr, "Video format not supported\n");
|
||||
return -1;
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ static unsigned char *dest;
|
||||
static int port_settings_changed;
|
||||
static int first_packet;
|
||||
|
||||
int decoder_renderer_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
|
||||
static int decoder_renderer_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
|
||||
if (videoFormat != VIDEO_FORMAT_H264) {
|
||||
fprintf(stderr, "Video format not supported\n");
|
||||
return -1;
|
||||
|
||||
Reference in new issue
Block a user