mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 15:32:43 +02:00
triple: fix audio mute state after fast-forwarding in playback
Origin commit data
------------------
Branch: master
Commit: 9812df6bba
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-03-04 (Sun, 04 Mar 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -103,7 +103,8 @@ void cPlayback::Close(void)
|
||||
if (pesbuf)
|
||||
free(pesbuf);
|
||||
pesbuf = NULL;
|
||||
//Stop();
|
||||
|
||||
audioDecoder->do_mute(audioDecoder->Muted, false);
|
||||
}
|
||||
|
||||
bool cPlayback::Start(char *filename, unsigned short vp, int vtype, unsigned short ap, int _ac3, unsigned int)
|
||||
@@ -407,6 +408,8 @@ bool cPlayback::SetSpeed(int speed)
|
||||
audioDecoder->Start();
|
||||
videoDecoder->Start();
|
||||
playstate = STATE_PLAY;
|
||||
/* cPlayback is a friend of cAudio and can use private methods */
|
||||
audioDecoder->do_mute(audioDecoder->Muted, false);
|
||||
}
|
||||
if (playback_speed == 1 && speed > 1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user