Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 98906 Details for
Bug 150217
ebuild for vdrrip with UGLY patch to cope with problems caused by newer versions of mplayer used by gentoo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
detectlength.diff
detectlength.diff (text/plain), 1.21 KB, created by
E. Scaglione
on 2006-10-06 00:07:18 UTC
(
hide
)
Description:
detectlength.diff
Filename:
MIME Type:
Creator:
E. Scaglione
Created:
2006-10-06 00:07:18 UTC
Size:
1.21 KB
patch
obsolete
>diff -r -u vdrrip-0.3.0/scripts/queuehandler.sh vdrrip-0.3.0.gentoo/scripts/queuehandler.sh >--- vdrrip-0.3.0/scripts/queuehandler.sh 2006-10-06 00:12:10.000000000 +0200 >+++ vdrrip-0.3.0.gentoo/scripts/queuehandler.sh 2006-10-06 00:11:50.000000000 +0200 >@@ -305,6 +305,12 @@ > > # start the preview in the middle of the movie > local length=`"$mp" -identify -frames 0 "$dir/001.vdr" 2>/dev/null | grep ID_LENGTH | cut -d"=" -f2` >+ # repeat command if failed first time >+ if [ -z "$length" ] >+ then >+ length=`"$mp" -identify -frames 0 "$dir/001.vdr" 2>/dev/null | \ >+ grep ID_LENGTH | cut -d"=" -f2` >+ fi > let local ss=length/2 > previewval="-ss $ss -endpos $previewlength" > } >@@ -790,6 +796,12 @@ > # detect length of splitted file and add it to $splitpos > local length=`$mplayer -identify -frames 0 $tempdir/$ofile 2>/dev/null | \ > grep ID_LENGTH | cut -d= -f2` >+ # repeat command if failed first time >+ if [ -z "$length" ] >+ then >+ length=`$mplayer -identify -frames 0 $tempdir/$ofile 2>/dev/null | \ >+ grep ID_LENGTH | cut -d= -f2` >+ fi > let splitpos=splitpos+length-overlap > let count=count+1 > done
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 150217
:
98891
|
98892
|
98893
|
98894
|
98895
|
98896
|
98905
| 98906 |
98907
|
98908
|
98909
|
98911
|
99010
|
99011
|
99142
|
99378
|
99379
|
99579
|
99599
|
101310