tsdemux: correct fix for dead code

Rename template to caps to keep the original intention of the code after
commit b4c9aa1c

CID #1304674
This commit is contained in:
Luis de Bethencourt 2015-06-08 14:16:22 +01:00
parent e9cb38017b
commit afcb49dcce

View file

@ -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 */