mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
libeplayer3: minor changes
This commit is contained in:
@@ -227,13 +227,16 @@ bool cPlayback::Start(char *filename, unsigned short vpid, int vtype, unsigned s
|
||||
bool cPlayback::Stop(void)
|
||||
{
|
||||
printf("%s:%s playing %d\n", FILENAME, __func__, pd->playing);
|
||||
#if 0
|
||||
if (pd->playing == false)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
if(player && player->playback && player->output) {
|
||||
if(player && player->playback)
|
||||
player->playback->Command(player, PLAYBACK_STOP, NULL);
|
||||
|
||||
if(player && player->output)
|
||||
player->output->Command(player, OUTPUT_CLOSE, NULL);
|
||||
}
|
||||
|
||||
if(player && player->output) {
|
||||
player->output->Command(player,OUTPUT_DEL, (void*)"audio");
|
||||
|
Reference in New Issue
Block a user