mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3: minor changes
This commit is contained in:
@@ -267,12 +267,13 @@ bool cPlayback::Start(char *filename, unsigned short vpid, int vtype, unsigned s
|
||||
bool cPlayback::Stop(void)
|
||||
{
|
||||
printf("%s:%s playing %d\n", FILENAME, __FUNCTION__, playing);
|
||||
if(playing==false) return false;
|
||||
//if(playing==false) return false;
|
||||
|
||||
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