From 72368a998d7d2ff1ac234e97ade0d46eb29fafe1 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 3 Jul 2012 23:14:13 +0200 Subject: [PATCH] xbmc-rpi: add patch to fix a issue with h264 main and baseline profile videos being played with ff-h264 instead of omx-h264, thanks to 'humla' :-) Signed-off-by: Stephan Raue --- ...mc-rpi-39c680e-990.02-fix-omx-ommission.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/mediacenter/xbmc-rpi/patches/xbmc-rpi-39c680e-990.02-fix-omx-ommission.patch diff --git a/packages/mediacenter/xbmc-rpi/patches/xbmc-rpi-39c680e-990.02-fix-omx-ommission.patch b/packages/mediacenter/xbmc-rpi/patches/xbmc-rpi-39c680e-990.02-fix-omx-ommission.patch new file mode 100644 index 0000000000..bad3a816cb --- /dev/null +++ b/packages/mediacenter/xbmc-rpi/patches/xbmc-rpi-39c680e-990.02-fix-omx-ommission.patch @@ -0,0 +1,16 @@ +diff -Naur a/xbmc/filesystem/CurlFile.cpp b/xbmc/filesystem/CurlFile.cpp +--- a/xbmc/cores/playercorefactory/PlayerCoreFactory.cpp 2012-07-03 14:34:17.000000000 +0100 ++++ b/xbmc/cores/playercorefactory/PlayerCoreFactory.cpp 2012-07-03 14:49:14.000000000 +0100 +@@ -227,6 +227,12 @@ + VECPLAYERCORES vecCores; + GetPlayers(item, vecCores); + ++#if defined(HAVE_OMXPLAYER) ++ for (int i = 0; i < vecCores.size();i++) ++ if (vecCores.at(i) == PCID_OMXPLAYER) ++ return EPC_OMXPLAYER; ++#endif ++ + //If we have any players return the first one + if( vecCores.size() > 0 ) return vecCores.at(0); +