From mandrake-cooker Mon Jul 29 17:32:52 2002 From: Frederik Himpe Date: Mon, 29 Jul 2002 17:32:52 +0000 To: mandrake-cooker Subject: [Cooker] Re: Gnometoaster: Problems burning OGG files [PATCH] X-MARC-Message: https://marc.info/?l=mandrake-cooker&m=102798803612879 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--=-emZ36cpgMYnk4TUXpGZR" --=-emZ36cpgMYnk4TUXpGZR Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, 2002-07-26 at 14:56, Frederik Himpe wrote: > I'm using Mandrake Cooker with gnome-toaster-1.0-0.beta2.8mdk. This > version has problems writing OGG files > > When adding OGG files to a CD, GnomeToaster says they have a length of > 0. This seems to be caused by some changes in the output of the ogginfo > programme. The attached patch fixes the problem in the Mandrake RPM, the perl hack in the SPEC-file which substitutes oggtst by ogginfo in the source is now unnecessary. Frederik Himpe --=-emZ36cpgMYnk4TUXpGZR Content-Disposition: attachment; filename=gtoaster-ogginfo-1.0.patch Content-Transfer-Encoding: quoted-printable Content-Type: text/x-diff; name=gtoaster-ogginfo-1.0.patch; charset=ISO-8859-15 --- defaultentries.h.orig 2001-06-17 19:25:22.000000000 +0200 +++ defaultentries.h 2002-07-29 19:18:36.000000000 +0200 @@ -79,8 +79,8 @@ #define DEFAULTENTRIES_SIZEALG_WAV "$wavsize" #define DEFAULTENTRIES_DETSIZE_SHN "shntool len \"$file\"" #define DEFAULTENTRIES_SIZEALG_SHN "(((getpos(2,1)*60+getpos(2,2))*75= )+getpos(2,3))*2352" -#define DEFAULTENTRIES_DETSIZE_OGG "oggtst \"$file\"" -#define DEFAULTENTRIES_SIZEALG_OGG "strval(regexp(\"^length=3D([0-9]*= )\"))*44100*4" +#define DEFAULTENTRIES_DETSIZE_OGG "ogginfo \"$file\"" +#define DEFAULTENTRIES_SIZEALG_OGG "((strval(regexp(\"Playback length= : ([0-9]*)\")))*60+(strval(regexp(\"m:([0-9]*)\"))))*44100*4" =20 #define DEFAULTENTRIES_ENCODER_MP3 "gogo stdin \"$file\" -b 128 -offs= et 0 -m j" #define DEFAULTENTRIES_ENCODER_WAV "sox -t .raw -r 44100 -w -x -c 2 -= s - -t .wav \"$file\"" --=-emZ36cpgMYnk4TUXpGZR--