]> git.sesse.net Git - ffmpeg/commitdiff
RTP/VP8: Update the warning about the VP8 payload
authorMartin Storsjö <martin@martin.st>
Sun, 5 Dec 2010 11:45:57 +0000 (11:45 +0000)
committerMartin Storsjö <martin@martin.st>
Sun, 5 Dec 2010 11:45:57 +0000 (11:45 +0000)
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

libavformat/rtpdec_vp8.c
libavformat/rtpenc.c

index 8de89ff15240dd69782e8f41d8bbcf68c5c1da4b..b18017b2053d0d5bce92d70c3cf118f7144db9b5 100644 (file)
@@ -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));
 }
 
index 0a2959dfcf4b5cd08ce9b276d15bac4c7512e7d3..d5f0b3835c90c3210f2d624d72742db5313859f1 100644 (file)
@@ -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