[vlc-devel] [PATCH 2/2] avcodec: protect the flush call
Francois Cartegnie
fcvlcdev at free.fr
Fri Sep 20 17:11:30 CEST 2019
Le 20/09/2019 à 09:31, Thomas Guillem a écrit :
> /* After draining, we need to reset decoder with a flush */
> if( b_drained )
> + {
> + post_mt( p_sys );
> avcodec_flush_buffers( p_sys->p_context );
> + wait_mt( p_sys );
> + }
I have never really understood what it was doing.
If that *_mt could be renamed or explained.
--
Francois Cartegnie
VideoLAN - VLC Developer
More information about the vlc-devel
mailing list