vlc | branch: master | David Fuhrmann <[email protected]> | 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" );
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to