summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas (at) apestaart (dot) org>2009-04-10 15:43:35 +0200
committerThomas Vander Stichele <thomas (at) apestaart (dot) org>2009-04-10 15:43:35 +0200
commita397586060981d7c4cbad2c3c288039bb1b42547 (patch)
tree44232f9e49f9cd094de952fd63b39c92b295f539
parentf99e67aa24878d26dbd7f494f310bb466c5bd1cd (diff)
parentb25600a8f7de3e256f7cd07bfe26a6074bcdc58a (diff)
Merge branch 'master' of ssh://thomasvs@git.freedesktop.org/git/gstreamer/gst-python into bz-577735
m---------common0
-rw-r--r--gst/gst.defs4
-rw-r--r--gst/gst.override6
-rw-r--r--gst/gstobject.override4
-rw-r--r--pygst.py.in25
5 files changed, 24 insertions, 15 deletions
diff --git a/common b/common
-Subproject f8b3d9167a75c5acb514d43173d8d29d413a6e9
+Subproject b3941ea131db2d85d339a6bcf500a58bd63df0d
diff --git a/gst/gst.defs b/gst/gst.defs
index 2cd5283..9c323d6 100644
--- a/gst/gst.defs
+++ b/gst/gst.defs
@@ -6257,8 +6257,8 @@
)
)
-(define-function tag_get_type
- (c-name "gst_tag_get_type")
+(define-function tag_get_tag_type
+ (c-name "gst_tag_get_tag_type")
(return-type "GType")
(parameters
'("const-gchar*" "tag")
diff --git a/gst/gst.override b/gst/gst.override
index 0da60a2..70b3fa2 100644
--- a/gst/gst.override
+++ b/gst/gst.override
@@ -241,6 +241,12 @@ pygst_debug_log (PyObject *pyobject, PyObject *string, GstDebugLevel level,
return Py_None;
}
+GType
+gst_tag_get_tag_type (const gchar * tag)
+{
+ return gst_tag_get_type (tag);
+}
+
%%
include
gstbin.override
diff --git a/gst/gstobject.override b/gst/gstobject.override
index 0af2288..ec8e78c 100644
--- a/gst/gstobject.override
+++ b/gst/gstobject.override
@@ -47,7 +47,9 @@ _wrap_gst_object_tp_repr (PyObject * self)
repr = g_strdup_printf ("<%s object (%s) at 0x%lx>",
self->ob_type->tp_name,
- GST_OBJECT_NAME (object) ? GST_OBJECT_NAME (object) : "unnamed",
+ object ? (
+ GST_OBJECT_NAME (object) ? GST_OBJECT_NAME (object) : "unnamed"
+ ) : "(null)",
(long) self);
ret = PyString_FromString (repr);
g_free (repr);
diff --git a/pygst.py.in b/pygst.py.in
index 36a93ee..a55a552 100644
--- a/pygst.py.in
+++ b/pygst.py.in
@@ -5,21 +5,22 @@
#
# pygst.py: pygst version selection code.
#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
#
-# This program is distributed in the hope that it will be useful,
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Library General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Library General Public License for more details.
+#
+# You should have received a copy of the GNU Library General Public
+# License along with this library; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-# USA
-
# This allows parallel installation of gst-python
#
# In order to have backward compatibility