#257: metadata, switch, fallback and smart_crossfade.
-------------------------+--------------------------------------------------
Reporter: toots | Owner: mrpingouin
Type: Bugs | Status: new
Priority: 1 | Milestone: 0.9.0
Component: Liquidsoap | Version: 0.9.0+svn
Resolution: | Keywords:
Mac: 1 | Linux: 1
Netbsd: 1 | Other: 1
Freebsd: 1 |
-------------------------+--------------------------------------------------
Changes (by mrpingouin):
* owner: admin => mrpingouin
Comment:
First, I should say THANK YOU for your excellent bug report. This is a
WONDERFUL EXAMPLE of what we'd love to get all the time. It's clear that
it's a strange behavior of liquidsoap, and it's easy to reproduce.
I figured out where the bug came from. Here is a patch. It's not ready for
commit yet, because it will cause a few new problems as such (it might
notably reproduce, but only once this time, the previous metadata at the
beginning of the next track). I'll think of it more and finalize it soon.
Basically, the cross and smartcross operators need to take control of the
management of time of their sources. It's a dangerous thing to do, and
currently we can't check if it's safe or not. So, we make simplifying
hypothesis. In cross() we used to suppose that the source was "timeless",
needs no management of time, which is true if there is no caching at all
under it. In smartcross(), we actually managed the clock during buffering,
but there is another problem: if we clear the intermediate frame used for
buffering, the metadata gets copied to it at every frame; in fact we need
to advance on it, keeping the old metadata so that get_chunk doesn't think
we're coming in the middle of its stream.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/257#comment:1>
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