vlc | branch: master | Francois Cartegnie <[email protected]> | Thu Jun 27 11:19:27 2019 +0200| [8335da249d9c703352146d355a6b0386b3e3ee4b] | committer: Francois Cartegnie
demux: adaptive: set vp0x profile/level > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8335da249d9c703352146d355a6b0386b3e3ee4b --- modules/demux/adaptive/tools/FormatNamespace.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/demux/adaptive/tools/FormatNamespace.cpp b/modules/demux/adaptive/tools/FormatNamespace.cpp index cec0107fe6..d23cad7721 100644 --- a/modules/demux/adaptive/tools/FormatNamespace.cpp +++ b/modules/demux/adaptive/tools/FormatNamespace.cpp @@ -137,6 +137,11 @@ void FormatNamespace::Parse(vlc_fourcc_t fcc, const std::vector<std::string> &el case MP4RA("vp09"): case MP4RA("vp08"): es_format_Change(&fmt, VIDEO_ES, vlc_fourcc_GetCodec(VIDEO_ES, fcc)); + if(elements.size() > 1) + { + fmt.i_profile = std::stoi(elements.at(0), nullptr, 16); + fmt.i_level = std::stoi(elements.at(1), nullptr, 16); + } break; case MSFCC("AVC1"): case MSFCC("AVCB"): _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
