summaryrefslogtreecommitdiffstats
path: root/src/plugins/multimedia/ffmpeg/qffmpegvideoframeencoder_p.h
diff options
context:
space:
mode:
authorArtem Dyomin <artem.dyomin@qt.io>2022-12-21 13:36:12 +0100
committerArtem Dyomin <artem.dyomin@qt.io>2022-12-22 09:58:30 +0100
commit8e68840e9ba921b50ae240c2e04831a125811658 (patch)
tree44360f61bef835ffbde73793ff7ddcf2fde5e96c /src/plugins/multimedia/ffmpeg/qffmpegvideoframeencoder_p.h
parent15190f347bac9b2e4a8c855d67e864051eb514d2 (diff)
Code cleanup: remove old ffmpeg decoder
What's done: - remove old decoder - namespace PlaybackEngineInternal seems to be not needed, so it's removed - some minor clean up with unique_ptr usage - logic is not changed Pick-to: 6.5 Change-Id: I5089c87ef4c424930bca96d5f2935bfd88c20f5f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lars Knoll <lars@knoll.priv.no>
Diffstat (limited to 'src/plugins/multimedia/ffmpeg/qffmpegvideoframeencoder_p.h')
-rw-r--r--src/plugins/multimedia/ffmpeg/qffmpegvideoframeencoder_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/multimedia/ffmpeg/qffmpegvideoframeencoder_p.h b/src/plugins/multimedia/ffmpeg/qffmpegvideoframeencoder_p.h
index 2e4b11ddc..62eb6f916 100644
--- a/src/plugins/multimedia/ffmpeg/qffmpegvideoframeencoder_p.h
+++ b/src/plugins/multimedia/ffmpeg/qffmpegvideoframeencoder_p.h
@@ -36,7 +36,7 @@ class VideoFrameEncoder
std::unique_ptr<HWAccel> accel;
const AVCodec *codec = nullptr;
AVStream *stream = nullptr;
- AVCodecContext *codecContext = nullptr;
+ AVCodecContextUPtr codecContext;
SwsContext *converter = nullptr;
AVPixelFormat sourceFormat = AV_PIX_FMT_NONE;
AVPixelFormat sourceSWFormat = AV_PIX_FMT_NONE;