[vlc-commits] es_format: check i_profile similarity for audio
Thomas Guillem
git at videolan.org
Wed Dec 20 19:14:20 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Dec 20 11:20:55 2017 +0100| [93fca804f8e88047842b9b81ac5a539cd5a103b7] | committer: Thomas Guillem
es_format: check i_profile similarity for audio
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=93fca804f8e88047842b9b81ac5a539cd5a103b7
---
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;
}
More information about the vlc-commits
mailing list