vlc | branch: master | Thomas Guillem <[email protected]> | Mon Jan 25 14:22:31 2021 +0100| [25ca014441156f3f0eebe39d56a53495e1200008] | committer: Thomas Guillem
decoder: fix fmt check from vlc_input_decoder_HasFormatChanged The fmt that need to be tested is owner->fmt in that case. Regression from 202fd85717fc3ce91ce0a4cd8a07006dd5f4c866 Re Fixes #25387 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=25ca014441156f3f0eebe39d56a53495e1200008 --- src/input/decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/decoder.c b/src/input/decoder.c index 120392f4c7..be04818859 100644 --- a/src/input/decoder.c +++ b/src/input/decoder.c @@ -2548,7 +2548,7 @@ bool vlc_input_decoder_HasFormatChanged( vlc_input_decoder_t *p_owner, vlc_mutex_lock( &p_owner->lock ); - if( p_owner->dec.fmt_in.i_cat == UNKNOWN_ES ) + if( p_owner->fmt.i_cat == UNKNOWN_ES ) { /* The format changed but the output creation failed */ vlc_mutex_unlock( &p_owner->lock ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
