vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Sep 26 21:14:34 2015 +0300| [1e66f3f66742cce4f8b26dc56fab5b7f253f8428] | committer: Rémi Denis-Courmont
avcodec: do not clobber the direct rendering flag The direct rendering flag used to gated certain code paths from hardware decoding. Nowadays, the flag is not checked when hardware decoding is active, so there are no needs to clobber it anymore. This allows using direct rendering when falling back from hardware decoding to software decoding. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e66f3f66742cce4f8b26dc56fab5b7f253f8428 --- modules/codec/avcodec/video.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c index 04606f9..1ba047f 100644 --- a/modules/codec/avcodec/video.c +++ b/modules/codec/avcodec/video.c @@ -1160,10 +1160,6 @@ static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context, if (va->description != NULL) msg_Info(p_dec, "Using %s for hardware decoding", va->description); - /* FIXME this will disable direct rendering - * even if a new pixel format is renegotiated - */ - p_sys->b_direct_rendering = false; p_sys->p_va = va; p_context->draw_horiz_band = NULL; return pi_fmt[i]; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
