Mercurial > mplayer.hg
comparison mplayer.c @ 33695:60093217cb01
Rename guiGetEvent type guiSetDefaults guiNewFile.
It is the counterpart to type guiEndFile.
author | ib |
---|---|
date | Wed, 29 Jun 2011 14:31:17 +0000 |
parents | 45553d0f65c6 |
children | c919fb3d2531 |
comparison
equal
deleted
inserted
replaced
33694:45553d0f65c6 | 33695:60093217cb01 |
---|---|
3088 | 3088 |
3089 // =================== GUI idle loop (STOP state) =========================== | 3089 // =================== GUI idle loop (STOP state) =========================== |
3090 #ifdef CONFIG_GUI | 3090 #ifdef CONFIG_GUI |
3091 if (use_gui) { | 3091 if (use_gui) { |
3092 mpctx->file_format = DEMUXER_TYPE_UNKNOWN; | 3092 mpctx->file_format = DEMUXER_TYPE_UNKNOWN; |
3093 guiGetEvent(guiSetDefaults, 0); | 3093 guiGetEvent(guiNewFile, 0); |
3094 while (guiInfo.Playing != GUI_PLAY) { | 3094 while (guiInfo.Playing != GUI_PLAY) { |
3095 mp_cmd_t *cmd; | 3095 mp_cmd_t *cmd; |
3096 usec_sleep(20000); | 3096 usec_sleep(20000); |
3097 guiEventHandling(); | 3097 guiEventHandling(); |
3098 guiGetEvent(guiReDraw, NULL); | 3098 guiGetEvent(guiReDraw, NULL); |