mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
14 lines
654 B
Diff
14 lines
654 B
Diff
https://github.com/FFmpeg/FFmpeg/commit/e0786a8eeb9e7c8feb057e83f284491f0a87e463
|
|
always 1
|
|
diff --git a/src/media/video/accel.cpp b/src/media/video/accel.cpp
|
|
index 314ca86..4888352 100644
|
|
--- a/src/media/video/accel.cpp
|
|
+++ b/src/media/video/accel.cpp
|
|
@@ -310,7 +310,6 @@ HardwareAccel::setDetails(AVCodecContext* codecCtx)
|
|
if (type_ == CODEC_DECODER) {
|
|
codecCtx->hw_device_ctx = av_buffer_ref(deviceCtx_);
|
|
codecCtx->get_format = getFormatCb;
|
|
- codecCtx->thread_safe_callbacks = 1;
|
|
} else if (type_ == CODEC_ENCODER) {
|
|
if (framesCtx_)
|
|
// encoder doesn't need a device context, only a frame context
|