[vlc-commits] vda: readd ref buffer flag (for ffmpeg variant only)

David Fuhrmann git at videolan.org
Mon May 12 23:20:48 CEST 2014


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Mon May 12 23:20:19 2014 +0200| [549b87a056dd69e1dee2bc04cd370d302f99c81b] | committer: David Fuhrmann

vda: readd ref buffer flag (for ffmpeg variant only)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=549b87a056dd69e1dee2bc04cd370d302f99c81b
---

 modules/codec/avcodec/vda.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/avcodec/vda.c b/modules/codec/avcodec/vda.c
index 3d05418..9da0527 100644
--- a/modules/codec/avcodec/vda.c
+++ b/modules/codec/avcodec/vda.c
@@ -190,6 +190,7 @@ static int Setup( vlc_va_t *external, void **pp_hw_ctx, vlc_fourcc_t *pi_chroma,
 
     memset( &p_va->hw_ctx, 0, sizeof(p_va->hw_ctx) );
     p_va->hw_ctx.format = 'avc1';
+    p_va->hw_ctx.use_ref_buffer = 1;
 
     int i_pix_fmt = var_CreateGetInteger( p_va->p_log, "avcodec-vda-pix-fmt" );
 



More information about the vlc-commits mailing list