Stefano Sabatini <stefano.sabatini-l...@poste.it> added the comment:
Currently when video_thread() fails ffplay goes on (for example it will play the sound), so there is no way of aborting ffplay from video_thread(). Maybe would be a better idea to do the initialization before to actually start the video thread, fail and abort if the initialization fails, this may also improve synchronization between audio and video decoding (as the initialization is done before the actual decoding). ________________________________________________ FFmpeg issue tracker <iss...@roundup.ffmpeg.org> <https://roundup.ffmpeg.org/issue2559> ________________________________________________