#258: Reviewing Decoder
------------------------+---------------------------------------------------
 Reporter:  mrpingouin  |       Owner:  admin      
     Type:  Bugs        |      Status:  new        
 Priority:  1           |   Milestone:  NEAR FUTURE
Component:  Liquidsoap  |     Version:             
 Keywords:              |         Mac:  1          
    Linux:  1           |      Netbsd:  1          
    Other:  1           |     Freebsd:  1          
------------------------+---------------------------------------------------
 Some (long) time ago, the decoder used to choose a format based on its
 ability to produce audio samples; currently it just checks that the format
 accepts to open the file. At some point we should check why this changed;
 I suspect that I did it in order to lower the computation burst on track
 changes.

 We should make a careful choice here, and either restore the original code
 or get rid of the stupid current code who opens, closes and re-opens the
 decoder: re-opening was only needed some samples were consumed in the
 first instance.

 Also, Romain wants to introduce a more complex scheme for the order of
 decoding attempts. Currently, the most recently added formats are
 attempted last. Hence, there is a high risk that the MP3 decoder accepts
 everything and doesn't leave a chance to external decoders added in liq
 scripts. We could reverse this order, but then mplayer would always be
 first... is this bad?

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/258>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to