From afcb49dcce1dfbbf9ac78ca31cae5fd0a383b05d Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Mon, 8 Jun 2015 14:16:22 +0100 Subject: [PATCH] tsdemux: correct fix for dead code Rename template to caps to keep the original intention of the code after commit b4c9aa1c CID #1304674 --- gst/mpegtsdemux/tsdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index d6ed0015ff..c6ff5428f1 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -1197,7 +1197,7 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream, "alignment", G_TYPE_STRING, "nal", NULL); break; } - if (template) + if (caps) break; /* hack for itv hd (sid 10510, video pid 3401 */