forked from obsproject/obs-deps
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
59 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
deps.ffmpeg/patches/FFmpeg/0001-flvdec-handle-unknown.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- ./libavformat/flvdec.c 2021-10-24 22:47:07.000000000 +0200 | ||
+++ ./libavformat/flvdec.c 2021-11-08 13:13:47.000000000 +0100 | ||
@@ -1077,7 +1077,7 @@ | ||
int type; | ||
meta_pos = avio_tell(s->pb); | ||
type = flv_read_metabody(s, next); | ||
- if (type == 0 && dts == 0 || type < 0) { | ||
+ if (type == 0 && dts == 0 || type < 0 || type == TYPE_UNKNOWN) { | ||
if (type < 0 && flv->validate_count && | ||
flv->validate_index[0].pos > next && | ||
flv->validate_index[0].pos - 4 < next) { |
11 changes: 0 additions & 11 deletions
11
.../patches/FFmpeg/0001-FFmpeg-6.0-OBS.patch → ...tches/FFmpeg/0002-libaomenc-presets.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From 9f44553b3d297f7a423c51451c4e18c0e5a25d19 Mon Sep 17 00:00:00 2001 | ||
From: Sebastian Beckmann <[email protected]> | ||
Date: Wed, 29 Mar 2023 04:20:38 +0200 | ||
Subject: [PATCH] QComboBox: Disable items marked as disabled in native popups | ||
|
||
Fixes: QTBUG-56064 | ||
Pick-to: 6.5 6.2 5.15 | ||
Change-Id: I00a17a19b4c14c874e16ec863e794218f0570346 | ||
Reviewed-by: Volker Hilsheimer <[email protected]> | ||
--- | ||
a/qtbase/src/widgets/widgets/qcombobox.cpp | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/qtbase/src/widgets/widgets/qcombobox.cpp b/qtbase/src/widgets/widgets/qcombobox.cpp | ||
index 80206b24acb..7c99e8983c6 100644 | ||
--- a/qtbase/src/widgets/widgets/qcombobox.cpp | ||
+++ b/qtbase/src/widgets/widgets/qcombobox.cpp | ||
@@ -2501,10 +2501,12 @@ bool QComboBoxPrivate::showNativePopup() | ||
QVariant textVariant = model->data(rowIndex, Qt::EditRole); | ||
item->setText(textVariant.toString()); | ||
QVariant iconVariant = model->data(rowIndex, Qt::DecorationRole); | ||
+ const Qt::ItemFlags itemFlags = model->flags(rowIndex); | ||
if (iconVariant.canConvert<QIcon>()) | ||
item->setIcon(iconVariant.value<QIcon>()); | ||
item->setCheckable(true); | ||
item->setChecked(i == currentIndex); | ||
+ item->setEnabled(itemFlags & Qt::ItemIsEnabled); | ||
if (!currentItem || i == currentIndex) | ||
currentItem = item; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters