Commit ee3a16aa authored by Gildas Bazin's avatar Gildas Bazin

* src/video_output/vout_subpictures.c: fixed a deadlock that happened when 2...

* src/video_output/vout_subpictures.c: fixed a deadlock that happened when 2 ephemer subpictures had the same date.
parent dd4814e6
...@@ -589,7 +589,7 @@ subpicture_t *vout_SortSubPictures( vout_thread_t *p_vout, ...@@ -589,7 +589,7 @@ subpicture_t *vout_SortSubPictures( vout_thread_t *p_vout,
* displayed */ * displayed */
if( p_ephemer != NULL ) if( p_ephemer != NULL )
{ {
if( p_ephemer->i_start < ephemer_date ) if( p_ephemer->i_start <= ephemer_date )
{ {
/* Ephemer subpicture has lived too long */ /* Ephemer subpicture has lived too long */
vout_DestroySubPicture( p_vout, p_ephemer ); vout_DestroySubPicture( p_vout, p_ephemer );
......
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