[FFmpeg-cvslog] r25887 - in trunk/libavformat: rtpdec_vp8.c rtpenc.c

mstorsjo subversion
Sun Dec 5 12:45:58 CET 2010


Author: mstorsjo
Date: Sun Dec  5 12:45:57 2010
New Revision: 25887

Log:
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.

Modified:
   trunk/libavformat/rtpdec_vp8.c
   trunk/libavformat/rtpenc.c

Modified: trunk/libavformat/rtpdec_vp8.c
==============================================================================
--- trunk/libavformat/rtpdec_vp8.c	Sat Dec  4 20:06:45 2010	(r25886)
+++ trunk/libavformat/rtpdec_vp8.c	Sun Dec  5 12:45:57 2010	(r25887)
@@ -129,7 +129,8 @@ static int vp8_handle_packet(AVFormatCon
 
 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));
 }
 

Modified: trunk/libavformat/rtpenc.c
==============================================================================
--- trunk/libavformat/rtpenc.c	Sat Dec  4 20:06:45 2010	(r25886)
+++ trunk/libavformat/rtpenc.c	Sun Dec  5 12:45:57 2010	(r25887)
@@ -147,7 +147,8 @@ static int rtp_write_header(AVFormatCont
         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



More information about the ffmpeg-cvslog mailing list