Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 329330 Details for
Bug 421683
media-video/raspberrypi-omxplayer (new package) Raspberry Pi accelerated video player
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
omxplayer-9999-wrapper.patch
file_421683.txt (text/plain), 1.23 KB, created by
Adam Marthaler
on 2012-11-12 13:02:55 UTC
(
hide
)
Description:
omxplayer-9999-wrapper.patch
Filename:
MIME Type:
Creator:
Adam Marthaler
Created:
2012-11-12 13:02:55 UTC
Size:
1.23 KB
patch
obsolete
>--- omxplayer.old 2012-11-11 01:00:01.721111001 +0000 >+++ omxplayer 2012-11-11 01:03:41.891111001 +0000 >@@ -1,41 +1,22 @@ > #!/bin/sh > >-#mount -t nfs -o rsize=32768,wsize=32768,intr 192.168.10.1:/data/video /media >- >-OMXPLAYER="./omxplayer.bin" >+OMXPLAYER="/usr/bin/omxplayer.bin" > FBSET="/usr/sbin/fbset" >-FONT="fonts/FreeSans.ttf" >- >-if [ -e /usr/share/fonts/truetype/freefont/FreeSans.ttf ]; then >- FONT="/usr/share/fonts/truetype/freefont/FreeSans.ttf" >-else >- FONT="fonts/FreeSans.ttf" >-fi >- >-if [ -e /usr/bin/omxplayer.bin ]; then >- OMXPLAYER="/usr/bin/omxplayer.bin" >-else >- OMXPLAYER="./omxplayer.bin" >-fi >- >-if [ -e /usr/lib/omxplayer ]; then >- export LD_LIBRARY_PATH=/opt/vc/lib:/usr/lib/omxplayer:$LD_LIBRARY_PATH >-else >- export LD_LIBRARY_PATH=$PWD/ffmpeg_compiled/usr/local/lib:/opt/vc/lib:$LD_LIBRARY_PATH >-fi > > XRES=1920 > YRES=1080 > >-XRES=1600 >-YRES=900 >+if [ ! -e $OMXPLAYER ] ; then >+ echo "$OMXPLAYER does not exists, exiting" >+ exit 1 >+fi > > if [ -e $FBSET ]; then > echo 0 > /sys/class/vtconsole/vtcon1/bind >- fbset -xres 1 -yres 1 >+ $FBSET -xres 1 -yres 1 > fi > >-$OMXPLAYER --font $FONT "$@" >+$OMXPLAYER "$@" > > if [ -e $FBSET ]; then > fbset -xres ${XRES} -yres ${YRES}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 421683
:
317476
|
329328
| 329330 |
329332
|
329644
|
329646
|
333212
|
333214
|
333230
|
345156
|
345158
|
356570
|
376422
|
376424
|
435900
|
436156
|
436158