Add a warning message when seeing unsupported stream type

Issue #202

Change-Id: If16fe7ccec5dfd869070dfbbb711240a89b2295b
This commit is contained in:
Kongqun Yang 2017-02-09 12:18:11 -08:00
parent bee59bc2fc
commit d592217761
1 changed files with 2 additions and 0 deletions

View File

@ -318,6 +318,8 @@ void Mp2tMediaParser::RegisterPes(int pmt_pid,
sbr_in_mimetype_));
is_audio = true;
} else {
LOG(WARNING) << "Ignore unsupported stream type 0x" << std::hex
<< stream_type << std::dec;
return;
}