Hi,

This is an informal bug report and fix: I have noticed that
input.http() is broken on SVN -- more precisely, ogg stream decoding
is broken. It seems that a not-so recent modification was incorrect,
or interacted badly with something else since then. In any case the
following quick fix exists, but we need to understand better what
happened.

Index: src/decoder/ogg_decoder.ml
===================================================================
--- src/decoder/ogg_decoder.ml  (revision 7233)
+++ src/decoder/ogg_decoder.ml  (working copy)
@@ -122,6 +122,7 @@
   let audio_resample = Rutils.create_audio () in
   let video_resample = video_resample () in
     Decoder.Decoder (fun buffer ->
+      Generator.set_mode buffer mode ;
       if Ogg_demuxer.eos decoder then
         raise Ogg_demuxer.End_of_stream;
       let feed ((buf,sample_freq),_) =

By the way, the start/stop commands of input.http() don't work as I
expected: stop doesn't stop the current decoding. This probably
applies to input.harbor() as well.

It seems that the SVN version isn't used so much yet, otherwise that
kind of thing would have been reported earlier :(
-- 
David

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to