]> git.sesse.net Git - vlc/commitdiff
Fix streaming of text subtitles in TS (Closes #52)
authorClément Stenac <zorglub@videolan.org>
Tue, 17 May 2005 18:29:59 +0000 (18:29 +0000)
committerClément Stenac <zorglub@videolan.org>
Tue, 17 May 2005 18:29:59 +0000 (18:29 +0000)
Not sure it's the proper way,though (basically, simply don't override the length)

modules/mux/mpeg/ts.c

index c3d6ea4e5cb33f7fc5ea1721c884966b693c36b6..fc5997fb00de5db006061db1add4ca92a4859627 100644 (file)
@@ -1073,8 +1073,10 @@ static int Mux( sout_mux_t *p_mux )
                         block_t *p_next = block_FifoShow( p_input->p_fifo );
                         p_data->i_length = p_next->i_dts - p_data->i_dts;
                     }
+#if 0
                     else
                         p_data->i_length = 1000;
+#endif
 
                     if( ( p_pcr_stream->i_pes_dts > 0 &&
                           p_data->i_dts - 10000000 > p_pcr_stream->i_pes_dts +