[FFmpeg-devel] [PATCH] rmdec.c: implement RMVideo/AudioStream

Ronald S. Bultje rsbultje
Sun Dec 14 19:49:07 CET 2008


as per $subject, this patch implements RMVideoStream and
RMAudioStream, so that a single RM file can be demuxed, even if it
contains multiple video or audio streams. RM files from
samples.mphq.hu that used to play, still play.

This breaks RDT support, because I'm not actually creating new
AVStreams for the RM demuxer context in the RDT parser, but I rather
reuse the ones from the RTSP demuxer, where priv_data points to
RTSPStream instead of RMVideo/AudioStream. This causes crashes etc,
and is bad design of my side. I'll fix the RDT parser in another patch
by creating a new AVStream for each stream in the RM demuxer context
and using these (instead of the RTSP demuxer AVStreams) in calls to
ff_rm_*(). I will apply both right after each other when approved (and
if others think this is OK).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rmdec-rmstream.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081214/709b1c4b/attachment.txt>

More information about the ffmpeg-devel mailing list