It's a great news! I shall look forward to preliminary AOO 4.2.0 builds to test new gstreamer-1.0 implementation.
-- Sergey On Fri, 2 Mar 2018 08:14:44 +0200 Damjan Jovanovic <dam...@apache.org> wrote: > I finally cracked it. The gstreamer pipeline gets created early, > during construction of the avmedia/source/gstreamer's Player object, > yet the window to play in is only created later, when > createPlayerWindow() is called. To use that window and thus embed > video into the document, we have to set that window's handle to the > GstVideoOverlay using gst_video_overlay_set_window_handle(), but by > then it's too late. Either the pipeline creation would have to be > deferred until createPlayerWindow(), when we know the window to use, > or we would have to switch windows with > gst_video_overlay_set_window_handle() a live pipeline. I've done the > latter and it works well. I don't know how it ever worked before, > maybe in gstreamer 0.1 the "prepare-window-handle" event is generated > during createPlayerWindow() but in 1.0 it isn't. > > My changes have been committed to SVN trunk in revision 1825700. > > Torokhov, Jose, Peter: thank you for all your support. Please test and > report any problems. > > Damjan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org