ALT Linux Bugzilla
– Attachment 1847 Details for
Bug 11017
xdtv+ffmpeg build
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч фиксящий xdtv_record.sh
xdtv-2.4.0-alt-fix_record.patch (text/plain), 1.32 KB, created by
Alexey V. Novikov
on 2007-03-05 15:46:12 MSK
(
hide
)
Description:
Патч фиксящий xdtv_record.sh
Filename:
MIME Type:
Creator:
Alexey V. Novikov
Created:
2007-03-05 15:46:12 MSK
Size:
1.32 KB
patch
obsolete
>--- 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
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11017
:
1846
| 1847