transcode: video: assert chroma=codec
commit7bbd879b591f42f70ee95bab7df3db5de1693e3b
authorAlexandre Janniaux <ajanni@videolabs.io>
Tue, 9 Jun 2020 16:44:00 +0000 (9 18:44 +0200)
committerAlexandre Janniaux <ajanni@videolabs.io>
Wed, 24 Jun 2020 13:29:59 +0000 (24 15:29 +0200)
tree93fa79f72e0eb93e1a8acb317886db9a504a4950
parentc751159b600dc3a34b231b9d8d25a23b97c48783
transcode: video: assert chroma=codec

...instead of setting it, which might raise issues as soon as i_chroma
has been set instead of i_codec, and hide case in which i_codec has not
been set to the same value as i_chroma.
modules/stream_out/transcode/video.c