[rbp/omxplayer] Ignore expected errors when tearing down audio
authorpopcornmix <popcornmix@gmail.com>
Tue, 8 Oct 2013 13:54:10 +0000 (14:54 +0100)
committerpopcornmix <popcornmix@gmail.com>
Tue, 8 Oct 2013 15:56:31 +0000 (16:56 +0100)
commit23d8a34bc5a7a6438a47f48a1fab921752f8b68b
treeb5345d577ed449b188a161fd9f788e9ad0a35882
parent777140252b47574e7be0b5aa92e5da75161cda24
[rbp/omxplayer] Ignore expected errors when tearing down audio

The previous commit to avoid the error log message for port unpopulated
doesn't actually swallow the error event, so the next command issues will fail.

(currently we don't care as we are cleaning up, but it makes editing this code fragile)

I've also changed the teardown sequence to match the video component which seems safer.
xbmc/cores/omxplayer/OMXAudio.cpp
xbmc/linux/OMXCore.cpp
xbmc/linux/OMXCore.h