[vlc-devel] commit: Fixed support for non dated teletext. (Laurent Aimar )

git version control git at videolan.org
Fri Feb 5 20:44:20 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Feb  5 20:42:30 2010 +0100| [de635911f15705e638ae7f8920d1b7a13c91defe] | committer: Laurent Aimar 

Fixed support for non dated teletext.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de635911f15705e638ae7f8920d1b7a13c91defe
---

 src/input/decoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 5d3a57c..a8bd0e4 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -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 );




More information about the vlc-devel mailing list