From 14ac43388e8d6077e288bf66c436748e2f3540be Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 10 Feb 2020 21:12:43 +0100 Subject: [PATCH] libarmbox/video.cpp: add missing defines VIDEO_GET_FRAME_RATE was dropped in 4.19 kernel Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/c72e3492a41c9de489d2453fe199797ed2b7974a Author: Markus Volk Date: 2020-02-10 (Mon, 10 Feb 2020) ------------------ This commit was generated by Migit --- 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;