Changeset 39846


Ignore:
Timestamp:
01/28/17 19:57:29 (6 years ago)
Author:
obi
Message:

test subs

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/player.h

    r39840 r39846  
    12641264
    12651265                //for subtitle
    1266 //              SubtitleOutputDef_t subout;
    1267 
    1268 //              subout.screen_width = skinfb->width;
    1269 //              subout.screen_height = skinfb->height;
    1270 //              subout.framebufferFD = skinfb->fd;
    1271 //              subout.destination = (uint32_t *)skinfb->fb;
    1272 //              subout.destStride = skinfb->pitch;
    1273 //              subout.shareFramebuffer = 1;
    1274 //              subout.framebufferBlit = blitfb1;
    1275 
    1276 //              player->output->subtitle->Command(player, (OutputCmd_t)OUTPUT_SET_SUBTITLE_OUTPUT, (void*)&subout);
     1266                SubtitleOutputDef_t subout;
     1267
     1268                subout.screen_width = skinfb->width;
     1269                subout.screen_height = skinfb->height;
     1270                subout.framebufferFD = skinfb->fd;
     1271                subout.destination = (uint32_t *)skinfb->fb;
     1272                subout.destStride = skinfb->pitch;
     1273                subout.shareFramebuffer = 1;
     1274                subout.framebufferBlit = blitfb1;
     1275
     1276                player->output->subtitle->Command(player, (OutputCmd_t)OUTPUT_SET_SUBTITLE_OUTPUT, (void*)&subout);
    12771277
    12781278                if(player->playback->Command(player, PLAYBACK_OPEN, &playbackFiles) < 0)
  • titan/titan/struct.h

    r39840 r39846  
    106106#include <common.h>
    107107//#ifndef BETA
    108 //#include <subtitle.h>
     108#include <subtitle.h>
    109109//#endif
    110110#endif
Note: See TracChangeset for help on using the changeset viewer.