[MPlayer-dev-eng] [PATCH] smil playlist over realrtsp
Roberto Togni
rxt at rtogni.it
Sun Feb 18 17:01:18 CET 2007
On Thu, 15 Feb 2007 22:38:26 +0100
Roberto Togni <rxt at rtogni.it> wrote:
> 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.
>
Applied with some more paranoid checks on packet counters
Ciao,
Roberto
More information about the MPlayer-dev-eng
mailing list