rtmp: do not warn about receiving metadata packets

They are managed in get_packet()

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
Samuel Pitoiset 2012-07-26 21:10:09 +02:00 committed by Luca Barbato
parent 8728b381cb
commit 9c9c21eaa1
1 changed files with 2 additions and 1 deletions

View File

@ -1114,7 +1114,8 @@ static int rtmp_parse_result(URLContext *s, RTMPContext *rt, RTMPPacket *pkt)
break;
case RTMP_PT_VIDEO:
case RTMP_PT_AUDIO:
/* Audio and Video packets are parsed in get_packet() */
case RTMP_PT_METADATA:
/* Audio, Video and Metadata packets are parsed in get_packet() */
break;
default:
av_log(s, AV_LOG_VERBOSE, "Unknown packet type received 0x%02X\n", pkt->type);