mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-20 23:30:37 +00:00
Solve conflict between pi and imx codepaths
This commit is contained in:
@@ -115,7 +115,7 @@ static int frame_handle(int pipefd) {
|
|||||||
return LOOP_OK;
|
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) {
|
if (videoFormat != VIDEO_FORMAT_H264) {
|
||||||
fprintf(stderr, "Video format not supported\n");
|
fprintf(stderr, "Video format not supported\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ static unsigned char *dest;
|
|||||||
static int port_settings_changed;
|
static int port_settings_changed;
|
||||||
static int first_packet;
|
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) {
|
if (videoFormat != VIDEO_FORMAT_H264) {
|
||||||
fprintf(stderr, "Video format not supported\n");
|
fprintf(stderr, "Video format not supported\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user