ALT Linux Bugzilla
– Attachment 1847 Details for
Bug 11017
xdtv+ffmpeg build
New bug
|
Search
|
|
Help
Register
|
Log In
Description
:
Патч фиксящий xdtv_record.sh
Filename
:
Size:
1.32 KB
MIME Type
:
patch
obsolete
Flags:
Requestee:
Comment
(on the bug):
Actions:
View
|
Diff
>--- xdtv_record.sh.in.orig 2006-03-21 15:39:20 +0300 >+++ xdtv_record.sh.in 2007-02-28 22:11:59 +0300 >@@ -765,7 +765,9 @@ > XLINE=\$(ps axuwww | grep -e "[/\s]X .* \?-auth" | head -1) > > AUTHORITYFILE=\$(echo \$XLINE | awk '/-auth/ { match( \$0, /.*-auth ([^ ]+).*/, pippo); print pippo[1]; }') >-export DISPLAY=\$(echo \$XLINE | sed 's#.* \(:[0-9]\+\(\.\?[0-9]\+\)\?\).*#\1#' ) >+DISPLAY=\$(echo \$XLINE | sed 's#.* \(:[0-9]\+\(\.\?[0-9]\+\)\?\).*#\1#' ) >+[ -n "\$DISPLAY" ] || DISPLAY=:0.0 >+export DISPLAY > > # If we launched X via a startx command, probably we have XAUTHORITY fixed > # in our home directory, so we use the \$XAUTHORITY value. >@@ -775,7 +777,7 @@ > fi > > # Then we add the key found to our keyring >-xauth -f \${AUTHORITYFILE:-\$HOME/.Xauthority} list | awk -v DISPLAY=\${DISPLAY:-:0} '{ print DISPLAY" "\$2" "\$3; }' | xargs xauth add >+xauth -f \${AUTHORITYFILE:-\$HOME/.Xauthority} list | head -n1 | awk -v DISPLAY=\${DISPLAY:-:0.0} '{ print DISPLAY" "\$2" "\$3; }' | xargs xauth add > > cd $avi_dir > >@@ -790,7 +792,8 @@ > cat >> $file <<_END_ > echo "Will kill all running xdtv !" > killall xdtv 2>/dev/null >-xdtv $parameters -e "setstation $channel_number; record" & >+amixer set Capture 50% >/dev/null 2>&1 >+xdtv $parameters -e "setstation $channel_number; fullscreen; record" & > sleep $record_time > xdtv_cmd "record; quit" > sleep 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Attachments on this Bug:
1846
| 1847