[vlc-devel] [PATCH 1/4] omxil: Set the ENDOFFRAME flag on the extradata buffer

Martin Storsjö martin at martin.st
Wed Sep 19 11:54:42 CEST 2012


This is necessary for decoding of VC1 on Galaxy S3. (WMV3 still
doesn't work on that device, I haven't been able to figure out
what is missing yet.)
---
 modules/codec/omxil/omxil.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index 0e54611..a0f423d 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -1070,7 +1070,7 @@ loaded:
         }
 
         p_header->nOffset = 0;
-        p_header->nFlags = OMX_BUFFERFLAG_CODECCONFIG;
+        p_header->nFlags = OMX_BUFFERFLAG_CODECCONFIG | OMX_BUFFERFLAG_ENDOFFRAME;
         msg_Dbg(p_dec, "sending codec config data %p, %p, %i", p_header,
                 p_header->pBuffer, (int)p_header->nFilledLen);
         OMX_EmptyThisBuffer(p_sys->omx_handle, p_header);
-- 
1.7.10




More information about the vlc-devel mailing list