From d592217761d8efe9a8cebc9ce2980248911eae3b Mon Sep 17 00:00:00 2001 From: Kongqun Yang Date: Thu, 9 Feb 2017 12:18:11 -0800 Subject: [PATCH] Add a warning message when seeing unsupported stream type Issue #202 Change-Id: If16fe7ccec5dfd869070dfbbb711240a89b2295b --- packager/media/formats/mp2t/mp2t_media_parser.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packager/media/formats/mp2t/mp2t_media_parser.cc b/packager/media/formats/mp2t/mp2t_media_parser.cc index e672320340..3e9ce4fbd3 100644 --- a/packager/media/formats/mp2t/mp2t_media_parser.cc +++ b/packager/media/formats/mp2t/mp2t_media_parser.cc @@ -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; }