output.harbor isn't an active source
------------------------------------

                 Key: LS-499
                 URL: http://dev.sourcefabric.org/browse/LS-499
             Project: Liquidsoap
          Issue Type: Bug
          Components: Liquidsoap
            Reporter: David Baelde
            Priority: Major


There is something really weird going on in output.harbor: it isn't an active 
source, just try to use it as the only output and liquidsoap will say "No 
output defined, nothing to do.". I tried to insert an assert false in the base 
output class, it wasn't executed... it looks like output.harbor doesn't 
effectively inherit from it, or something.

I'm wondering if this could be due to a bad translation of the camlp4 file. The 
ML output is unreadable because the way let-in are printed, they get nested. 
This could be enhanced. By the way, what's the <file>.camlp4.ml?

For the record, here's the actual feature request I was after: make a two-stage 
output.start/stop. In the first stage the HTTP handler is set, but the encoder 
isn't started, and possibly (depending on an option) the source isn't pulled 
(note that it should be and remain available, since #output_start is only 
called in that case). In the second stage the encoder is created. This may 
require to not use the stock Output.encoded but this "on-demand stream 
computation" feature could be very useful.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à