GNOME Bugzilla – Bug 791445
glwindow/cocoa: Implement set_render_rectangle
Last modified: 2017-12-30 12:31:16 UTC
This is needed when glimagesink is combined with GstVideoOverlay.
Created attachment 365982 [details] [review] proposed patch
Created attachment 365983 [details] [review] proposed patch
Review of attachment 365983 [details] [review]: Only a nit. Otherwise looks fine. ::: gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m @@ +88,3 @@ GstGLWindowCB callback, gpointer data, GDestroyNotify destroy); +static gboolean gst_gl_window_cocoa_set_render_rectangle (GstGLWindow * + window, gint x, gint y, gint width, gint height); That is some weird formatting :D
Huh. Yeah, I should teach my emacs how to format Obj-C at some point :) Thanks for the review!
commit 5d35e1fa15744b48c406fffa98695478fc8c9969 (HEAD -> master, origin/master, origin/HEAD) Author: Philippe Normand <philn@igalia.com> Date: Tue Dec 26 13:23:11 2017 +0000 gl: cocoa: Implement set_render_rectangle Resize the internal NSView according to the provided render rectangle. https://bugzilla.gnome.org/show_bug.cgi?id=791445
I forgot to fix the definition of the function so I pushed a follow-up. Sorry about this :)