libeplayer3/subtitles/spark: use backbuffer and blit

Origin commit data
------------------
Branch: master
Commit: 84b264ad87
Author: martii <m4rtii@gmx.de>
Date: 2013-07-27 (Sat, 27 Jul 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-07-27 08:12:03 +02:00
parent 510d320b64
commit 19ba5c1b78
5 changed files with 29 additions and 62 deletions

View File

@@ -73,7 +73,7 @@ bool cPlayback::Open(playmode_t PlayMode)
if (framebuffer_callback) {
SubtitleOutputDef_t so;
memset(&so, 0, sizeof(so));
framebuffer_callback(&so.destination, &so.screen_width, &so.screen_height, &so.destStride, &so.framebufferFD);
framebuffer_callback(&so.destination, &so.screen_width, &so.screen_height, &so.destStride, &so.framebufferFD, &so.framebufferBlit);
so.shareFramebuffer = 1;
player->output->subtitle->Command(player, OUTPUT_SET_SUBTITLE_OUTPUT, (void*)&so);
}
@@ -702,7 +702,7 @@ void cPlayback::GetChapters(std::vector<int> &positions, std::vector<std::string
}
//
cPlayback::cPlayback(int num __attribute__((unused)), void (*fbcb)(unsigned char **, unsigned int *, unsigned int *, unsigned int *, int *))
cPlayback::cPlayback(int num __attribute__((unused)), void (*fbcb)(unsigned char **, unsigned int *, unsigned int *, unsigned int *, int *, void (**)(void)))
{
printf("%s:%s\n", FILENAME, __FUNCTION__);
playing=false;