diff options
Diffstat (limited to 'kernel/zttranscode.c')
-rw-r--r-- | kernel/zttranscode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/zttranscode.c b/kernel/zttranscode.c index 1defc51..58d098c 100644 --- a/kernel/zttranscode.c +++ b/kernel/zttranscode.c @@ -199,8 +199,10 @@ get_free_channel(struct zt_transcoder *tc, const struct zt_transcoder_formats *f * make sure that it can support the formats * that we're interested in. */ if ((fmts->srcfmt|fmts->dstfmt) == - chan->built_fmts) + chan->built_fmts) { + zt_tc_set_busy(chan); return chan; + } } } } |