Commit ccaa1cdb authored by kostya's avatar kostya

Pass only useful FLV metadata from RTMP stream

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20573 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e2ebe466
...@@ -511,7 +511,7 @@ static int get_packet(URLContext *s, int for_header) ...@@ -511,7 +511,7 @@ static int get_packet(URLContext *s, int for_header)
continue; continue;
} }
if (rpkt.type == RTMP_PT_VIDEO || rpkt.type == RTMP_PT_AUDIO || if (rpkt.type == RTMP_PT_VIDEO || rpkt.type == RTMP_PT_AUDIO ||
rpkt.type == RTMP_PT_NOTIFY) { (rpkt.type == RTMP_PT_NOTIFY && !memcmp("\002\000\012onMetaData", rpkt.data, 13))) {
uint8_t *p; uint8_t *p;
uint32_t ts = rpkt.timestamp; uint32_t ts = rpkt.timestamp;
......
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