[vlc-commits] [Git][videolan/vlc][master] es_format: handle profile changes in Video ES
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Jul 12 10:13:07 UTC 2022
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
53f6ee83 by Steve Lhomme at 2022-07-12T09:44:48+00:00
es_format: handle profile changes in Video ES
A profile change in a format is another sign the ES has changed.
This is similar to the profile check for Audio.
- - - - -
1 changed file:
- src/misc/es_format.c
Changes:
=====================================
src/misc/es_format.c
=====================================
@@ -561,6 +561,8 @@ bool es_format_IsSimilar( const es_format_t *p_fmt1, const es_format_t *p_fmt2 )
{
video_format_t v1 = p_fmt1->video;
video_format_t v2 = p_fmt2->video;
+ if( p_fmt1->i_profile != p_fmt2->i_profile )
+ return false;
if( !v1.i_chroma )
v1.i_chroma = vlc_fourcc_GetCodec( p_fmt1->i_cat, p_fmt1->i_codec );
if( !v2.i_chroma )
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/53f6ee83fbd1c34bde38677a12555d8e667faa76
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/53f6ee83fbd1c34bde38677a12555d8e667faa76
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list