[vlc-devel] [PATCH 5/9] es_format: check i_profile similarity for audio
Thomas Guillem
thomas at gllm.fr
Wed Dec 20 14:12:41 CET 2017
---
src/misc/es_format.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/misc/es_format.c b/src/misc/es_format.c
index 9ed9815814..1c9a78e1a4 100644
--- a/src/misc/es_format.c
+++ b/src/misc/es_format.c
@@ -589,6 +589,8 @@ bool es_format_IsSimilar( const es_format_t *p_fmt1, const es_format_t *p_fmt2 )
a1.i_physical_channels != a2.i_physical_channels ||
a1.i_chan_mode != a2.i_chan_mode )
return false;
+ if( p_fmt1->i_profile != p_fmt2->i_profile )
+ return false;
return true;
}
--
2.11.0
More information about the vlc-devel
mailing list