Update moonlight-common-c for GFE 2.11

This commit is contained in:
Iwan Timmer
2016-03-08 14:51:08 +01:00
parent 46c8c89baf
commit 3943ba8cd8
6 changed files with 8 additions and 7 deletions

View File

@@ -24,7 +24,7 @@
static FILE* fd;
static const char* fileName = "fake.h264";
void decoder_renderer_setup(int width, int height, int redrawRate, void* context, int drFlags) {
void decoder_renderer_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
fd = fopen(fileName, "w");
}

View File

@@ -83,7 +83,7 @@ bool video_imx_init() {
return vpu_Init(NULL) == RETCODE_SUCCESS;
}
static void decoder_renderer_setup(int width, int height, int redrawRate, void* context, int drFlags) {
static void decoder_renderer_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
struct mxcfb_gbl_alpha alpha;
dbuf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT;

View File

@@ -53,7 +53,7 @@ static unsigned char *dest;
static int port_settings_changed;
static int first_packet;
static void decoder_renderer_setup(int width, int height, int redrawRate, void* context, int drFlags) {
static void decoder_renderer_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
bcm_host_init();
gs_sps_init(width, height);

View File

@@ -32,7 +32,7 @@
static char* ffmpeg_buffer;
static void sdl_setup(int width, int height, int redrawRate, void* context, int drFlags) {
static void sdl_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
int avc_flags = SLICE_THREADING;
if (drFlags && FORCE_HARDWARE_ACCELERATION)
avc_flags |= HARDWARE_ACCELERATION;