mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
gui/movieplayer.cpp: fix radio recordings playback
Origin commit data
------------------
Branch: ni/coolstream
Commit: 204d029e26
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-01-16 (Fri, 16 Jan 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -348,15 +348,14 @@ void CMoviePlayerGui::fillPids()
|
|||||||
|
|
||||||
vpid = p_movie_info->epgVideoPid;
|
vpid = p_movie_info->epgVideoPid;
|
||||||
vtype = p_movie_info->VideoType;
|
vtype = p_movie_info->VideoType;
|
||||||
/* FIXME: better way to detect TS recording */
|
|
||||||
if (!vpid) {
|
|
||||||
is_file_player = true;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
numpida = 0; currentapid = 0;
|
numpida = 0; currentapid = 0;
|
||||||
|
/* FIXME: better way to detect TS recording */
|
||||||
if (!p_movie_info->audioPids.empty()) {
|
if (!p_movie_info->audioPids.empty()) {
|
||||||
currentapid = p_movie_info->audioPids[0].epgAudioPid;
|
currentapid = p_movie_info->audioPids[0].epgAudioPid;
|
||||||
currentac3 = p_movie_info->audioPids[0].atype;
|
currentac3 = p_movie_info->audioPids[0].atype;
|
||||||
|
} else if (!vpid) {
|
||||||
|
is_file_player = true;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
for (int i = 0; i < (int)p_movie_info->audioPids.size(); i++) {
|
for (int i = 0; i < (int)p_movie_info->audioPids.size(); i++) {
|
||||||
apids[i] = p_movie_info->audioPids[i].epgAudioPid;
|
apids[i] = p_movie_info->audioPids[i].epgAudioPid;
|
||||||
|
Reference in New Issue
Block a user