From f5df0d289d1a06b325b70f9e1c2083ce6080d98a Mon Sep 17 00:00:00 2001 From: Mikhail Burakov Date: Sun, 22 Oct 2023 08:15:45 +0200 Subject: Add support for cropping and scaling of decoded frames --- window.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'window.h') diff --git a/window.h b/window.h index 7fa684f..c2d074b 100644 --- a/window.h +++ b/window.h @@ -40,7 +40,8 @@ int WindowGetEventsFd(const struct Window* window); bool WindowProcessEvents(const struct Window* window); bool WindowAssignFrames(struct Window* window, size_t nframes, const struct Frame* frames); -bool WindowShowFrame(struct Window* window, size_t index); +bool WindowShowFrame(struct Window* window, size_t index, int x, int y, + int width, int height); void WindowDestroy(struct Window* window); struct Overlay* OverlayCreate(const struct Window* window, int x, int y, -- cgit v1.2.3