Without this patch "Unknown packet type received" message is shown and could
lead to confusion
---
libavformat/rtmpproto.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index b48274b..d96510c 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -959,6 +959,12 @@ static int rtmp_parse_result(URLContext *s, RTMPContext
*rt, RTMPPacket *pkt)
return ret;
}
break;
+ case RTMP_PT_VIDEO:
+ av_log(s, AV_LOG_DEBUG, "Video\n");
+ break;
+ case RTMP_PT_AUDIO:
+ av_log(s, AV_LOG_DEBUG, "Audio\n");
+ break;
default:
av_log(s, AV_LOG_VERBOSE, "Unknown packet type received 0x%02X\n",
pkt->type);
break;
--
1.7.10
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel