diff options
author | Martin Storsjö <martin@martin.st> | 2010-12-05 11:45:57 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-12-05 11:45:57 +0000 |
commit | 35b016948476cf5cfa097052816cb6907f03362e (patch) | |
tree | 486e909f232a8dd7992dcf68c8c5ab83b577b4de /libavformat | |
parent | 16cfc9612436179cdb1a06ceff9b344d141409b0 (diff) | |
download | ffmpeg-35b016948476cf5cfa097052816cb6907f03362e.tar.gz |
RTP/VP8: Update the warning about the VP8 payload
The current implementation is incompatible with the latest spec drafts,
this should be communicated clearly to the user.
Originally committed as revision 25887 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtpdec_vp8.c | 3 | ||||
-rw-r--r-- | libavformat/rtpenc.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/rtpdec_vp8.c b/libavformat/rtpdec_vp8.c index 8de89ff152..b18017b205 100644 --- a/libavformat/rtpdec_vp8.c +++ b/libavformat/rtpdec_vp8.c @@ -129,7 +129,8 @@ static int vp8_handle_packet(AVFormatContext *ctx, static PayloadContext *vp8_new_context(void) { - av_log(NULL, AV_LOG_WARNING, "RTP VP8 payload is still experimental\n"); + av_log(NULL, AV_LOG_ERROR, "RTP VP8 payload implementation is incompatible " + "with the latest spec drafts.\n"); return av_mallocz(sizeof(PayloadContext)); } diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c index 0a2959dfcf..d5f0b3835c 100644 --- a/libavformat/rtpenc.c +++ b/libavformat/rtpenc.c @@ -147,7 +147,8 @@ static int rtp_write_header(AVFormatContext *s1) s->num_frames = 0; goto defaultcase; case CODEC_ID_VP8: - av_log(s1, AV_LOG_WARNING, "RTP VP8 payload is still experimental\n"); + av_log(s1, AV_LOG_ERROR, "RTP VP8 payload implementation is " + "incompatible with the latest spec drafts.\n"); break; case CODEC_ID_ADPCM_G722: /* Due to a historical error, the clock rate for G722 in RTP is |