From: Bernhard P. <sha...@ut...> - 2002-12-29 17:18:12
|
Hallo > On Sun, 2002-12-29 at 16:04, Bernhard Praschinger wrote: > > If yo uchange the line: > > size = size * cap->quality / (low_bitrate?200:400); > > and exchanging 200 with 400 everything works :) > Oops, that's a typo. Sorry, fix uploaded to CVS, thanks for noticing. Ok. > > When I use my "correction" it works up to 80% reliable :) > > I have not done "extended" tests. > sounds good... Is the quality ok? Yes the quality is ok. There are no obvious artefacts or problems. > > I have attaced a patch for the loading script. Because I did not like > > editing the script every time by hand to PAL. I think the solution is a > > bit nicer. > The second argument can be a card too... I.e., you can use the script > like this: "./update dc10plus buz". I think we do need a better > solution. getopt in bash probably works fine here... Sorry, I did not think of that. One solution would be adding that: .... *) if [ $1="PAL" -o $1="NTSC" -o $1="SECAM" ] then norm=$1 fi ;; esac .... --- END --- A other solution will be: .... cards="$cards $1" ;; 'PAL') norm=$1 ;; 'NTSC') norm=$1 ;; 'PAL') norm=$1 ;; *) ..... --- END --- Choose the best solution. Or is there a better version out there ? auf hoffentlich bald, Berni the Chaos of Woodquarter Email: sha...@ut... ber...@t-... www: http://www.lysator.liu.se/~gz/bernhard |