FFmpeg: encoders - call avcodec_parameters_from_context after opening codec
We need to call avcodec_parameters_from_context after opening the codec
as it may otherwise not be populated correctly.
As a drive-by add better error reporting
Pick-to: 6.12
Change-Id: Id688677e83868fc05f78f7e78412c1d091b1578f
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | f7c05dee4ba54f1c30124d15ae45457ce79b855d |
| parent | fc6aa84a3186be325443c3f22733543ae44b148e |
| author | Tim Blechmann <tim@klingt.org> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Thu, 13 Aug 2026 12:55:54 +0000 |