Commit 932e8a8b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

sout_standard: fix inverted logic

Regression from c9d33a61.
parent 072f409f
...@@ -306,7 +306,7 @@ static void checkAccessMux( sout_stream_t *p_stream, char *psz_access, ...@@ -306,7 +306,7 @@ static void checkAccessMux( sout_stream_t *p_stream, char *psz_access,
{ {
if( exactMatch( psz_access, "mmsh", 4 ) && !exactMatch( psz_mux, "asfh", 4 ) ) if( exactMatch( psz_access, "mmsh", 4 ) && !exactMatch( psz_mux, "asfh", 4 ) )
msg_Err( p_stream, "mmsh output is only valid with asfh mux" ); msg_Err( p_stream, "mmsh output is only valid with asfh mux" );
else if( exactMatch( psz_access, "file", 4 ) && else if( !exactMatch( psz_access, "file", 4 ) &&
( exactMatch( psz_mux, "mov", 3 ) || exactMatch( psz_mux, "mp4", 3 ) ) ) ( exactMatch( psz_mux, "mov", 3 ) || exactMatch( psz_mux, "mp4", 3 ) ) )
msg_Err( p_stream, "mov and mp4 mux are only valid with file output" ); msg_Err( p_stream, "mov and mp4 mux are only valid with file output" );
else if( exactMatch( psz_access, "udp", 3 ) ) else if( exactMatch( psz_access, "udp", 3 ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment