]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
transcode: try to fix the source codec filter
authorJaroslav Kysela <perex@perex.cz>
Tue, 12 Sep 2017 07:58:34 +0000 (09:58 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 12 Sep 2017 07:58:34 +0000 (09:58 +0200)
src/transcoding/transcode/stream.c

index fbf957576510f760f3a997ed75014d3949847546..afed145f11ff83d21850c4454121ddf8d7bf57c8 100644 (file)
@@ -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) {