emotion/generic/vlc: VLC needs to write data somewhere.
authorantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 3 Oct 2011 18:19:48 +0000 (18:19 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 3 Oct 2011 18:19:48 +0000 (18:19 +0000)
commit3f5e52512b7698a9752df363556eb4ee1bba34f3
treeeef7f4727a9bed2d0893af995c0c0e85b228a622
parent067f19493c0fcfc2ccce0e8c19600156b6f8949c
emotion/generic/vlc: VLC needs to write data somewhere.

It seems that depending on the system, vlc can't use a NULL pointer to
the pixels where it should write its data.

So a small amount of memory should be allocated and passed to its
rendering callbacks (specifically, the lock callback) when the file is
being opened and decoded for the first time. Then this memory can be
freed, since the real rendering will happen on the shared memory area.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63777 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/generic_players/vlc/emotion_generic_vlc.c