- Jan 06, 2025
-
-
fengchao.wei authored
Signed-off-by:
fengchao.wei <fengchao.wei@mthreads.com>
-
- Dec 18, 2024
-
-
Steve Lhomme authored
Similar to c49140dc.
-
Steve Lhomme authored
It's deprecated and one of the replacement suggested in the doc [^1]. QString::asprint() might be the more logical choice, but it's also not recommended [^2]. [^1] https://doc.qt.io/qt-5/qstring-obsolete.html#sprintf [^2] https://doc.qt.io/qt-5/qstring.html#asprintf
-
Steve Lhomme authored
It's deprecated and one of the replacement suggested in the doc [^1]. QString::asprint() might be the more logical choice, but it's also not recommended [^2]. [^1] https://doc.qt.io/qt-5/qstring-obsolete.html#sprintf [^2] https://doc.qt.io/qt-5/qstring.html#asprintf
-
Steve Lhomme authored
Similar to ed986711. It's deprecated in Qt 5.15 [^1], since 5.13 [^2], and removed in Qt 6. [^1] https://doc.qt.io/qt-5/qlayout-obsolete.html#setMargin [^2] https://github.com/qt/qtbase/commit/d6d33f0b80dd85043c71f71a3ed5485d6014e6c4
-
Steve Lhomme authored
To be able to use rendererGroup.
-
Steve Lhomme authored
Similar to bbb9f6a0.
-
Steve Lhomme authored
It's checked with actions[i]->data().toInt() anyway. The code was removed in 4.0 with e1c82853 but was never fixed.
-
Steve Lhomme authored
It's deprecated [^1] and there is no replacement suggested in the doc. We can use the safe way we use in VLC 4. We could also not check the OS version at all since it's dynamically loaded and the call returns an error on Windows 7 and earlier [^2]. [^1] https://doc.qt.io/qt-5/qsysinfo-obsolete.html#windowsVersion [^2] https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/nf-dwmapi-dwmsetwindowattribute#return-value
-
Steve Lhomme authored
It's deprecated in Qt 5.15 [^1], since 5.14 [^2], and removed in Qt 6. The commit log of [^2] even mentions its deprecated for all Qt5 but was not marked as such yet. [^1] https://doc.qt.io/qt-5/qpainter.html#RenderHint-enum [^2] https://github.com/qt/qtbase/commit/1e4e006c3f6e8cbd0092fe882bc23a2280352a91
-
Steve Lhomme authored
-
Steve Lhomme authored
-
- Dec 14, 2024
-
-
- Dec 11, 2024
- Dec 07, 2024
-
-
Fix broken v4l2 pixel format selection when the device supports/uses the V4L2_PIX_FMT_ABGR32 or V4L2_PIX_FMT_XBGR32 pixel formats. See the v4l2 documentation for the pixel formats details: https://docs.kernel.org/userspace-api/media/v4l/pixfmt-rgb.html
-
- Dec 05, 2024
-
-
Steve Lhomme authored
When installing files the messages are like: Copying new files: File: [1], Directory: [9], Size: [6] It only happens on Windows arm64, but we can apply this to all targets to have a consistent experience. Found the fix in https://stackoverflow.com/a/44182276 Fixes #28887 (cherry picked from commit c9f967f5)
-
Steve Lhomme authored
Fixes #28885 (cherry picked from commit cfa511f3)
- Dec 03, 2024
-
-
Steve Lhomme authored
The hardware decoders need it and the packetizer can fill it for us. (cherry picked from commit fe8b4bf9) (edited) edited: - the extradata handling is missing many backports, adapting the to 3.0 code
-
Steve Lhomme authored
The hardware decoders need it and the packetizer can fill it for us. (cherry picked from commit f05f3388)
-
Steve Lhomme authored
The optional part needed by the decoders. This will restart the decoders if needed, but they should have received no frames yet or the hardware decoder may be usable again or not (after a sequence header change). (cherry picked from commit a95213e2) (edited) edited: - fmt_in was not a pointer in 3.0
-
- Dec 02, 2024
-
-
Steve Lhomme authored
FindNextID() is supposed to return an element of the given type when it's found. But in some cases, when the ID and sizes are plausible, an EbmlDummy is returned [1]. We should not use that element as if it was a legit element we're looking for. This is especially crucial when we're opening a file to decide if it's an EBML file or not (EbmlHead). [1] https://github.com/Matroska-Org/libebml/blob/1c4e2f31b8df7f2c137d8943c73385759aae35b9/src/EbmlElement.cpp#L185 (cherry picked from commit 49d4586f)
-
- Dec 01, 2024
-
-
Steve Lhomme authored
It seems it's not available in Windows XP. https://forum.videolan.org/viewtopic.php?f=14&t=164742&p=544877#p544877
-
Steve Lhomme authored
It's unlikely the user path is that large, but just in case we are ready. This fixes an issue where the result of _snwprintf() is not checked. The wstringstream will only fail if there's no memory. At this point further calls using std::map and breakpad will also fail. (cherry picked from commit 05e7dae2)
-
Steve Lhomme authored
We let the concatenation decide if there's enough room or not. And use the Wide char calls where wide char pointers are used. (cherry picked from commit 28241fad) (rebased) rebased: - the code around is slightly different
-
Steve Lhomme authored
We don't need wide chars for this. (cherry picked from commit 4d62dc12)
-
Steve Lhomme authored
All the internal strings we use are using CHAR. (cherry picked from commit 4e84066f)
-
Steve Lhomme authored
No need for wide chars for that. The API is supported in UWP [1]. The code was also puttin a WCHAR letter in a char string. [1] https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getdrivetypea (cherry picked from commit ec8924b3)
-
Steve Lhomme authored
The API is available in UWP builds. _wgetcwd() should work as well. (cherry picked from commit d00ede66) (edited) edited: - 3.0 already disabled the code in UWP differently
-
Steve Lhomme authored
(cherry picked from commit 7e2763d0) (rebased) rebased: - the code around is slightly different
-
Steve Lhomme authored
(cherry picked from commit 987e7371)
-
Steve Lhomme authored
(cherry picked from commit 2f7271ea) (edited) edited: - removed freetype/fonts/win32.c and d3d11_fmt.c changes we were too different
-
- Nov 29, 2024
-
-
Steve Lhomme authored
Instead of defaulting to "Program Files (x86)". Fixes #28886 (cherry picked from commit 840c29fd)
-
- Nov 28, 2024
-
-
Steve Lhomme authored
It's the target that gives the most problem, even when x64 works. Co-authored-by:
Martin Finkel <martin@videolabs.io>
-
Steve Lhomme authored
It's the latest (and last) version of this image.
-
Steve Lhomme authored
This reverts commit 7d45e431. On 3.0 we target older UWP versions where it's not available (19H1).
-
(cherry picked from commit 2edddb01) (edited) edited: - the 3.0 uses the other json parser which outputs the result differently
-
- Nov 25, 2024
-
-
Steve Lhomme authored
The build folder doesn't always correspond to the arch, for example it may contain ucrt. (cherry picked from commit f2afde1e) (edited) edited: - 3.0 doesn't build code from doc/ - 3.0 has less Windows targets
-
- Nov 24, 2024
-
-
Steve Lhomme authored
It's not supported with a Path before 3.6 [1]. [1] https://docs.python.org/3/library/os.path.html#os.path.join
-