summaryrefslogtreecommitdiffstats
path: root/libavformat/rtpenc_chain.c
Commit message (Collapse)AuthorAgeFilesLines
* rtpenc_chain: Don't copy the time_base back to the callerMartin Storsjö2011-02-061-2/+0
| | | | | | | | | If required, the caller can do this itself. ff_write_chained rescales timestamps as necessary, and all current callers of rtpenc_chain use ff_write_chained, making this timebase copy unnecessary. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 397ffde115f4e0482a007b672f40457596cebfc4)
* Use avformat_free_context for cleaning up muxersMartin Storsjö2011-02-061-5/+1
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit b22dbb291d41e9fb038884bcebad2394c501cbaf)
* libavformat: Use avcodec_copy_context for chained muxersMartin Storsjö2011-02-061-5/+3
| | | | | | | | | | | | | | This avoids having the chained AVStream->codec point to the same AVCodecContext owned by the outer AVStream. The downside is that changes to the AVCodecContext made after calling av_write_header cannot be detected automatically within the chained muxer. This avoids having to manually unlink the chained AVStream->codec by setting it to null before freeing the chained muxer via generic freeing functions. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 1338dc082354b87c0e26f7f2ab09df5964b7f993)
* Free AVStream->info in chained muxersMartin Storsjö2011-02-041-0/+1
| | | | | | | | This fixes memory leaks in the RTSP muxer and RTP hinting in the mov muxer present since SVN rev 25418. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> (cherry picked from commit ce41c51b0c71c87f623914ba0786aef325d818fe)
* rtsp: Factorize out code for opening a chained RTP muxerMartin Storsjö2010-10-081-0/+82
The new object file is added to the SDP demuxer in the makefile, since it is needed in both the RTSP muxer and demuxer and in the SDP demuxer, due to the current code coupling. Originally committed as revision 25410 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud