vlc/vlc-3.0 | branch: master | Francois Cartegnie <[email protected]> | Fri Feb 12 13:56:24 2021 +0100| [09cc13c481c03a2c4d0cb553d05886b89ab4a91b] | committer: Francois Cartegnie
demux: adaptive: do not trust profile/level refs #25459 (cherry picked from commit d44e8655384a2c5cbbd0b5deb6eb6c1475d4cf5d) > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=09cc13c481c03a2c4d0cb553d05886b89ab4a91b --- modules/demux/adaptive/plumbing/FakeESOutID.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/demux/adaptive/plumbing/FakeESOutID.cpp b/modules/demux/adaptive/plumbing/FakeESOutID.cpp index c2fb35aeda..cf6f9506b4 100644 --- a/modules/demux/adaptive/plumbing/FakeESOutID.cpp +++ b/modules/demux/adaptive/plumbing/FakeESOutID.cpp @@ -80,6 +80,10 @@ bool FakeESOutID::isCompatible( const FakeESOutID *p_other ) const if((fmt.i_extra > 0) ^ (p_other->fmt.i_extra > 0)) return false; + if(fmt.i_profile != p_other->fmt.i_profile || + fmt.i_level != p_other->fmt.i_level) + return false; + switch(fmt.i_codec) { case VLC_CODEC_H264: _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
