Commit 08e087cc authored by Jordi Ortiz's avatar Jordi Ortiz Committed by Kostya Shishkov

rtmp: rtmp_parse_result() add case for video and audio packets to avoid undesired debug output.

Signed-off-by: 's avatarKostya Shishkov <kostya.shishkov@gmail.com>
parent f06dee77
...@@ -959,6 +959,10 @@ static int rtmp_parse_result(URLContext *s, RTMPContext *rt, RTMPPacket *pkt) ...@@ -959,6 +959,10 @@ static int rtmp_parse_result(URLContext *s, RTMPContext *rt, RTMPPacket *pkt)
return ret; return ret;
} }
break; break;
case RTMP_PT_VIDEO:
case RTMP_PT_AUDIO:
/* Audio and Video packets are parsed in get_packet() */
break;
default: default:
av_log(s, AV_LOG_VERBOSE, "Unknown packet type received 0x%02X\n", pkt->type); av_log(s, AV_LOG_VERBOSE, "Unknown packet type received 0x%02X\n", pkt->type);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment