summaryrefslogtreecommitdiff
path: root/multimedia/libopenshot/files/patch-src_FFmpegReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libopenshot/files/patch-src_FFmpegReader.cpp')
-rw-r--r--multimedia/libopenshot/files/patch-src_FFmpegReader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/libopenshot/files/patch-src_FFmpegReader.cpp b/multimedia/libopenshot/files/patch-src_FFmpegReader.cpp
index 03ba68404250..95b0d6c2f6ce 100644
--- a/multimedia/libopenshot/files/patch-src_FFmpegReader.cpp
+++ b/multimedia/libopenshot/files/patch-src_FFmpegReader.cpp
@@ -1,6 +1,6 @@
---- src/FFmpegReader.cpp.orig 2021-08-19 20:40:39 UTC
+--- src/FFmpegReader.cpp.orig 2022-12-01 22:04:03 UTC
+++ src/FFmpegReader.cpp
-@@ -139,7 +139,7 @@ static enum AVPixelFormat get_hw_dec_format(AVCodecCon
+@@ -130,7 +130,7 @@ static enum AVPixelFormat get_hw_dec_format(AVCodecCon
for (p = pix_fmts; *p != AV_PIX_FMT_NONE; p++) {
switch (*p) {
@@ -9,7 +9,7 @@
// Linux pix formats
case AV_PIX_FMT_VAAPI:
hw_de_av_pix_fmt_global = AV_PIX_FMT_VAAPI;
-@@ -295,7 +295,7 @@ void FFmpegReader::Open() {
+@@ -300,7 +300,7 @@ void FFmpegReader::Open() {
pCodecCtx->get_format = get_hw_dec_format;
if (adapter_num < 3 && adapter_num >=0) {
@@ -18,7 +18,7 @@
snprintf(adapter,sizeof(adapter),"/dev/dri/renderD%d", adapter_num+128);
adapter_ptr = adapter;
i_decoder_hw = openshot::Settings::Instance()->HARDWARE_DECODER;
-@@ -358,11 +358,13 @@ void FFmpegReader::Open() {
+@@ -363,11 +363,13 @@ void FFmpegReader::Open() {
}
// Check if it is there and writable