[MPlayer-dev-eng] [PATCH] support for interleaved streams from RT[S]P

Nico nsabbi at libero.it
Mon Aug 11 12:14:32 CEST 2003


Hi,

Ross suggested that the code for linking demux_rtp and 
demux_SOMETHING_ELSE  when the stream is interleaved
should  go to demuxer.c.
Attached is  the patch to do it.



Note1: I believe it's wrong way to do it, because in my opinion every 
demuxer should be as self-hosting as possible, so
I would put this code in demux_rtp.cpp. Anyways, for the sake of 
playback :) I wrote this patch (I tested it streaming a
dvd to 127.0.0.1:1234  by VLS).

Note2:   because of the way I linked the demuxers, during playback 
demuxer.c complains:

Opened TS demuxer...WARNING: Video stream header 0 redefined.
WARNING: Audio stream header 0 redefined.


Is there anything that I should add to the patch? (maybe some 
close(sh_video)  or something similar?)

Thanks,

                Nico
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: demuxer.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030811/4b41682c/attachment.txt>


More information about the MPlayer-dev-eng mailing list