From f4bc510536aeddb78fde7d13b1b9bfbf4650db08 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 10 Feb 2020 13:27:37 +0100 Subject: [PATCH] libarmbox/video.cpp: add missing defines VIDEO_GET_FRAME_RATE was dropped in 4.19 kernel --- libarmbox/video.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libarmbox/video.cpp b/libarmbox/video.cpp index 62cd333..76fdb2a 100644 --- a/libarmbox/video.cpp +++ b/libarmbox/video.cpp @@ -65,6 +65,13 @@ extern "C" _r; \ }) +#ifndef VIDEO_GET_SIZE +#define VIDEO_GET_SIZE _IOR('o', 55, video_size_t) +#endif +#ifndef VIDEO_GET_FRAME_RATE +#define VIDEO_GET_FRAME_RATE _IOR('o', 56, unsigned int) +#endif + cVideo * videoDecoder = NULL; cVideo * pipDecoder = NULL;