[FFmpeg-devel] [PATCH] rdt.c: don't reuse the same AVStream in both RTSP and RM demuxer

Ronald S. Bultje rsbultje
Wed Dec 17 15:17:01 CET 2008


as a continuation of [1], which implemented support for multiple
streams of the same type (audio, video) in a single RM stream, this
patch separates the RTSP demuxer AVStream from the RM demuxer AVStream
in RDT. This is needed because some variables in the AVStream context
(e.g. priv_data) have a different meaning in RM than in RDT and can
thus not be shared.

(Aside, since I'll have to do stream-copying in ASF/RTSP also, is it
OK if I implement a av_copy_stream() method which copies all metadata
from AVStream (bitrate, etc.) and the complete AVCodecContext?)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rdt-copy_avstream.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081217/b034fe0c/attachment.txt>

More information about the ffmpeg-devel mailing list