[vlc-commits] demux: ts: fix outputing extraes

Ilkka Ollakka git at videolan.org
Sun Mar 27 13:55:53 CEST 2016


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Mar 27 14:51:44 2016 +0300| [d0f5a164f656f61befa0c79c36cb602ea3562e2d] | committer: Ilkka Ollakka

demux: ts: fix outputing extraes

Fixes issue on multiple teletex-page subtitles selection and other that
use extraes in ts-side.

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

 modules/demux/mpeg/ts.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index f70844b..55dab09 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -1492,7 +1492,7 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid, block_t *p_pes )
                                 {
                                     block_t *p_dup = block_Duplicate( p_block );
                                     if( p_dup )
-                                        es_out_Send( p_demux->out, p_es_send->id, p_dup );
+                                        es_out_Send( p_demux->out, p_extra_es->id, p_dup );
                                 }
                                 p_extra_es = p_extra_es->p_next;
                             }



More information about the vlc-commits mailing list