emotion/generic: Fix frame dropping.
authorantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 5 Sep 2011 21:52:18 +0000 (21:52 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 5 Sep 2011 21:52:18 +0000 (21:52 +0000)
commit59b5bd8cb778799116425815c1641357b71f321e
treec1666f154ca80a57ebcdab0a306c72b91c8c291a
parent343868babdaf1fb835a350f74ac422ecb76f0928
emotion/generic: Fix frame dropping.

Move the frame drop counter to the shared memory object, so the player
can check its value and not send new frames if we didn't "consume" the
previous one.

Also move the triple buffering pointer changing to the display function,
so it will only lock once when accessing the critical region.

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