[Bug 784599] kmssink: support videooverlay interface

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 12 01:30:23 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=784599

--- Comment #12 from Haihua Hu <jared.hu at nxp.com> ---
(In reply to Nicolas Dufresne (stormer) from comment #11)
> Review of attachment 355313 [details] [review]:
> 
> Just a note, set window handle is not implement, what happens if we call
> this ?

DRM can work without window system. As below code show that if we call set
window handle, then noting will happen. User should do window integrate in
application. e.g, resize the window and get the window size and position and
set them to kmssink.

335 void                                                                        
336 gst_video_overlay_set_window_handle (GstVideoOverlay * overlay, guintptr
handle)                                                                         
337 {                                                                           
338   GstVideoOverlayInterface *iface;                                          
339                                                                             
340   g_return_if_fail (overlay != NULL);                                       
341   g_return_if_fail (GST_IS_VIDEO_OVERLAY (overlay));                        
342                                                                             
343   iface = GST_VIDEO_OVERLAY_GET_INTERFACE (overlay);                        
344                                                                             
345   if (iface->set_window_handle) {                                           
346     iface->set_window_handle (overlay, handle);                             
347   }                                                                         
348 }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list