gstreamermm C++ vs C calls
Russel Winder
russel at winder.org.uk
Tue Sep 12 13:47:30 UTC 2017
I have the C code:
g_object_set(G_OBJECT(play_bin->gobj()), "video-sink", video_element,
nullptr);
which does the right thing gtkmm wise in that the video widget associated with
the video_element is embedded in the right GTK container. However if instead I
use the C++:
play_bin->set_property("video-sink", video_element);
a new video window is created in addition to the one that should contain it.
I suspect I am missing something very simple.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170912/f245ac30/attachment.sig>
More information about the gstreamer-devel
mailing list