mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 14:36:41 +00:00
4e04dc11c8
Original commit message from CVS: * configure.ac: * gst/Makefile.am: * gst/tag.defs: * gst/tag.override: * gst/tagmodule.c: (inittag): Wrap gst-plugins-base's tag helper library. Partially fixes #565762
64 lines
1.8 KiB
C
64 lines
1.8 KiB
C
/* -*- Mode: C; c-basic-offset: 4 -*- */
|
|
/* gst-python
|
|
* Copyright (C) 2008 <edward.hervey@collabora.co.uk>
|
|
*
|
|
* 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
|
|
* 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.
|
|
*/
|
|
%%
|
|
headers
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
# include <config.h>
|
|
#endif
|
|
|
|
#define NO_IMPORT_PYGOBJECT
|
|
#include "common.h"
|
|
|
|
#include <gst/gst.h>
|
|
|
|
#include <gst/tag/tag.h>
|
|
#include <gst/tag/gsttagdemux.h>
|
|
#include "pygstminiobject.h"
|
|
GST_DEBUG_CATEGORY_EXTERN (pygst_debug);
|
|
#define GST_CAT_DEFAULT pygst_debug
|
|
|
|
/* Boonky define that allows for backwards compatibility with Python 2.4 */
|
|
#if PY_VERSION_HEX < 0x02050000
|
|
#define Py_ssize_t int
|
|
#endif
|
|
|
|
%%
|
|
modulename gst.tag
|
|
%%
|
|
import gobject.GObject as PyGObject_Type
|
|
import gst.Object as PyGstObject_Type
|
|
import gst.Structure as PyGstStructure_Type
|
|
import gst.Element as PyGstElement_Type
|
|
import gst.Pad as PyGstPad_Type
|
|
import gst.Buffer as PyGstBuffer_Type
|
|
import gst.Message as PyGstMessage_Type
|
|
import gst.SystemClock as PyGstSystemClock_Type
|
|
import gst.BaseTransform as PyGstBaseTransform_Type
|
|
import gst.BaseSink as PyGstBaseSink_Type
|
|
%%
|
|
include
|
|
gstversion.override
|
|
%%
|
|
ignore-glob
|
|
_*
|
|
*init
|
|
*_free
|
|
*_get_type
|