]> git.sesse.net Git - vlc/commit
omxil: Don't require SetAudioParameters on the decoder output port to succeed
authorMartin Storsjö <martin@martin.st>
Wed, 11 Apr 2012 16:25:36 +0000 (19:25 +0300)
committerMartin Storsjö <martin@martin.st>
Sat, 2 Feb 2013 13:59:01 +0000 (15:59 +0200)
commit4edfa4f5fb997933531c79eefe81f0b36377c6e4
tree0dd14ab65a8d1f2d8b340a9aaf0cbd39a6f438b8
parent3e91dcf90752d4d9f787f030340033882b7af2a8
omxil: Don't require SetAudioParameters on the decoder output port to succeed

It's mostly enough to call it on the input port, while we later get
back what the decoder itself set on the output port (based on the
input port and codec config data), so if this fails, just ignore it.

This is required for using google SW audio codecs via OMX, which is
useful mostly for testing. (Using them still requires a few more
hacks though.)

Signed-off-by: Martin Storsjö <martin@martin.st>
modules/codec/omxil/omxil.c