RESOLVED FIXED 46790
GStreamer PlatformVideoWindow needs an API to prepare the widget before applying the overlay
https://bugs.webkit.org/show_bug.cgi?id=46790
Summary GStreamer PlatformVideoWindow needs an API to prepare the widget before apply...
Philippe Normand
Reported 2010-09-29 01:23:07 PDT
On Mac OSX, the osxvideosink sends a message on the GStreamer bus which includes a pointer to its internal NSView. Application-side needs to retrieve and use it before calling the XOverlay set_window_handle function. So I propose to add a simple "prepare(GstMessage*)" method in PlatformVideoWindow for this purpose. On Gtk and EFL this would be an empty implementation.
Attachments
proposed patch (4.49 KB, patch)
2010-09-29 04:07 PDT, Philippe Normand
mrobinson: review+
Philippe Normand
Comment 1 2010-09-29 04:07:42 PDT
Created attachment 69176 [details] proposed patch
Martin Robinson
Comment 2 2010-10-02 11:23:20 PDT
Comment on attachment 69176 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=69176&action=review I'm not sure what an appropriate name for this method should be (perhaps prepareForOverlay?), but I think that prepare is not descriptive enough. > WebCore/platform/graphics/gstreamer/GStreamerGWorld.cpp:198 > + m_videoWindow->prepare(message); The name prepare(...) seems a little ambiguous. I would prefer something a bit more descriptive. > WebCore/platform/graphics/gstreamer/PlatformVideoWindowEfl.cpp:40 > + notImplemented(); An empty implementation is different than notImplemented(). This should just be empty. > WebCore/platform/graphics/gstreamer/PlatformVideoWindowGtk.cpp:69 > + notImplemented(); Same here.
Eric Seidel (no email)
Comment 3 2010-10-13 12:27:39 PDT
Attachment 69176 [details] was posted by a committer and has review+, assigning to Philippe Normand for commit.
Philippe Normand
Comment 4 2010-10-19 05:17:23 PDT
Note You need to log in before you can comment on or make changes to this bug.