diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2013-03-06 17:15:50 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-03-09 14:33:54 +0100 |
commit | 2eaa3663fda750dac66d41fe8541a8744d5563a4 (patch) | |
tree | 0fd49b1aaf4d21ad0ffdd6b5df2e4c0c5c4e0a5f /avplay.c | |
parent | adfa53d67c7a3318157ea9d95e8bdcfb77139452 (diff) | |
download | ffmpeg-2eaa3663fda750dac66d41fe8541a8744d5563a4.tar.gz |
avplay: enable only when SDL 1.2 is found
SDL 2 is API incompatible.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'avplay.c')
-rw-r--r-- | avplay.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -2967,11 +2967,9 @@ int main(int argc, char **argv) } if (!display_disable) { -#if HAVE_SDL_VIDEO_SIZE const SDL_VideoInfo *vi = SDL_GetVideoInfo(); fs_screen_width = vi->current_w; fs_screen_height = vi->current_h; -#endif } SDL_EventState(SDL_ACTIVEEVENT, SDL_IGNORE); |