[Bug 665430] New: The example code for using gstxoverlay in gtk+ has typos
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Dec 2 12:26:50 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=665430
GStreamer | documentation | 0.10.x
Summary: The example code for using gstxoverlay in gtk+ has
typos
Classification: Platform
Product: GStreamer
Version: 0.10.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: documentation
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: mindbane at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
The documentation found at:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstxoverlay.html
I ran into some bugs when attempting to use the example code for gtk+
missing an include
#include <gst/interfaces/xoverlay.h>
for gtk+-3 line 42 should read
video_window_xid = GDK_WINDOW_XID(gtk_widget_get_window(widget));
typo on line 42 for older versions of gtk+ (didn't test this one but pretty
confident)
video_window_xid = GDK_WINDOW_XID (widget->window);
typo on line 70
gtk_widget_realize (video_window);
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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