#227: output_reset resets inactive outputs..
------------------------+---------------------------------------------------
Reporter: toots | Owner: admin
Type: Bugs | Status: new
Priority: 8 | Milestone: 0.9.0
Component: Liquidsoap | Version: 0.9.0+svn
Keywords: | Mac: 1
Linux: 1 | Netbsd: 1
Other: 1 | Freebsd: 1
------------------------+---------------------------------------------------
When calling {{{output_reset}}} in {{{root.ml}}} for instance, this also
resets (and starts) sources that were not active, such as live relays.
I believe we could prevent this by adding a method [is_active] to call
before asking for a reset, and not perform the reset if it is not active.
I have implemented it. It turns out that it needs to be added for all
active operators. However, only real output are affected.
The patch is attached, let me know what you think.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/227>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac