[ 
http://dev.sourcefabric.org/browse/LS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Baelde resolved LS-430.
-----------------------------

    Resolution: Fixed

I think this problem is satisfyingly fixed. The perfect solution, treating also 
audio accesses, will not come before liquidsoap 2, but we should be fine.

> Incorrect position handling when accessing sub-ticks content such as video 
> (File "stream/vFrame.ml", line 42, characters 4-10: Assertion failed!)
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LS-430
>                 URL: http://dev.sourcefabric.org/browse/LS-430
>             Project: Liquidsoap
>          Issue Type: Bug
>          Components: Liquidsoap
>    Affects Versions: 1.0 beta
>            Reporter: David Baelde
>            Assignee: David Baelde
>            Priority: Major
>             Fix For: 1.0 beta
>
>
> Simply run the following script to get the failed assertion:
> ./src/liquidsoap 
> 'output.dummy(drop_audio((video.add_text("foo",single("demo/bus.ogg")):source(2,1,0))))'
> I use my faithful demo theora file (the guys skiing on a bus roof) but most 
> videos should work, provided they don't have a "too perfect" duration that 
> makes things work.
> The problem comes from VFrame and affects operators such as video.add_text 
> and many others. The mistake is to take a position and convert it to a video 
> position without being careful. The position in ticks might not denote 
> precisely a video position, and truncating the result of the division misses 
> the real problem: in particular there might be no video frame in the chunk of 
> stream that we got.
> Strictly speaking the problem affects audio as well when the audio rate is 
> less than the master rate, but let's ignore this for now...

-- 
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

        

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à