mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
Merge branch 'master' of ssh://thomasvs@git.freedesktop.org/git/gstreamer/gst-python into bz-577735
This commit is contained in:
commit
a397586060
5 changed files with 25 additions and 16 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit f8b3d9167a75c5acb514d43173d8d29d413a6e9c
|
||||
Subproject commit b3941ea131db2d85d339a6bcf500a58bd63df0d5
|
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
25
pygst.py.in
25
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
|
||||
|
|
Loading…
Reference in a new issue