]> git.sesse.net Git - vlc/commitdiff
Fixed support for non dated teletext.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 5 Feb 2010 19:42:30 +0000 (20:42 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 5 Feb 2010 19:43:35 +0000 (20:43 +0100)
src/input/decoder.c

index 5d3a57c3d8c87773a306bf67e9fcb3253d4ba554..a8bd0e4e2860092b3f9a9d24f042fecf37711273 100644 (file)
@@ -1518,7 +1518,7 @@ static void DecoderPlaySpu( decoder_t *p_dec, subpicture_t *p_subpic,
     vout_thread_t *p_vout = p_owner->p_spu_vout;
 
     /* */
-    if( p_subpic->i_start <= VLC_TS_INVALID )
+    if( p_subpic->i_start <= VLC_TS_INVALID && !b_telx )
     {
         msg_Warn( p_dec, "non-dated spu buffer received" );
         subpicture_Delete( p_subpic );