mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-06-16 22:01:11 +00:00
Return 0 for video renderer setup
This commit is contained in:
@@ -83,6 +83,8 @@ int aml_setup(int videoFormat, int width, int height, int redrawRate, void* cont
|
|||||||
fprintf(stderr, "Can't set Freerun mode: %x\n", ret);
|
fprintf(stderr, "Can't set Freerun mode: %x\n", ret);
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void aml_cleanup() {
|
void aml_cleanup() {
|
||||||
|
|||||||
@@ -244,6 +244,8 @@ int decoder_renderer_setup(int videoFormat, int width, int height, int redrawRat
|
|||||||
|
|
||||||
fcntl(clearpipefd[0], F_SETFL, O_NONBLOCK);
|
fcntl(clearpipefd[0], F_SETFL, O_NONBLOCK);
|
||||||
fcntl(pipefd[0], F_SETFL, O_NONBLOCK);
|
fcntl(pipefd[0], F_SETFL, O_NONBLOCK);
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int decoder_renderer_submit_decode_unit(PDECODE_UNIT decodeUnit) {
|
static int decoder_renderer_submit_decode_unit(PDECODE_UNIT decodeUnit) {
|
||||||
|
|||||||
Reference in New Issue
Block a user