mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
gui/movieplayer.cpp: fix radio recordings playback
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user