emotion/generic - Set filename to NULL on file_close.
authorantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 5 Sep 2011 16:37:20 +0000 (16:37 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 5 Sep 2011 16:37:20 +0000 (16:37 +0000)
commit4792389147a69b1e22126eb80c0ee0d200ca1388
treed0debd07a6fd6b8feefd319d357289ec28429c1e
parent8586bc7bbc38fa0cc808d6c16c4760f11950fda2
emotion/generic - Set filename to NULL on file_close.

Otherwise if we try to call file_set(<some file>) after file_set(NULL),
it will send a close command to the player for an already closed file.

Also make the example cycle through the list of movies, but still
passing through a NULL file when reaching one of the ends of the list.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63208 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/examples/emotion_generic_example.c
src/modules/generic/emotion_generic.c