This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +build linux | |
package main | |
import ( | |
"flag" | |
"log" | |
"os" | |
"runtime" | |
"time" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +build ignore | |
package unix | |
// copied from mkerrors.sh | |
/* | |
#include <sys/capability.h> | |
#include <sys/param.h> | |
#include <sys/types.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U-Boot SPL 2017.01-rc3 (Jul 21 2017 - 11:26:32) | |
DRAM: 1024 MiB | |
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 | |
Trying to boot from MMC1 | |
U-Boot 2017.01-rc3 (Jul 21 2017 - 11:26:32 +0000) Allwinner Technology | |
CPU: Allwinner A20 (SUN7I) | |
Model: Cubietech Cubieboard2 | |
I2C: ready |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mplayer -input cmdlist/keylist | |
# key-toggle-fullscreen | |
# key-leave-fullscreen | |
# key-play-pause | |
# key-pause | |
# key-play | |
# key-faster | |
# key-slower | |
# key-rate-normal | |
# key-rate-faster-fine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/CrystalHD.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/CrystalHD.cpp | |
index 4b7a12f..dc8cc0b 100644 | |
--- a/xbmc/cores/dvdplayer/DVDCodecs/Video/CrystalHD.cpp | |
+++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/CrystalHD.cpp | |
@@ -850,7 +850,7 @@ bool CMPCOutputThread::GetDecoderOutput(void) | |
if (!pBuffer) | |
{ | |
// No free pre-allocated buffers so make one | |
- if (m_output_YV12) | |
+ if (1 || m_output_YV12) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import os | |
import signal | |
import shlex | |
MPLAYER_PATH='/opt/mplayer-vaapi/bin/mplayer' | |
MPLAYER_OPTS='-vo vaapi:glfinish -ao alsa:noblock:device=hw=0.3 -fs -slang en -subfont-text-scale 2 -subpos 100' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<playercorefactory> | |
<players> | |
<player name="mplayer-vaapi" type="ExternalPlayer" audio="false" video="true"> | |
<filename>/home/user/launch_mplayer.py</filename> | |
<args>"$PPID" "{1}"</args> | |
<hidexbmc>false</hidexbmc> | |
<hideconsole>false</hideconsole> | |
<warpcursor>none</warpcursor> | |
</player> | |
</players> |