mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
make auto ScreenShot with short video
Origin commit data
------------------
Branch: ni/coolstream
Commit: 42c61b319e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-04-22 (Tue, 22 Apr 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -792,7 +792,7 @@ void CMoviePlayerGui::PlayFile(void)
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
g_RCInput->postMsg(msg, data);
|
||||
} else if (msg == CRCInput::RC_timeout || msg == NeutrinoMessages::EVT_TIMER) {
|
||||
if (playstate == CMoviePlayerGui::PLAY && position >= 300000)
|
||||
if (playstate == CMoviePlayerGui::PLAY && (position >= 300000 || (duration<300000 && (position>(duration /2)))))
|
||||
makeScreenShot(true);
|
||||
} else if (msg == CRCInput::RC_favorites) {
|
||||
makeScreenShot(false, true);
|
||||
|
Reference in New Issue
Block a user