Skip to content

mfvideoenc: Fix some error cases

mfvideoenc: Set PAR to output IMFMediaType

We've set it to input IMFMediaType but not for output.
So, if PAR is not 1:1, the input IMFMediaType will be accepted
by MFT (default is 1:1).
The PAR of input/output IMFMediaType must be identical
mftransform: Don't try to drain if MFT is not running

Otherwise MFT will be blocked forever as no event can be generated by
IMFMediaEventGenerator.

Merge request reports

Loading