~medibuntu-maintainers/mplayer/medibuntu.precise

« back to all changes in this revision

Viewing changes to ffmpeg/libavformat/rtspenc.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-01-12 22:23:28 UTC
  • mfrom: (0.4.7 sid)
  • mto: This revision was merged to the branch mainline in revision 76.
  • Revision ID: package-import@ubuntu.com-20120112222328-8jqdyodym3p84ygu
Tags: 2:1.0~rc4.dfsg1+svn34540-1
* New upstream snapshot
* upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "libavutil/intreadwrite.h"
34
34
#include "libavutil/avstring.h"
35
35
#include "url.h"
36
 
#include "libavutil/opt.h"
37
 
#include "rtpenc.h"
38
36
 
39
37
#define SDP_MAX_SIZE 16384
40
38
 
41
 
static const AVOption options[] = {
42
 
    FF_RTP_FLAG_OPTS(RTSPState, rtp_muxer_flags),
43
 
    { NULL },
44
 
};
45
 
 
46
39
static const AVClass rtsp_muxer_class = {
47
40
    .class_name = "RTSP muxer",
48
41
    .item_name  = av_default_item_name,
49
 
    .option     = options,
 
42
    .option     = ff_rtsp_options,
50
43
    .version    = LIBAVUTIL_VERSION_INT,
51
44
};
52
45
 
241
234
}
242
235
 
243
236
AVOutputFormat ff_rtsp_muxer = {
244
 
    "rtsp",
245
 
    NULL_IF_CONFIG_SMALL("RTSP output format"),
246
 
    NULL,
247
 
    NULL,
248
 
    sizeof(RTSPState),
249
 
    CODEC_ID_AAC,
250
 
    CODEC_ID_MPEG4,
251
 
    rtsp_write_header,
252
 
    rtsp_write_packet,
253
 
    rtsp_write_close,
 
237
    .name              = "rtsp",
 
238
    .long_name         = NULL_IF_CONFIG_SMALL("RTSP output format"),
 
239
    .priv_data_size    = sizeof(RTSPState),
 
240
    .audio_codec       = CODEC_ID_AAC,
 
241
    .video_codec       = CODEC_ID_MPEG4,
 
242
    .write_header      = rtsp_write_header,
 
243
    .write_packet      = rtsp_write_packet,
 
244
    .write_trailer     = rtsp_write_close,
254
245
    .flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER,
255
246
    .priv_class = &rtsp_muxer_class,
256
247
};