File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 66#include " helper/graphic_utils.hpp"
77#include " video_renderer.hpp"
88
9+ #if defined(__GNUC__)
10+ #pragma GCC diagnostic push
11+ #pragma GCC diagnostic ignored "-Wold-style-cast"
12+ #endif
13+
914extern " C" {
15+
1016#include < libavcodec/avcodec.h>
1117#include < libavformat/avformat.h>
1218#include < libavutil/avutil.h>
1319#include < libavutil/log.h>
1420#include < libswscale/swscale.h>
1521}
1622
23+
1724#include < csignal>
1825#include < future>
1926#include < sys/wait.h>
@@ -421,6 +428,10 @@ namespace {
421428} // namespace
422429
423430
431+ #if defined(__GNUC__)
432+ #pragma GCC diagnostic pop
433+ #endif
434+
424435void VideoRendererBackend::is_supported_async (const std::function<void (bool )>& callback) {
425436 callback (true );
426437}
You can’t perform that action at this time.
0 commit comments