mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libspark/playback_libeplayer3: fix multi-program handling
Origin commit data
------------------
Branch: master
Commit: a8499a543b
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:
@@ -82,7 +82,9 @@ bool cPlayback::Start(char *filename, int vpid, int vtype, int apid, int ac3, in
|
|||||||
} else {
|
} else {
|
||||||
std::vector<std::string> keys, values;
|
std::vector<std::string> keys, values;
|
||||||
int selected_program = 0;
|
int selected_program = 0;
|
||||||
if (!vpid && !apid && GetPrograms(keys, values) && (keys.size() > 1) && ProgramSelectionCallback) {
|
if (vpid || apid) {
|
||||||
|
;
|
||||||
|
} else if (GetPrograms(keys, values) && (keys.size() > 1) && ProgramSelectionCallback) {
|
||||||
const char *key = ProgramSelectionCallback(ProgramSelectionCallbackData, keys, values);
|
const char *key = ProgramSelectionCallback(ProgramSelectionCallbackData, keys, values);
|
||||||
if (!key) {
|
if (!key) {
|
||||||
player->Close();
|
player->Close();
|
||||||
|
Reference in New Issue
Block a user