[ffmpeg-devel] question about SDL_EventState(SDL_USEREVENT, SDL_IGNORE) in ffplay
Mon Jul 11 13:54:33 CEST 2005
>From "amiga.sourceforge.net <http://amiga.sourceforge.net>", i got the
following explanation about SDL_EventState:
This function allows you to set the state of processing certain event type's.
If state is set to SDL_IGNORE, that event type will be automatically dropped
from the event queue and will not be filtered.
but in ffplay, there is:
SDL_EventState(SDL_USEREVENT, SDL_IGNORE); And
#define FF_ALLOC_EVENT (SDL_USEREVENT) And
And function alloc_picture is called once, is this the right behaviour?
Do i misunderstand something? I mean whether the event loop should receive
a event of FF_ALLOC_EVENT:)
Any help would be greatly appreciated!!!:)
More information about the ffmpeg-devel