Update definitions and ignores for core/base 0.10.25. Fixes #587432

This commit is contained in:
Edward Hervey 2009-09-16 16:23:27 +02:00
parent 21ba9b25a5
commit 5d90f1d431
8 changed files with 109 additions and 0 deletions

View file

@ -174,6 +174,13 @@ then
IGNORE_GST_0_10_24=""
fi
if test $GST_MINOR_VERSION -lt "25"
then
IGNORE_GST_0_10_25="gst-0.10.25.ignore"
else
IGNORE_GST_0_10_25=""
fi
dnl plugins base
if test $GST_PB_MINOR_VERSION -lt "14"
then
@ -210,6 +217,14 @@ then
else
IGNORE_GST_PB_0_10_23=""
fi
if test $GST_PB_MINOR_VERSION -lt "25"
then
IGNORE_GST_PB_0_10_25="gst-pb-0.10.25.ignore"
else
IGNORE_GST_PB_0_10_25=""
AC_DEFINE_UNQUOTED(HAVE_STREAM_VOLUME_INTERFACE, 1, [We can use the streamvolume interface])
fi
else
IGNORE_GST_0_10_13=""
IGNORE_GST_0_10_14=""
@ -221,16 +236,19 @@ else
IGNORE_GST_0_10_22=""
IGNORE_GST_0_10_23=""
IGNORE_GST_0_10_24=""
IGNORE_GST_0_10_25=""
IGNORE_GST_PB_0_10_14=""
IGNORE_GST_PB_0_10_16=""
IGNORE_GST_PB_0_10_18=""
IGNORE_GST_PB_0_10_23=""
IGNORE_GST_PB_0_10_25=""
AC_DEFINE_UNQUOTED(HAVE_PLUGINS_INSTALL, 1, [We can use the plugins-install methods])
AC_DEFINE_UNQUOTED(HAVE_GST_AUDIO, 1, [We can use the gst-audio library])
AC_DEFINE_UNQUOTED(HAVE_GST_VIDEO, 1, [We can use the gst-video library])
AC_DEFINE_UNQUOTED(HAVE_GST_TAG, 1, [We can use the gst-tag library])
fi
AC_DEFINE_UNQUOTED(HAVE_VIDEO_ORIENTATION_INTERFACE, 1, [We can use the videoorientation interface])
AC_DEFINE_UNQUOTED(HAVE_STREAM_VOLUME_INTERFACE, 1, [We can use the streamvolume interface])
AC_SUBST(IGNORE_GST_0_10_13)
AC_SUBST(IGNORE_GST_0_10_14)
AC_SUBST(IGNORE_GST_0_10_15)
@ -241,10 +259,12 @@ AC_SUBST(IGNORE_GST_0_10_21)
AC_SUBST(IGNORE_GST_0_10_22)
AC_SUBST(IGNORE_GST_0_10_23)
AC_SUBST(IGNORE_GST_0_10_24)
AC_SUBST(IGNORE_GST_0_10_25)
AC_SUBST(IGNORE_GST_PB_0_10_14)
AC_SUBST(IGNORE_GST_PB_0_10_16)
AC_SUBST(IGNORE_GST_PB_0_10_18)
AC_SUBST(IGNORE_GST_PB_0_10_23)
AC_SUBST(IGNORE_GST_PB_0_10_25)
AC_SUBST(HAVE_VIDEO_ORIENTATION)
AC_SUBST(HAVE_PLUGINS_INSTALL)
AM_CONDITIONAL(HAVE_GST_AUDIO, $HAVE_GST_AUDIO)

View file

@ -35,10 +35,12 @@ versioned_overrides = \
gst-0.10.22.ignore \
gst-0.10.23.ignore \
gst-0.10.24.ignore \
gst-0.10.25.ignore \
gst-pb-0.10.14.ignore \
gst-pb-0.10.16.ignore \
gst-pb-0.10.18.ignore \
gst-pb-0.10.23.ignore \
gst-pb-0.10.25.ignore \
gst-disable-loadsave.ignore
INCLUDES = $(PYTHON_INCLUDES)

4
gst/gst-0.10.25.ignore Normal file
View file

@ -0,0 +1,4 @@
%%
ignore
gst_caps_can_intersect
%%

View file

@ -0,0 +1,9 @@
%%
ignore
%%
ignore-glob
gst_stream_volume_*
%%
ignore-type
GstStreamVolumeFormat
%%

View file

@ -841,6 +841,15 @@
)
)
(define-method can_intersect
(of-object "GstCaps")
(c-name "gst_caps_can_intersect")
(return-type "gboolean")
(parameters
'("const-GstCaps*" "caps2")
)
)
(define-method intersect
(of-object "GstCaps")
(c-name "gst_caps_intersect")

View file

@ -14,5 +14,7 @@ include
@IGNORE_GST_0_10_23@
@IGNORE_GST_PB_0_10_23@
@IGNORE_GST_0_10_24@
@IGNORE_GST_0_10_25@
@IGNORE_GST_PB_0_10_25@
@IGNORE_GST_LOADSAVE@
%%

View file

@ -165,6 +165,8 @@
'("no-record" "GST_MIXER_TRACK_NO_RECORD")
'("no-mute" "GST_MIXER_TRACK_NO_MUTE")
'("whitelist" "GST_MIXER_TRACK_WHITELIST")
'("readonly" "GST_MIXER_TRACK_READONLY")
'("writeonly" "GST_MIXER_TRACK_WRITEONLY")
)
)
@ -229,6 +231,17 @@
)
)
(define-enum StreamVolumeFormat
(in-module "Gst")
(c-name "GstStreamVolumeFormat")
(gtype-id "GST_TYPE_STREAM_VOLUME_FORMAT")
(values
'("linear" "GST_STREAM_VOLUME_FORMAT_LINEAR")
'("cubic" "GST_STREAM_VOLUME_FORMAT_CUBIC")
'("db" "GST_STREAM_VOLUME_FORMAT_DB")
)
)
(define-flags TunerChannelFlags
(in-module "Gst")
(c-name "GstTunerChannelFlags")
@ -903,6 +916,53 @@
)
;; From streamvolume.h
(define-method set_volume
(of-object "GstStreamVolume")
(c-name "gst_stream_volume_set_volume")
(return-type "none")
(parameters
'("GstStreamVolumeFormat" "format")
'("gdouble" "val")
)
)
(define-method get_volume
(of-object "GstStreamVolume")
(c-name "gst_stream_volume_get_volume")
(return-type "gdouble")
(parameters
'("GstStreamVolumeFormat" "format")
)
)
(define-method set_mute
(of-object "GstStreamVolume")
(c-name "gst_stream_volume_set_mute")
(return-type "none")
(parameters
'("gboolean" "mute")
)
)
(define-method get_mute
(of-object "GstStreamVolume")
(c-name "gst_stream_volume_get_mute")
(return-type "gboolean")
)
(define-function stream_volume_convert_volume
(c-name "gst_stream_volume_convert_volume")
(return-type "gdouble")
(parameters
'("GstStreamVolumeFormat" "from")
'("GstStreamVolumeFormat" "to")
'("gdouble" "val")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/tuner/tuner.h
(define-function gst_tuner_get_type

View file

@ -39,6 +39,9 @@ headers
#ifdef HAVE_VIDEO_ORIENTATION_INTERFACE
#include <gst/interfaces/videoorientation.h>
#endif
#ifdef HAVE_STREAM_VOLUME_INTERFACE
#include <gst/interfaces/streamvolume.h>
#endif
%%
modulename gst.interfaces