]> git.sesse.net Git - vlc/blobdiff - src/input/es_out.c
libvlccore: Rename iso_lang.h to vlc_iso_lang.h because we use VLC_EXPORT there,...
[vlc] / src / input / es_out.c
index 336641bf78f8e8285e456a13cc0f694b61af96ca..bbafad2aa65c191f5a2ea609f64a2c3813610c68 100644 (file)
@@ -41,7 +41,7 @@
 #include "input_internal.h"
 
 #include "vlc_playlist.h"
-#include "iso_lang.h"
+#include <vlc_iso_lang.h>
 /* FIXME we should find a better way than including that */
 #include "../text/iso-639_def.h"
 
@@ -1403,7 +1403,8 @@ static int EsOutSend( es_out_t *out, es_out_id_t *es, block_t *p_block )
         p_block->i_pts =
             input_ClockGetTS( p_input, &p_pgrm->clock, p_block->i_pts ) + i_delay;
     }
-    if ( es->fmt.i_codec == VLC_FOURCC( 't', 'e', 'l', 'x' ) )
+    if ( p_block->i_rate == INPUT_RATE_DEFAULT &&
+         es->fmt.i_codec == VLC_FOURCC( 't', 'e', 'l', 'x' ) )
     {
         mtime_t current_date = mdate();
         if( !p_block->i_pts