emotion/generic - Set filename to NULL on file_close.
authorRafael Antognolli <antognolli@gmail.com>
Mon, 5 Sep 2011 16:37:20 +0000 (16:37 +0000)
committerRafael Antognolli <antognolli@gmail.com>
Mon, 5 Sep 2011 16:37:20 +0000 (16:37 +0000)
commita31e5f2b24b6e704ed0ddae86b8a36ab6f8eb97d
treeba58bdb018b1d91684eb41ed3267a858ecd5b7c1
parentc6ca436e79976e22c552759103f3090021678e41
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.

SVN revision: 63208
legacy/emotion/src/examples/emotion_generic_example.c
legacy/emotion/src/modules/generic/emotion_generic.c