diff options
author | Martin Storsjö <martin@martin.st> | 2011-10-17 21:11:07 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-10-17 22:02:20 +0300 |
commit | 9f938ca5e653c7d05d4ef22226eb61334a961e9c (patch) | |
tree | 9ebb96d20abd01b6151fe19d120ae424743c48c7 | |
parent | 299234a0a9e7d96d4cfe7ec88aac007bf4a6bbff (diff) | |
download | ffmpeg-9f938ca5e653c7d05d4ef22226eb61334a961e9c.tar.gz |
rtpenc: Set a default video codec
avconv doesn't map video streams to a muxer without specifying a
manual stream mapping if the default video codec is CODEC_ID_NONE.
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavformat/rtpenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c index 165e4449c7..dfd7461d18 100644 --- a/libavformat/rtpenc.c +++ b/libavformat/rtpenc.c @@ -465,7 +465,7 @@ AVOutputFormat ff_rtp_muxer = { .long_name = NULL_IF_CONFIG_SMALL("RTP output format"), .priv_data_size = sizeof(RTPMuxContext), .audio_codec = CODEC_ID_PCM_MULAW, - .video_codec = CODEC_ID_NONE, + .video_codec = CODEC_ID_MPEG4, .write_header = rtp_write_header, .write_packet = rtp_write_packet, .write_trailer = rtp_write_trailer, |