[MPlayer-dev-eng] Re: [PATCH] simple smil parser

Roberto Togni r_togni at tiscali.it
Tue Mar 30 22:49:40 CEST 2004


On 2004.03.30 11:21, adland wrote:
> >
> > Works okay for me. I've added to the patch to make it find <audio>
> tags
> > too,
> 
> Thanks for the patch update.
> 
> >to make URLs like
> >
> > 	http://ury.york.ac.uk/listen/live.smil
> 
> tested this patch change and it works however
> only the first stream in url above about being on vacation plays.
> it then locks up and never tries to play the other two streams for  
> me.
> I will look into this.
> (similar lock up occured after playing last Realmedia rtsp video
> stream
> from previous URL)
IIRC it happens with every streamed rtsp url.

I attached a revised version of the patch:
- moved ..._stop_keeping after detection of smil format (detection of  
everything after smil was broken, it was impossible to parse the ram  
file form the url you gave me)
- added "smil found" message
- reformatted to conform playteeparse.c style

Please test, if ok i'll commit it.

There is still a problem: if we have a playlist into a playlist (in  
this case it's a smil file inside a ram file), the scond one doesn't  
get parsed: probably the -playlist switch have no effect on the files  
on the playlist.

Ciao,
 Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: playtreeparser.c.diff
Type: text/x-patch
Size: 3584 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040330/289d17ca/attachment.bin>


More information about the MPlayer-dev-eng mailing list