mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
make info copy only in timeshift mode
This commit is contained in:
@@ -511,9 +511,11 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
MI_MOVIE_INFO mi;
|
MI_MOVIE_INFO mi;
|
||||||
|
|
||||||
if(p_movie_info) {
|
if(p_movie_info) {
|
||||||
|
if(timeshift){
|
||||||
// p_movie_info may be invalidated by CRecordManager while we're still using it. Create and use a copy.
|
// p_movie_info may be invalidated by CRecordManager while we're still using it. Create and use a copy.
|
||||||
mi = *p_movie_info;
|
mi = *p_movie_info;
|
||||||
p_movie_info = &mi;
|
p_movie_info = &mi;
|
||||||
|
}
|
||||||
|
|
||||||
duration = p_movie_info->length * 60 * 1000;
|
duration = p_movie_info->length * 60 * 1000;
|
||||||
int percent = CZapit::getInstance()->GetPidVolume(p_movie_info->epgId, currentapid, currentac3 == 1);
|
int percent = CZapit::getInstance()->GetPidVolume(p_movie_info->epgId, currentapid, currentac3 == 1);
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
installdir = $(DATADIR)/neutrino/httpd/languages
|
installdir = $(DATADIR)/neutrino/httpd/languages
|
||||||
|
|
||||||
install_DATA = Deutsch English Portuguese Slovak
|
install_DATA = Czech Deutsch English Portuguese Slovak
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user