From e9cb38017b1b903b24e2d7160c50c608a060044f Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Mon, 8 Jun 2015 14:14:41 +0100 Subject: Revert "tsdemux: remove dead code" This reverts commit 0635acfec041b1c664bc0770839b1a576e3598b1. --- gst/mpegtsdemux/tsdemux.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/mpegtsdemux') diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index 7a42b056d..d6ed0015f 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -1197,6 +1197,8 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream, "alignment", G_TYPE_STRING, "nal", NULL); break; } + if (template) + break; /* hack for itv hd (sid 10510, video pid 3401 */ if (program->program_number == 10510 && bstream->pid == 3401) { -- cgit v1.2.1