[vlc-devel] [PATCH] sout:record: fix invalid dts test
Francois Cartegnie
fcvlcdev at free.fr
Mon Jul 30 14:05:08 CEST 2018
Le 30/07/2018 à 07:31, Steve Lhomme a écrit :
> ---
> modules/stream_out/record.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/stream_out/record.c b/modules/stream_out/record.c
> index d65896625c..65b6c8b6d9 100644
> --- a/modules/stream_out/record.c
> +++ b/modules/stream_out/record.c
> @@ -572,7 +572,7 @@ static void OutputStart( sout_stream_t *p_stream )
> break;
> }
>
> - if( !id_dts == VLC_TICK_INVALID )
> + if( id_dts != VLC_TICK_INVALID )
> {
> p_cand = id;
> canddts = VLC_TICK_INVALID;
>
Typo is the extra negation.
We want to break if equals to invalid.
--
Francois Cartegnie
VideoLAN - VLC Developer
More information about the vlc-devel
mailing list