mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 21:45:10 +00:00
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
This commit is contained in:
parent
16cfc96124
commit
35b0169484
@ -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));
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user