Mercurial > libavformat.hg
diff rtpenc.c @ 2960:e5d44127b182 libavformat
Add support for H.264 video in the RTP muxer
author | lucabe |
---|---|
date | Mon, 21 Jan 2008 14:01:57 +0000 |
parents | 0d82fdf4fa94 |
children | b2853b499660 |
line wrap: on
line diff
--- a/rtpenc.c Mon Jan 21 13:43:40 2008 +0000 +++ b/rtpenc.c Mon Jan 21 14:01:57 2008 +0000 @@ -28,6 +28,7 @@ #include "rtp_internal.h" #include "rtp_mpv.h" #include "rtp_aac.h" +#include "rtp_h264.h" //#define DEBUG @@ -334,6 +335,9 @@ case CODEC_ID_MPEG2TS: rtp_send_mpegts_raw(s1, buf1, size); break; + case CODEC_ID_H264: + ff_rtp_send_h264(s1, buf1, size); + break; default: /* better than nothing : send the codec raw data */ rtp_send_raw(s1, buf1, size);