right now, the ogg flac encoder does not go back and fill in missing stuff in the headers like native flac does. it will eventually, but the best thing is to call FLAC__stream_encoder_set_total_samples_estimate() before initializing the encoder, that was the correct number is written in the STREAMINFO block during the first pass.
--- Erik de Castro Lopo <[EMAIL PROTECTED]> wrote: > Hi all, > > I am able to create file containing Flac data encapsulated in an Ogg > container. However, when I read the file and its metadata, the > total_samples field contains the value zero, even though the file > actually does contain samples and the stream does have an end of > stream marker. > > I think something is going wrong when I'm encoding the file. Anybody > have any idea of what I have forgotten to do during encoding? > > Cheers, > Erik ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com _______________________________________________ Flac-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/flac-dev
