[vlc-devel] Re: chasing playlist bug ...

jmzorko at mac.com jmzorko at mac.com
Wed Jan 11 02:21:37 CET 2006


Hello, all ...

I now know what the problem is -- when playlists are read from a  
file, the "sout" variable in the input thread object (as they're  
created I guess) is filled with the sout from the command line e.g.  
#duplicate{... ... ...}.  However, items added to the playlist via  
the rc interface do not get the sout value filled -- it's empty.  I  
tested this hypothesis by forcing any empty "sout" variable inside  
src/input/input.c's Init() function to be set to my sout, just to see  
if the new item will stream as the others do -- and it did.

I'm going to look for the code that fills the "sout" variable when  
the items are read from a playlist file, then see what I need to do  
to make it be filled when adding new items to the playlist via the rc  
interface.

Regards,

John


On Jan 10, 2006, at 3:29 PM, jmzorko at mac.com wrote:

>
> Hello, all ...
>
> VLC 0.8.4a has an issue where, if I stream a playlist to a  
> multicast address and then, using the rc interface over telnet, add  
> a new item to the playlist, two things happen:
>
> 1. the new playlist item plays immediately (this is because  
> PLAYLIST_GO is specified in playlist_AddItem, I verified this with  
> and without)
> 2. when the new playlist item plays, it doesn't play to the  
> multicast address, it plays on the VLC acting as the server (the  
> one doing the streaming) ...
>
> I'm looking at the code to determine how to fix it.  I see the  
> playlist thread code (which calls PlayItem() when the next item  
> needs to be played), but I don't know exactly where the sout  
> instance is created per playlist item (or why it's not being  
> created, or being created incorrectly, for items added to the  
> playlist after the fact).
>
> Can anyone give me a hint as to where to look?
>
> Regards,
>
> John
>
> Falling You - exploring the beauty of voice and sound
> http://www.fallingyou.com
>
>
>
>
>
>
>
>
>
>
>
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
>


Regards,

John

Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com











-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list