From: Jaroslav Kysela Date: Tue, 12 Sep 2017 07:58:34 +0000 (+0200) Subject: transcode: try to fix the source codec filter X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=655100ed254a62f020d2b015b56eb34ac0de1473;p=thirdparty%2Ftvheadend.git transcode: try to fix the source codec filter --- 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) {