Commit 52a7c494 authored by Martin Storsjö's avatar Martin Storsjö Committed by 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: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent bdf858da
...@@ -1070,7 +1070,7 @@ loaded: ...@@ -1070,7 +1070,7 @@ loaded:
} }
p_header->nOffset = 0; 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, msg_Dbg(p_dec, "sending codec config data %p, %p, %i", p_header,
p_header->pBuffer, (int)p_header->nFilledLen); p_header->pBuffer, (int)p_header->nFilledLen);
OMX_EmptyThisBuffer(p_sys->omx_handle, p_header); OMX_EmptyThisBuffer(p_sys->omx_handle, p_header);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment