mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
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 <stephan@openelec.tv>
This commit is contained in:
parent
9e61bf2cfe
commit
72368a998d
@ -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);
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user