]> git.sesse.net Git - vlc/commit
omxil: Pass extradata for WMV3 according to OMX specs
authorMartin Storsjö <martin@martin.st>
Tue, 29 Jan 2013 15:55:07 +0000 (17:55 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 30 Jan 2013 14:36:42 +0000 (15:36 +0100)
commita8e6ff47d155cea607bb7581afb4411095292f4b
tree2352d0b68005511a38668e7bc7c69f1f03e827cf
parent8e79d2426c2a07c922f8506286153e1c830f36da
omxil: Pass extradata for WMV3 according to OMX specs

Some OMX decoders that can handle WMV3 (such as the broadcom one
in raspberry pi) can handle the WMV3 extradata both in the original
form as in ASF, and in this format, while the one in Samsung Galaxy
S3 requires it to be in this format (as the OMX IL 1.2 specs specify).

This makes HW-accelerated WMV3 decoding work on Galaxy S3.

The code can be split out to a reusable function if/when the same
needs to be done elsewhere.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/omxil/omxil.c