image: use an es_format_t for the output format when writing
The output is a bitstream in some codec, not a chroma that can be used as such.
It makes sense to read the es_out.i_codec but not the fmt_out.i_chroma.
If you ever wondered why there's an i_codec
, and an i_chroma
, it's one of those case where they got confused.