pkgsrc/multimedia/gst-plugins0.8/patches/patch-ac
jmmv 242def5068 Rename gstreamer, gst-plugins and gst-plugins-* to gstreamer0.8,
gst-plugins0.8 and gst-plugins0.8-* respectively.  This is to leave room
for gstreamer 0.10 (which will be added with versioned names too, to avoid
annoying renames in the future).

While here, do some changes:
- Make gstreamer0.8 use the alternatives system to provide the unversioned
  gst-* utilities.
- Rename all internal variables to have 0.8 in them to make it clear which
  package they belong to.
2006-01-18 12:44:00 +00:00

23 lines
709 B
Text

$NetBSD: patch-ac,v 1.1 2006/01/18 12:44:03 jmmv Exp $
--- sys/ximage/ximagesrc.c.orig 2005-08-29 13:50:51.000000000 +0200
+++ sys/ximage/ximagesrc.c
@@ -93,6 +93,9 @@ struct _GstXimagesrc
gboolean have_xfixes;
gboolean have_xdamage;
gboolean show_pointer;
+#ifdef HAVE_XFIXES
+ int fixes_event_base;
+#endif
#ifdef HAVE_XDAMAGE
Damage damage;
int damage_event_base;
@@ -440,7 +443,7 @@ gst_ximagesrc_change_state (GstElement *
{
int error_base;
- if (XFixesQueryExtension (s->xcontext->disp, &s->damage_event_base,
+ if (XFixesQueryExtension (s->xcontext->disp, &s->fixes_event_base,
&error_base))
s->have_xfixes = TRUE;
}