mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00

This adds support for building rpidistro version of VLC with hardware acceleration through MMAL. The version of VLC located in meta-openembedded/meta-multimedia/recipes-multimedia/vlc uses mainline VLC and doesn't give all the proper flags. The series of patches attached to commit gives necessarly vlc mmal flags. * https://code.videolan.org/videolan/vlc/-/issues/24617 * https://bugs.gentoo.org/723006 The build fails with errors such as "multiple definition of `pf_enable_graphic_buffers'" when omxil is enabled. The issue seems to be due to compiler flags. Adding -fcommon to both cflags and cxxflags yields a full compile. Signed-off-by: Vincent Davis Jr <vince@underview.tech>
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
From: Vincent Davis Jr <vince@underview.tech>
|
|
Date: Fri, 07 Jan 2022 07:10:47 PM CST
|
|
Subject: [PATCH] Fix numeric limits not a member
|
|
|
|
* Fixes bellow compiler issue:
|
|
../../git/modules/demux/adaptive/playlist/SegmentInformation.cpp:397:23: error: 'numeric_limits' is not a member of 'std'
|
|
397 | if(number == std::numeric_limits<uint64_t>::max())
|
|
|
|
Upstream-status: Pending
|
|
|
|
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
|
|
diff --git a/modules/demux/adaptive/playlist/SegmentInformation.cpp b/modules/demux/adaptive/playlist/SegmentInformation.cpp
|
|
index 344e155c7..8eeb05439 100644
|
|
--- a/modules/demux/adaptive/playlist/SegmentInformation.cpp
|
|
+++ b/modules/demux/adaptive/playlist/SegmentInformation.cpp
|
|
@@ -34,6 +34,7 @@
|
|
|
|
#include <algorithm>
|
|
#include <cassert>
|
|
+#include <limits>
|
|
|
|
using namespace adaptive::playlist;
|
|
|
|
diff --git a/modules/demux/hls/playlist/Parser.cpp b/modules/demux/hls/playlist/Parser.cpp
|
|
index 67110e4cd..743969922 100644
|
|
--- a/modules/demux/hls/playlist/Parser.cpp
|
|
+++ b/modules/demux/hls/playlist/Parser.cpp
|
|
@@ -42,6 +42,7 @@
|
|
#include <map>
|
|
#include <cctype>
|
|
#include <algorithm>
|
|
+#include <limits>
|
|
|
|
using namespace adaptive;
|
|
using namespace adaptive::playlist;
|