Commit d972921c authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

filmDS: only get frame if film is loaded

parent 8072278f
......@@ -1223,14 +1223,10 @@ void filmDS::close()
pixBlock*filmDS::getFrame(void)
{
if(!player) {
if(!(player && player->isLoaded())) {
return 0;
}
#if 0
if(!player || !player->isLoaded()) {
return NULL;
}
if(player->isMovieDone()) {
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment