Return 0 for video renderer setup

This commit is contained in:
Iwan Timmer
2017-05-31 20:13:27 +02:00
parent b9c7db7460
commit 2d0c76d0b5
2 changed files with 4 additions and 0 deletions

View File

@@ -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);
return -2;
}
return 0;
}
void aml_cleanup() {

View File

@@ -244,6 +244,8 @@ int decoder_renderer_setup(int videoFormat, int width, int height, int redrawRat
fcntl(clearpipefd[0], F_SETFL, O_NONBLOCK);
fcntl(pipefd[0], F_SETFL, O_NONBLOCK);
return 0;
}
static int decoder_renderer_submit_decode_unit(PDECODE_UNIT decodeUnit) {