mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
libeplayer3/manager: use AVDISCARD_NONE instead of AVDISCARD_DEFAULT to disable programs
Origin commit data
------------------
Branch: master
Commit: 04fb4c9add
Author: martii <m4rtii@gmx.de>
Date: 2014-08-31 (Sun, 31 Aug 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#define ENABLE_LOGGING 1
|
||||
#define ENABLE_LOGGING 0
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@@ -201,7 +201,7 @@ bool Manager::selectProgram(const int id)
|
||||
if (it->second->hidden || it->second->inactive) {
|
||||
it->second->stream->discard = AVDISCARD_ALL;
|
||||
} else {
|
||||
it->second->stream->discard = AVDISCARD_DEFAULT;
|
||||
it->second->stream->discard = AVDISCARD_NONE;
|
||||
player->input.SwitchAudio(it->second);
|
||||
}
|
||||
|
||||
@@ -209,7 +209,7 @@ bool Manager::selectProgram(const int id)
|
||||
if (it->second->hidden || it->second->inactive) {
|
||||
it->second->stream->discard = AVDISCARD_ALL;
|
||||
} else {
|
||||
it->second->stream->discard = AVDISCARD_DEFAULT;
|
||||
it->second->stream->discard = AVDISCARD_NONE;
|
||||
player->input.SwitchVideo(it->second);
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ bool Manager::selectProgram(const int id)
|
||||
if (it->second->hidden || it->second->inactive) {
|
||||
it->second->stream->discard = AVDISCARD_ALL;
|
||||
} else {
|
||||
it->second->stream->discard = AVDISCARD_DEFAULT;
|
||||
it->second->stream->discard = AVDISCARD_NONE;
|
||||
player->input.SwitchSubtitle(it->second);
|
||||
}
|
||||
|
||||
@@ -225,7 +225,7 @@ bool Manager::selectProgram(const int id)
|
||||
if (it->second->hidden || it->second->inactive) {
|
||||
it->second->stream->discard = AVDISCARD_ALL;
|
||||
} else {
|
||||
it->second->stream->discard = AVDISCARD_DEFAULT;
|
||||
it->second->stream->discard = AVDISCARD_NONE;
|
||||
player->input.SwitchTeletext(it->second);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user