[MPlayer-dev-eng] [PATCH] smil playlist over realrtsp

Roberto Togni rxt at rtogni.it
Thu Feb 15 22:38:26 CET 2007


Hi all,
 the attached patch adds support for smil playlists sent over realrtsp
instead of plain http. It does not add support for all smil features,
it just extract audio and video streams (same as it's already done for
normal smil playlists).

The hacky part in this patch is the need to skip trailing zeros from
every smilrtsp packet, since the playlist parser treats them as eof.
The zero at the end of a packet is transmitted by the server, so I
can't strip it in the rdt rx code. The "fix" replaces the zero with \n
(to avoid joining two lines).
That code should be harmless, since the playlist parser expects plain
text and so should not contain any zero in it.
The code to merge the packets is in the smil parser and does not affect
other playlist formats.

I'll commit this over the weekend if nobody complain.

Ciao,
 Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smilertsp.diff
Type: text/x-patch
Size: 6621 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070215/5c07009e/attachment.bin>


More information about the MPlayer-dev-eng mailing list