Commit 1da34cc2 authored by Rafaël Carré's avatar Rafaël Carré

transcode osd: use VLC_TS_INVALID (refs #3135)

parent 9f78b7ea
...@@ -119,7 +119,7 @@ int transcode_osd_process( sout_stream_t *p_stream, sout_stream_id_t *id, ...@@ -119,7 +119,7 @@ int transcode_osd_process( sout_stream_t *p_stream, sout_stream_id_t *id,
subpicture_t *p_subpic = NULL; subpicture_t *p_subpic = NULL;
/* Check if we have a subpicture to send */ /* Check if we have a subpicture to send */
if( p_sys->p_spu && in->i_dts > 0) if( p_sys->p_spu && in->i_dts > VLC_TS_INVALID )
{ {
p_subpic = spu_SortSubpictures( p_sys->p_spu, in->i_dts, false ); p_subpic = spu_SortSubpictures( p_sys->p_spu, in->i_dts, false );
} }
......
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