diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-08-07 14:53:31 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-08-07 14:53:31 +0000 |
commit | 966116b9f73a27cf2cb5692cf1bc326bc0bf2ceb (patch) | |
tree | ec0fa1fd1d8fbb42ff60439fb5448b5b0e46f118 /ffplay.c | |
parent | 547d205545dbbeec18708b74937ffc644b65003e (diff) | |
download | ffmpeg-966116b9f73a27cf2cb5692cf1bc326bc0bf2ceb.tar.gz |
Remove some hunks of unused and disabled code cruft.
Originally committed as revision 19606 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -1171,23 +1171,6 @@ static void alloc_picture(void *opaque) if (vp->bmp) SDL_FreeYUVOverlay(vp->bmp); -#if 0 - /* XXX: use generic function */ - /* XXX: disable overlay if no hardware acceleration or if RGB format */ - switch(is->video_st->codec->pix_fmt) { - case PIX_FMT_YUV420P: - case PIX_FMT_YUV422P: - case PIX_FMT_YUV444P: - case PIX_FMT_YUYV422: - case PIX_FMT_YUV410P: - case PIX_FMT_YUV411P: - is_yuv = 1; - break; - default: - is_yuv = 0; - break; - } -#endif vp->bmp = SDL_CreateYUVOverlay(is->video_st->codec->width, is->video_st->codec->height, SDL_YV12_OVERLAY, |