Changeset 24101


Ignore:
Timestamp:
10/05/13 17:25:42 (9 years ago)
Author:
nit
Message:

fix

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/play.h

    r24082 r24101  
    247247                                if((ostrcmp(curtrackname, tracklist[i]) == 0 && ostrcmp(curtrackencoding, tracklist[i + 1]) == 0) || (tracklist[i] != NULL && curtrackid == atoi(tracklist[i])))
    248248                                {
    249                                         if(curtrackname != NULL && atoi(curtrackname) != 0)
    250                                                 tmp->handle1 = (char*)atoi(curtrackname);
    251                                         else
    252                                                 tmp->handle1 = (char*)(i / 2);
     249                                        tmp->handle1 = "running";
    253250                                        changeinput(tmp, _("running"));
    254251                                }
  • titan/titan/player.h

    r24090 r24101  
    13841384        if(player && player->output && player->output->subtitle)
    13851385                player->output->subtitle->Command(player, (OutputCmd_t)OUTPUT_STOP, NULL);
     1386        if(player && player->container && player->container->assContainer)
     1387        {
     1388                player->container->assContainer->Command(player, CONTAINER_STOP, NULL);
     1389                player->container->assContainer->Command(player, CONTAINER_INIT, NULL);
     1390        }
     1391        if(player && player->manager && player->manager->subtitle)
     1392        {
     1393                int onlycurrent = 1;
     1394                player->manager->subtitle->Command(player, MANAGER_DEL, (void*)&onlycurrent);
     1395        }
    13861396#endif
    13871397}
Note: See TracChangeset for help on using the changeset viewer.