[vlc-commits] omxil: Set the ENDOFFRAME flag on the extradata buffer
Martin Storsjö
git at videolan.org
Wed Sep 19 14:49:00 CEST 2012
vlc | branch: master | Martin Storsjö <martin at martin.st> | Wed Sep 19 12:54:42 2012 +0300| [52a7c494b4ae72e9b5c31d306dca548a2e8aa735] | committer: Jean-Baptiste Kempf
omxil: Set the ENDOFFRAME flag on the extradata buffer
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.)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52a7c494b4ae72e9b5c31d306dca548a2e8aa735
---
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);
More information about the vlc-commits
mailing list