From 655100ed254a62f020d2b015b56eb34ac0de1473 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 12 Sep 2017 09:58:34 +0200 Subject: [PATCH] transcode: try to fix the source codec filter --- src/transcoding/transcode/stream.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/transcoding/transcode/stream.c b/src/transcoding/transcode/stream.c index fbf957576..afed145f1 100644 --- a/src/transcoding/transcode/stream.c +++ b/src/transcoding/transcode/stream.c @@ -44,8 +44,9 @@ tvh_stream_is_copy(TVHCodecProfile *profile, tvh_ssc_t *ssc, if (token == NULL) break; if (!strcasecmp(token, txtname)) - return 0; /* do not copy */ + goto cont; } + return 1; } cont: if (profile == tvh_codec_profile_copy) { -- 2.47.3