libeplayer3: drop non-shared framebuffer support

This commit is contained in:
martii
2013-08-04 16:22:07 +02:00
parent be2ae1cbd8
commit cb34d91c57
4 changed files with 32 additions and 102 deletions

View File

@@ -106,8 +106,6 @@ static int isSubtitleOpened = 0;
static int screen_width = 0;
static int screen_height = 0;
static int destStride = 0;
static int shareFramebuffer = 0;
static int framebufferFD = -1;
static void (*framebufferBlit) = NULL;
static uint32_t *destination = NULL;
@@ -781,8 +779,6 @@ static int Command(void *_context, OutputCmd_t command, void * argument) {
SubtitleOutputDef_t* out = (SubtitleOutputDef_t*)argument;
out->screen_width = screen_width;
out->screen_height = screen_height;
out->shareFramebuffer = shareFramebuffer;
out->framebufferFD = framebufferFD;
out->framebufferBlit = framebufferBlit;
out->destination = destination;
out->destStride = destStride;
@@ -792,8 +788,6 @@ static int Command(void *_context, OutputCmd_t command, void * argument) {
SubtitleOutputDef_t* out = (SubtitleOutputDef_t*)argument;
screen_width = out->screen_width;
screen_height = out->screen_height;
shareFramebuffer = out->shareFramebuffer;
framebufferFD = out->framebufferFD;
framebufferBlit = out->framebufferBlit;
destination = out->destination;
destStride = out->destStride;