[FFmpeg-cvslog] rtmp: do not warn about receiving metadata packets
Samuel Pitoiset
git at videolan.org
Tue Jul 31 23:05:10 CEST 2012
ffmpeg | branch: master | Samuel Pitoiset <samuel.pitoiset at gmail.com> | Thu Jul 26 21:10:09 2012 +0200| [9c9c21eaa1f0adf1c5cd17f9b31a18b979bffe37] | committer: Luca Barbato
rtmp: do not warn about receiving metadata packets
They are managed in get_packet()
Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9c9c21eaa1f0adf1c5cd17f9b31a18b979bffe37
---
libavformat/rtmpproto.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 501e0ed..4a35319 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list