[MPlayer-dev-eng] [PATCH] smil playlist over realrtsp
rxt at rtogni.it
Thu Feb 15 22:38:26 CET 2007
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6621 bytes
Desc: not available
More information about the MPlayer-dev-eng