diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-15 00:09:39 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-15 00:14:21 +0200 |
commit | 15f8941108c5372862035ce8e3cbfd2a6cefb241 (patch) | |
tree | 921dc52f4b22ae8f66f251000ecf495154f41e88 /ffplay.c | |
parent | 01a14ce0424a45caa24d4a9103afe26c39a6fd35 (diff) | |
parent | d246c18ea6dca4dbdc92aec6ae4e3e038999a709 (diff) | |
download | ffmpeg-15f8941108c5372862035ce8e3cbfd2a6cefb241.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
Avoid C99 variable declarations within for statements.
rtmp: Read and handle incoming packets while writing data
doc: document THREAD_TYPE fate variable
rtpdec: Don't require frames to start with a Mode A packet
avconv: don't try to free threads that were not initialized.
Conflicts:
doc/fate.texi
ffplay.c
libavdevice/dv1394.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -2687,14 +2687,13 @@ static void stream_cycle_channel(VideoState *is, int codec_type) static void toggle_full_screen(VideoState *is) { - av_unused int i; - is_full_screen = !is_full_screen; #if defined(__APPLE__) && SDL_VERSION_ATLEAST(1, 2, 14) /* OS X needs to reallocate the SDL overlays */ - for (i = 0; i < VIDEO_PICTURE_QUEUE_SIZE; i++) { + int i; + for (i = 0; i < VIDEO_PICTURE_QUEUE_SIZE; i++) is->pictq[i].reallocate = 1; - } #endif + is_full_screen = !is_full_screen; video_open(is, 1); } |