[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-cooker
Subject:    [Cooker] Re: Gnometoaster: Problems burning OGG files [PATCH]
From:       Frederik Himpe <fhimpe () users ! sourceforge ! net>
Date:       2002-07-29 17:32:52
[Download RAW message or body]

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

["gtoaster-ogginfo-1.0.patch" (gtoaster-ogginfo-1.0.patch)]

--- 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=([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"  
 #define DEFAULTENTRIES_ENCODER_MP3      "gogo stdin \"$file\" -b 128 -offset 0 -m j"
 #define DEFAULTENTRIES_ENCODER_WAV      "sox -t .raw -r 44100 -w -x -c 2 -s - -t \
.wav \"$file\""



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic