Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 345158 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]
[patch]
omxplayer-9999-wrapper.patch
omxplayer-9999-wrapper.patch (text/plain), 1.26 KB, created by
Tina
on 2013-04-10 22:42:42 UTC
(
hide
)
Description:
omxplayer-9999-wrapper.patch
Filename:
MIME Type:
Creator:
Tina
Created:
2013-04-10 22:42:42 UTC
Size:
1.26 KB
patch
obsolete
>--- omxplayer 2013-03-26 20:08:10.000000000 +0100 >+++ omxplayer.new 2013-03-26 20:56:59.000000000 +0100 >@@ -1,43 +1,25 @@ > #!/bin/sh > >-#mount -t nfs -o rsize=32768,wsize=32768,intr 192.168.10.1:/data/video /media >- >-OMXPLAYER="./omxplayer.bin" >+OMXPLAYER="/usr/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} >+ $FBSET -xres ${XRES} -yres ${YRES} > echo 1 > /sys/class/vtconsole/vtcon1/bind > fi
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 421683
:
317476
|
329328
|
329330
|
329332
|
329644
|
329646
|
333212
|
333214
|
333230
|
345156
| 345158 |
356570
|
376422
|
376424
|
435900
|
436156
|
436158