Not work videooverlay in debian!

rasnaut rasnaut at gmail.com
Mon Jul 16 07:44:40 PDT 2012


Hi to All!
I need imaging xvimagesink in my window (QT Widget). So, I write:

#include <gst/video/videooverlay.h>

.....

geVideoOut = gst_element_factory_make("xvimagesink", "video out1");
g_assert(geVideoOut);

....

gst_video_overlay_set_window_handle(GST_VIDEO_OVERLAY(geVideoOut),
window_id);

And I have next errors:
-- undefined reference to `gst_video_overlay_get_type'
-- undefined reference to `gst_video_overlay_set_window_handle'

When I was searching solution, I saw that body of this function been in file
"videoverlay.c", but this file didn't install with
"gst-plugins-base-0.11.92", only header ("videoverlay.h") installed.
When I added "videoverlay.c" in my project, compiling completed, but
appeared another error:
-- GLib-GObject-WARNING **: cannot register existing type `GstVideoOverlay'

So what I do wrong?

I use last gstreamer version (11.92), programming in QT Creator, OS Debian 7
x64
I tried  install gstreamer use aptitude and tried install use 'hands'
(./configure + make + make install).

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Not-work-videooverlay-in-debian-tp4655621.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list