emotion/generic - Set filename to NULL on file_close.
authorantognolli <antognolli>
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)
commit362a689ff5b8a4c6e0f40b73f9660a3e98cacf66
treed0debd07a6fd6b8feefd319d357289ec28429c1e
parent18b06d803d9b1a00c43482181750102d9e33e6ea
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: http://svn.enlightenment.org/svn/e/trunk/emotion@63208 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/examples/emotion_generic_example.c
src/modules/generic/emotion_generic.c