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:
[CST] Focus
2015-01-16 14:38:49 +03:00
parent 1eef93b686
commit 957416a392

View File

@@ -348,15 +348,14 @@ void CMoviePlayerGui::fillPids()
vpid = p_movie_info->epgVideoPid;
vtype = p_movie_info->VideoType;
/* FIXME: better way to detect TS recording */
if (!vpid) {
is_file_player = true;
return;
}
numpida = 0; currentapid = 0;
/* FIXME: better way to detect TS recording */
if (!p_movie_info->audioPids.empty()) {
currentapid = p_movie_info->audioPids[0].epgAudioPid;
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++) {
apids[i] = p_movie_info->audioPids[i].epgAudioPid;