libeplayer3: minor changes

Origin commit data
------------------
Branch: master
Commit: e80f8646e7
Author: martii <m4rtii@gmx.de>
Date: 2013-07-07 (Sun, 07 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-07 15:59:55 +02:00
parent 4262df3bb0
commit da5eb57d72
3 changed files with 19 additions and 9 deletions

View File

@@ -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");