On Tue, Jan 14, 2020 at 04:13:32AM +0100, Andreas Rheinhardt wrote:
> The current code only checks when writing the trailer whether the video
> format and Codec ID are actually compatible with the container. At this
> point, a lot of data will already have been written (in vain, of
> course), so
The current code only checks when writing the trailer whether the video
format and Codec ID are actually compatible with the container. At this
point, a lot of data will already have been written (in vain, of
course), so check during the init function instead.
Signed-off-by: Andreas Rheinhardt