FFmpeg: RecordingEngine - defer destruction to correct thread


The RecordingEngine is destroyed on the EncodingFinalizer thread. This
violates the QObject contract requiring QObjects to be destroyed on the
thread that owns them.
Most notably this can cause a race condition with the continuations
registered in `RecordingEngine::startEncoders`

Pick-to: 6.12
Change-Id: I6199f1a86b086889d07378d68721599ab5f80eb0
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commitde361c231d1958ec50ffa4463d6819011dd27466
parentd36196adb515b12eb613d7ff6e13e96c3d8e4ecf
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeTue, 8 Sep 2026 00:30:20 +0000