emotion/generic: backport: Mark file as not ready during partial shutdown.
authorantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 4 Dec 2012 00:43:52 +0000 (00:43 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 4 Dec 2012 00:43:52 +0000 (00:43 +0000)
This should fix ticket #1586.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/emotion-1.7@80116 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/generic/emotion_generic.c

index e4771ce..e0ff6d9 100644 (file)
@@ -1048,6 +1048,8 @@ em_partial_shutdown(Emotion_Generic_Video *ev)
        ev->player.exe = NULL;
      }
 
+   ev->file_ready = EINA_FALSE;
+
    if (ev->shared)
      munmap(ev->shared, ev->shared->size);
    ev->shared = NULL;