forked from enlightenment/efl
emotion/generic: Make sure no new_frame is sent while opening or closing files.
This wasn't happening anyway, but let's make sure it won't ever happen. SVN revision: 63204
This commit is contained in:
parent
dca7c873b2
commit
10621a8c15
|
@ -188,6 +188,8 @@ _create_shm_data(Emotion_Generic_Video *ev, const char *shmname)
|
|||
static void
|
||||
_player_new_frame(Emotion_Generic_Video *ev)
|
||||
{
|
||||
if (ev->opening || ev->closing)
|
||||
return;
|
||||
if (!ev->drop++)
|
||||
_emotion_frame_new(ev->obj);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue