summaryrefslogtreecommitdiff
path: root/libavformat/rtspenc.c
Commit message (Collapse)AuthorAge
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rtspenc: Make sure BYE packets are sent before TEARDOWNMartin Storsjö2013-11-01
| | | | | | | Also make sure the BYE packets are sent at all when using TCP interleaved transport. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtspenc: Check the return value from ffio_open_dyn_packet_bufMartin Storsjö2013-08-07
| | | | | | | Also clear the AVIOContext handle after freeing, to avoid possible dangling pointers if the later call fails. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* avformat: Drop pointless "format" from container long namesDiego Biurrun2012-07-30
|
* Add missing libavutil/time.h includes.Anton Khirnov2012-07-28
|
* Remove unnecessary inclusions of [sys/]time.hMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: Align some AVInput/OutputFormat declarationsMartin Storsjö2012-03-19
| | | | | | Also add missing trailing commas. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: Factorize the check for distinguishing RTCP packets from RTPMartin Storsjö2012-02-16
| | | | | | The binary doesn't change after this patch. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* rtsp: Merge the AVOption listsMartin Storsjö2011-10-17
| | | | | | | | This eases adding options that are common for both. The AV_OPT_FLAG_EN/DECODING_PARAM still indicates whether they belong to the muxer or demuxer. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | It's more readable and less prone to breakage.
* rtspenc: Add RTP muxer optionsMartin Storsjö2011-06-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtspenc: Add an AVClass for setting muxer specific optionsMartin Storsjö2011-06-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: rename avf_sdp_create to av_sdp_create.Anton Khirnov2011-04-08
| | | | The new name is more consistent with the rest of the API.
* avio: make url_get_file_handle() internal.Anton Khirnov2011-04-04
|
* avio: make url_write() internal.Anton Khirnov2011-04-04
|
* avio: make url_open_dyn_packet_buf internal.Anton Khirnov2011-04-03
| | | | | | | It doesn't look fit to be a part of the public API. Adding a temporary hack to ffserver to be able to use it, should be cleaned up when somebody is up for it.
* avio: avio_ prefix for url_close_dyn_bufAnton Khirnov2011-04-03
|
* rtsp: Don't use a locale dependent format stringMartin Storsjö2011-03-23
| | | | | | | In this particular case, we aren't ever printing anything else than 0.000 anyway. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtsp: Don't store RTSPStream in AVStream->priv_dataMartin Storsjö2011-02-03
| | | | | | | | | | | | | | | | For mpegts in RTP, there isn't a direct mapping between RTSPStreams and AVStreams, and the RTSPStream isn't ever stored in AVStream->priv_data, which was earlier leaked. The fix for this leak, in ea7f080749d68a431226ce196014da38761a0d82, lead to double frees for other, normal RTP streams. This patch avoids storing RTSPStreams in AVStream->priv_data, thus avoiding the double free. The RTSPStreams are always available via RTSPState->rtsp_streams anyway. Tested with MS-RTSP, RealRTSP, DSS and mpegts/RTP. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtspenc: include os_support.h for system without HAVE_POLL_HDave Yeo2011-01-28
| | | | | | fix compile on OS/2 Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* os: replace select with pollLuca Barbato2011-01-28
| | | | | Select has limitations on the fd values it could accept and silently breaks when it is reached.
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* rtsp: Add a method parameter to ff_rtsp_read_replyMartin Storsjö2011-01-02
| | | | Originally committed as revision 26189 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Move rtsp_setup_output_streams into rtspenc.cMartin Storsjö2010-10-29
| | | | Originally committed as revision 25600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtp: Replace hardcoded RTCP packet types with definesJosh Allmann2010-08-25
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include lavu headers using quotes instead of angle bracketsMartin Storsjö2010-07-18
| | | | Originally committed as revision 24315 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the RTSP muxer use rtsp_hd_out, for consistencyMartin Storsjö2010-06-08
| | | | Originally committed as revision 23535 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused local variablesMartin Storsjö2010-06-05
| | | | Originally committed as revision 23496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Add a second URLContext for outgoing messagesJosh Allmann2010-06-05
| | | | | | | Done in preparation for RTSP over HTTP. Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtspenc: Write the interleaving header in the same buffer as the packet dataMartin Storsjö2010-06-04
| | | | Originally committed as revision 23465 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the default codecs for the rtsp muxer to mpeg4 and aacMartin Storsjö2010-05-21
| | | | | | These codecs in RTP are supported by many players. Originally committed as revision 23209 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Take ff_write_chained in use in the mov rtp hinter and in the rtsp muxerMartin Storsjö2010-05-21
| | | | Originally committed as revision 23208 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add separate method/url parameters to the rtsp_send_cmd functionsMartin Storsjö2010-03-25
| | | | Originally committed as revision 22675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for TCP as lower transport in the RTSP muxerMartin Storsjö2010-03-22
| | | | Originally committed as revision 22634 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentMartin Storsjö2010-03-15
| | | | Originally committed as revision 22549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't let ff_rtsp_read_reply skip interleaved RTP/TCP packets in ↵Martin Storsjö2010-03-15
| | | | | | | | rtsp_write_packet. Skip interleaved packets manually and recheck if there's more to be read. Originally committed as revision 22548 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use rt->control_uri consequently instead of s->filename in all RTSP commandsMartin Storsjö2010-03-09
| | | | Originally committed as revision 22403 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use ff_url_join for assembling URLs, instead of snprintfMartin Storsjö2010-03-05
| | | | | | | | | This ensures proper escaping of numerical IPv6 addresses. The RTSP (de)muxer needs its own network initialization, since it isn't a protocol and url_open hasn't been called yet. Originally committed as revision 22226 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP muxer: Use a local copy of the AVPacket for sending to the chained muxerMartin Storsjö2010-02-26
| | | | | | | This way, we avoid overwriting stream_index in the user's AVPacket with a nonsense value. Originally committed as revision 22081 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prefix non-static RTSP functions with ff_.Ronald S. Bultje2010-02-23
| | | | Originally committed as revision 21974 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add an RTSP muxerMartin Storsjö2010-02-22
Originally committed as revision 21971 to svn://svn.ffmpeg.org/ffmpeg/trunk