[vlc-devel] [PATCH 09/12] omxil: signal that decoding is hardware-accelerated

Thomas Guillem thomas at gllm.fr
Thu Jun 9 11:52:01 CEST 2016


---
 modules/codec/omxil/omxil.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index a63cb30..0a26481 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -1022,6 +1022,7 @@ static int OpenDecoder( vlc_object_t *p_this )
     p_dec->pf_decode_video = DecodeVideo;
     p_dec->pf_decode_audio = DecodeAudio;
     p_dec->pf_flush        = Flush;
+    decoder_AddState(p_dec, DECODER_STATE_HW);
 
     return VLC_SUCCESS;
 }
-- 
2.8.1



More information about the vlc-devel mailing list