]> git.sesse.net Git - vlc/commitdiff
transcode osd: use VLC_TS_INVALID (refs #3135)
authorRafaël Carré <rafael.carre@gmail.com>
Mon, 7 Dec 2009 17:03:41 +0000 (18:03 +0100)
committerRafaël Carré <rafael.carre@gmail.com>
Mon, 7 Dec 2009 17:03:41 +0000 (18:03 +0100)
modules/stream_out/transcode/osd.c

index b10201f41b84632b9abf1e856af207cce2b3f891..f6cd7f556dabd1e3bc0cf5d1c2708a6284caf020 100644 (file)
@@ -119,7 +119,7 @@ int transcode_osd_process( sout_stream_t *p_stream, sout_stream_id_t *id,
     subpicture_t *p_subpic = NULL;
 
     /* 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 );
     }