diff -Nru qtmultimedia-opensource-src-5.15.2/debian/changelog qtmultimedia-opensource-src-5.15.2/debian/changelog --- qtmultimedia-opensource-src-5.15.2/debian/changelog 2020-12-11 08:31:59.000000000 +0000 +++ qtmultimedia-opensource-src-5.15.2/debian/changelog 2021-02-20 17:37:17.000000000 +0000 @@ -1,3 +1,11 @@ +qtmultimedia-opensource-src (5.15.2-3) unstable; urgency=medium + + * Add a patch to increase buffer sizes in tst_QVideoFrame::image() test, + to fix segmentation fault that sometimes happens (closes: #982973). + * Update debian/watch: use format 4, and track only 5.15.x releases. + + -- Dmitry Shachnev Sat, 20 Feb 2021 20:37:17 +0300 + qtmultimedia-opensource-src (5.15.2-2) unstable; urgency=medium * Bump Standards-Version to 4.5.1, no changes needed. diff -Nru qtmultimedia-opensource-src-5.15.2/debian/patches/series qtmultimedia-opensource-src-5.15.2/debian/patches/series --- qtmultimedia-opensource-src-5.15.2/debian/patches/series 2020-12-11 08:31:59.000000000 +0000 +++ qtmultimedia-opensource-src-5.15.2/debian/patches/series 2021-02-20 17:37:17.000000000 +0000 @@ -1 +1,2 @@ rpath_nonlinux.diff +test_buffer_size.diff diff -Nru qtmultimedia-opensource-src-5.15.2/debian/patches/test_buffer_size.diff qtmultimedia-opensource-src-5.15.2/debian/patches/test_buffer_size.diff --- qtmultimedia-opensource-src-5.15.2/debian/patches/test_buffer_size.diff 1970-01-01 00:00:00.000000000 +0000 +++ qtmultimedia-opensource-src-5.15.2/debian/patches/test_buffer_size.diff 2021-02-20 17:37:17.000000000 +0000 @@ -0,0 +1,41 @@ +Description: increase buffer sizes used in tst_QVideoFrame::image() tests +Author: Dmitry Shachnev +Forwarded: https://codereview.qt-project.org/c/qt/qtmultimedia/+/335592 +Last-Update: 2021-02-20 + +--- a/tests/auto/unit/qvideoframe/tst_qvideoframe.cpp ++++ b/tests/auto/unit/qvideoframe/tst_qvideoframe.cpp +@@ -1244,14 +1244,14 @@ void tst_QVideoFrame::image_data() + QTest::newRow("64x64 YUV420P") + << QSize(64, 64) + << QVideoFrame::Format_YUV420P +- << 13288 ++ << 18432 + << 256 + << QImage::Format_ARGB32; + + QTest::newRow("64x64 YV12") + << QSize(64, 64) + << QVideoFrame::Format_YV12 +- << 16384 ++ << 18432 + << 256 + << QImage::Format_ARGB32; + +@@ -1272,14 +1272,14 @@ void tst_QVideoFrame::image_data() + QTest::newRow("64x64 NV12") + << QSize(64, 64) + << QVideoFrame::Format_NV12 +- << 16384 ++ << 24576 + << 256 + << QImage::Format_ARGB32; + + QTest::newRow("64x64 NV21") + << QSize(64, 64) + << QVideoFrame::Format_NV21 +- << 16384 ++ << 24576 + << 256 + << QImage::Format_ARGB32; + #endif diff -Nru qtmultimedia-opensource-src-5.15.2/debian/watch qtmultimedia-opensource-src-5.15.2/debian/watch --- qtmultimedia-opensource-src-5.15.2/debian/watch 2020-12-11 08:31:59.000000000 +0000 +++ qtmultimedia-opensource-src-5.15.2/debian/watch 2021-02-20 17:37:17.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 -https://download.qt.io/official_releases/qt/([\d\.]*)/([\d\.]*)/submodules/qtmultimedia-everywhere-src-([^-]*)\.tar\.xz +version=4 +https://download.qt.io/archive/qt/5.15/([\d\.]*)/submodules/qtmultimedia-everywhere-src-([^-]*)\.tar\.xz