[gstreamermm] Fix the build with the latest GStreamer repositories.
- From: José Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] Fix the build with the latest GStreamer repositories.
- Date: Thu, 21 Oct 2010 05:32:35 +0000 (UTC)
commit e1e15505a911d202365c9820701a0f8ed58df1ab
Author: José Alburquerque <jaalburqu svn gnome org>
Date: Thu Oct 21 01:27:24 2010 -0400
Fix the build with the latest GStreamer repositories.
* gstreamer/src/gst_enums.defs.patch: Fixed the enums defs patch file
with the latest GStreamer sources.
* gstreamer/src/gst_enums.defs: Regenerated (specifically to get the
theoraenc plugin's GstTheoraEncMultipassMode enum).
* gstreamer/src/gst_signals.defs: Regenerated to get the new
properties and signals of plugins.
* gstreamer/src/bufferlist.hg (BufferList::n_groups): Wrote out the
docs because, as the TODO comment says, the C function is not
recognized by h2def.py and thus the docs is not generated.
ChangeLog | 15 ++
gstreamer/src/bufferlist.hg | 7 +-
gstreamer/src/gst_enums.defs | 188 +++++++++++++++++++++----
gstreamer/src/gst_enums.defs.patch | 53 ++++++--
gstreamer/src/gst_signals.defs | 269 +++++++++++++++++++++++++++++++++++-
5 files changed, 488 insertions(+), 44 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 662dd2f..d52900c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,20 @@
2010-10-21 José Alburquerque <jaalburqu svn gnome org>
+ Fix the build with the latest GStreamer repositories.
+
+ * gstreamer/src/gst_enums.defs.patch: Fixed the enums defs patch file
+ with the latest GStreamer sources.
+ * gstreamer/src/gst_enums.defs: Regenerated (specifically to get the
+ theoraenc plugin's GstTheoraEncMultipassMode enum).
+ * gstreamer/src/gst_signals.defs: Regenerated to get the new
+ properties and signals of plugins.
+
+ * gstreamer/src/bufferlist.hg (BufferList::n_groups): Wrote out the
+ docs because, as the TODO comment says, the C function is not
+ recognized by h2def.py and thus the docs is not generated.
+
+2010-10-21 José Alburquerque <jaalburqu svn gnome org>
+
BaseTransform: Wrote out bool vfuncs to avoid execution errors.
* gstreamer/src/basetransform.ccg:
diff --git a/gstreamer/src/bufferlist.hg b/gstreamer/src/bufferlist.hg
index fb5e5d0..32570cc 100644
--- a/gstreamer/src/bufferlist.hg
+++ b/gstreamer/src/bufferlist.hg
@@ -93,7 +93,12 @@ public:
//TODO: h2def.py does not recognize the C function declaration in the
//header.
- _WRAP_METHOD_DOCS_ONLY(gst_buffer_list_n_groups)
+ /** Returns the number of groups in list.
+ *
+ * @return The number of groups in the buffer list.
+ *
+ * Since 0.10.24
+ */
guint n_groups() const;
/** Call @a slot for each buffer in @a list.
diff --git a/gstreamer/src/gst_enums.defs b/gstreamer/src/gst_enums.defs
index 2d1fa08..13fdd70 100644
--- a/gstreamer/src/gst_enums.defs
+++ b/gstreamer/src/gst_enums.defs
@@ -299,6 +299,7 @@
;; GST_ELEMENT_LOCKED_STATE = (GST_OBJECT_FLAG_LAST << 0),
;; GST_ELEMENT_IS_SINK = (GST_OBJECT_FLAG_LAST << 1),
;; GST_ELEMENT_UNPARENTING = (GST_OBJECT_FLAG_LAST << 2),
+;; GST_ELEMENT_IS_SOURCE = (GST_OBJECT_FLAG_LAST << 3),
;; /* padding */
;; GST_ELEMENT_FLAG_LAST = (GST_OBJECT_FLAG_LAST << 16)
;; } GstElementFlags;
@@ -310,6 +311,7 @@
'("locked-state" "GST_ELEMENT_LOCKED_STATE" "(GST_OBJECT_FLAG_LAST << 0)")
'("is-sink" "GST_ELEMENT_IS_SINK" "(GST_OBJECT_FLAG_LAST << 1)")
'("unparenting" "GST_ELEMENT_UNPARENTING" "(GST_OBJECT_FLAG_LAST << 2)")
+ '("is-source" "GST_ELEMENT_IS_SOURCE" "(GST_OBJECT_FLAG_LAST << 3)")
'("flag-last" "GST_ELEMENT_FLAG_LAST" "(GST_OBJECT_FLAG_LAST << 16)")
)
)
@@ -675,6 +677,7 @@
;; GST_LEVEL_DEBUG,
;; GST_LEVEL_LOG,
;; GST_LEVEL_FIXME = 6,
+;; GST_LEVEL_TRACE = 7,
;; /* add more */
;; GST_LEVEL_MEMDUMP = 9,
;; /* add more */
@@ -692,6 +695,7 @@
'("debug" "GST_LEVEL_DEBUG" "4")
'("log" "GST_LEVEL_LOG" "5")
'("fixme" "GST_LEVEL_FIXME" "6")
+ '("trace" "GST_LEVEL_TRACE" "7")
'("memdump" "GST_LEVEL_MEMDUMP" "9")
'("count" "GST_LEVEL_COUNT" "10")
)
@@ -815,6 +819,7 @@
;; GST_MESSAGE_ASYNC_DONE = (1 << 21),
;; GST_MESSAGE_REQUEST_STATE = (1 << 22),
;; GST_MESSAGE_STEP_START = (1 << 23),
+;; GST_MESSAGE_QOS = (1 << 24),
;; GST_MESSAGE_ANY = ~0
;; } GstMessageType;
@@ -847,6 +852,7 @@
'("async-done" "GST_MESSAGE_ASYNC_DONE" "(1 << 21)")
'("request-state" "GST_MESSAGE_REQUEST_STATE" "(1 << 22)")
'("step-start" "GST_MESSAGE_STEP_START" "(1 << 23)")
+ '("qos" "GST_MESSAGE_QOS" "(1 << 24)")
'("any" "GST_MESSAGE_ANY" "0x0")
)
)
@@ -962,6 +968,8 @@
;; Original typedef:
;; typedef enum {
;; /* custom success starts here */
+;; GST_FLOW_CUSTOM_SUCCESS_2 = 102,
+;; GST_FLOW_CUSTOM_SUCCESS_1 = 101,
;; GST_FLOW_CUSTOM_SUCCESS = 100,
;;
;; /* core predefined */
@@ -977,13 +985,17 @@
;; GST_FLOW_NOT_SUPPORTED = -6,
;;
;; /* custom error starts here */
-;; GST_FLOW_CUSTOM_ERROR = -100
+;; GST_FLOW_CUSTOM_ERROR = -100,
+;; GST_FLOW_CUSTOM_ERROR_1 = -101,
+;; GST_FLOW_CUSTOM_ERROR_2 = -102
;; } GstFlowReturn;
(define-enum-extended FlowReturn
(in-module "Gst")
(c-name "GstFlowReturn")
(values
+ '("custom-success-2" "GST_FLOW_CUSTOM_SUCCESS_2" "102")
+ '("custom-success-1" "GST_FLOW_CUSTOM_SUCCESS_1" "101")
'("custom-success" "GST_FLOW_CUSTOM_SUCCESS" "100")
'("resend" "GST_FLOW_RESEND" "1")
'("ok" "GST_FLOW_OK" "0")
@@ -994,6 +1006,27 @@
'("error" "GST_FLOW_ERROR" "-5")
'("not-supported" "GST_FLOW_NOT_SUPPORTED" "-6")
'("custom-error" "GST_FLOW_CUSTOM_ERROR" "-100")
+ '("custom-error-1" "GST_FLOW_CUSTOM_ERROR_1" "-101")
+ '("custom-error-2" "GST_FLOW_CUSTOM_ERROR_2" "-102")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; GST_PAD_LINK_CHECK_NOTHING = 0,
+;; GST_PAD_LINK_CHECK_HIERARCHY = 1 << 0,
+;; GST_PAD_LINK_CHECK_TEMPLATE_CAPS = 1 << 1,
+;; GST_PAD_LINK_CHECK_CAPS = 1 << 2
+;; } GstPadLinkCheck;
+
+(define-flags-extended PadLinkCheck
+ (in-module "Gst")
+ (c-name "GstPadLinkCheck")
+ (values
+ '("nothing" "GST_PAD_LINK_CHECK_NOTHING" "0x0")
+ '("hierarchy" "GST_PAD_LINK_CHECK_HIERARCHY" "1 << 0")
+ '("template-caps" "GST_PAD_LINK_CHECK_TEMPLATE_CAPS" "1 << 1")
+ '("caps" "GST_PAD_LINK_CHECK_CAPS" "1 << 2")
)
)
@@ -1326,8 +1359,16 @@
;; GST_QUARK_EOS = 90,
;; GST_QUARK_EVENT_SINK_MESSAGE = 91,
;; GST_QUARK_MESSAGE = 92,
+;; GST_QUARK_MESSAGE_QOS = 93,
+;; GST_QUARK_RUNNING_TIME = 94,
+;; GST_QUARK_STREAM_TIME = 95,
+;; GST_QUARK_JITTER = 96,
+;; GST_QUARK_QUALITY = 97,
+;; GST_QUARK_PROCESSED = 98,
+;; GST_QUARK_DROPPED = 99,
+;; GST_QUARK_BUFFERING_RANGES = 100,
;;
-;; GST_QUARK_MAX = 93
+;; GST_QUARK_MAX = 101
;; } GstQuarkId;
(define-enum-extended QuarkId
@@ -1427,7 +1468,15 @@
'("eos" "GST_QUARK_EOS" "90")
'("event-sink-message" "GST_QUARK_EVENT_SINK_MESSAGE" "91")
'("message" "GST_QUARK_MESSAGE" "92")
- '("max" "GST_QUARK_MAX" "93")
+ '("message-qos" "GST_QUARK_MESSAGE_QOS" "93")
+ '("running-time" "GST_QUARK_RUNNING_TIME" "94")
+ '("stream-time" "GST_QUARK_STREAM_TIME" "95")
+ '("jitter" "GST_QUARK_JITTER" "96")
+ '("quality" "GST_QUARK_QUALITY" "97")
+ '("processed" "GST_QUARK_PROCESSED" "98")
+ '("dropped" "GST_QUARK_DROPPED" "99")
+ '("buffering-ranges" "GST_QUARK_BUFFERING_RANGES" "100")
+ '("max" "GST_QUARK_MAX" "101")
)
)
@@ -3419,6 +3468,31 @@
)
)
+;; From gstdiscoverer.h
+
+;; Original typedef:
+;; typedef enum {
+;; GST_DISCOVERER_OK = 0,
+;; GST_DISCOVERER_URI_INVALID = 1,
+;; GST_DISCOVERER_ERROR = 2,
+;; GST_DISCOVERER_TIMEOUT = 3,
+;; GST_DISCOVERER_BUSY = 4,
+;; GST_DISCOVERER_MISSING_PLUGINS = 5
+;; } GstDiscovererResult;
+
+(define-enum-extended DiscovererResult
+ (in-module "Gst")
+ (c-name "GstDiscovererResult")
+ (values
+ '("ok" "GST_DISCOVERER_OK" "0")
+ '("uri-invalid" "GST_DISCOVERER_URI_INVALID" "1")
+ '("error" "GST_DISCOVERER_ERROR" "2")
+ '("timeout" "GST_DISCOVERER_TIMEOUT" "3")
+ '("busy" "GST_DISCOVERER_BUSY" "4")
+ '("missing-plugins" "GST_DISCOVERER_MISSING_PLUGINS" "5")
+ )
+)
+
;; From install-plugins.h
;; Original typedef:
@@ -3490,7 +3564,19 @@
;; GST_VIDEO_FORMAT_v210,
;; GST_VIDEO_FORMAT_v216,
;; GST_VIDEO_FORMAT_NV12,
-;; GST_VIDEO_FORMAT_NV21
+;; GST_VIDEO_FORMAT_NV21,
+;; GST_VIDEO_FORMAT_GRAY8,
+;; GST_VIDEO_FORMAT_GRAY16_BE,
+;; GST_VIDEO_FORMAT_GRAY16_LE,
+;; GST_VIDEO_FORMAT_v308,
+;; GST_VIDEO_FORMAT_Y800,
+;; GST_VIDEO_FORMAT_Y16,
+;; GST_VIDEO_FORMAT_RGB16,
+;; GST_VIDEO_FORMAT_BGR16,
+;; GST_VIDEO_FORMAT_RGB15,
+;; GST_VIDEO_FORMAT_BGR15,
+;; GST_VIDEO_FORMAT_UYVP,
+;; GST_VIDEO_FORMAT_A420
;; } GstVideoFormat;
(define-enum-extended VideoFormat
@@ -3521,6 +3607,18 @@
'("v216" "GST_VIDEO_FORMAT_v216" "21")
'("nv12" "GST_VIDEO_FORMAT_NV12" "22")
'("nv21" "GST_VIDEO_FORMAT_NV21" "23")
+ '("gray8" "GST_VIDEO_FORMAT_GRAY8" "24")
+ '("gray16-be" "GST_VIDEO_FORMAT_GRAY16_BE" "25")
+ '("gray16-le" "GST_VIDEO_FORMAT_GRAY16_LE" "26")
+ '("v308" "GST_VIDEO_FORMAT_v308" "27")
+ '("y800" "GST_VIDEO_FORMAT_Y800" "28")
+ '("y16" "GST_VIDEO_FORMAT_Y16" "29")
+ '("rgb16" "GST_VIDEO_FORMAT_RGB16" "30")
+ '("bgr16" "GST_VIDEO_FORMAT_BGR16" "31")
+ '("rgb15" "GST_VIDEO_FORMAT_RGB15" "32")
+ '("bgr15" "GST_VIDEO_FORMAT_BGR15" "33")
+ '("uyvp" "GST_VIDEO_FORMAT_UYVP" "34")
+ '("a420" "GST_VIDEO_FORMAT_A420" "35")
)
)
@@ -3664,27 +3762,6 @@
)
)
-;; From gstfactorylists.h
-
-;; Original typedef:
-;; typedef enum {
-;; GST_FACTORY_LIST_DECODER = (1 << 0),
-;; GST_FACTORY_LIST_ENCODER = (1 << 1),
-;; GST_FACTORY_LIST_SINK = (1 << 2),
-;; GST_FACTORY_LIST_SRC = (1 << 3)
-;; } GstFactoryListType;
-
-(define-flags-extended FactoryListType
- (in-module "Gst")
- (c-name "GstFactoryListType")
- (values
- '("decoder" "GST_FACTORY_LIST_DECODER" "(1 << 0)")
- '("encoder" "GST_FACTORY_LIST_ENCODER" "(1 << 1)")
- '("sink" "GST_FACTORY_LIST_SINK" "(1 << 2)")
- '("src" "GST_FACTORY_LIST_SRC" "(1 << 3)")
- )
-)
-
;; From gstplay-enum.h
;; Original typedef:
@@ -3714,7 +3791,8 @@
;; GST_PLAY_FLAG_NATIVE_AUDIO = (1 << 5),
;; GST_PLAY_FLAG_NATIVE_VIDEO = (1 << 6),
;; GST_PLAY_FLAG_DOWNLOAD = (1 << 7),
-;; GST_PLAY_FLAG_BUFFERING = (1 << 8)
+;; GST_PLAY_FLAG_BUFFERING = (1 << 8),
+;; GST_PLAY_FLAG_DEINTERLACE = (1 << 9)
;; } GstPlayFlags;
(define-flags-extended PlayFlags
@@ -3730,6 +3808,7 @@
'("native-video" "GST_PLAY_FLAG_NATIVE_VIDEO" "(1 << 6)")
'("download" "GST_PLAY_FLAG_DOWNLOAD" "(1 << 7)")
'("buffering" "GST_PLAY_FLAG_BUFFERING" "(1 << 8)")
+ '("deinterlace" "GST_PLAY_FLAG_DEINTERLACE" "(1 << 9)")
)
)
@@ -4077,7 +4156,12 @@
;; GST_VIDEO_TEST_SRC_BLINK,
;; GST_VIDEO_TEST_SRC_SMPTE75,
;; GST_VIDEO_TEST_SRC_ZONE_PLATE,
-;; GST_VIDEO_TEST_SRC_GAMUT
+;; GST_VIDEO_TEST_SRC_GAMUT,
+;; GST_VIDEO_TEST_SRC_CHROMA_ZONE_PLATE,
+;; GST_VIDEO_TEST_SRC_SOLID,
+;; GST_VIDEO_TEST_SRC_BALL,
+;; GST_VIDEO_TEST_SRC_SMPTE100,
+;; GST_VIDEO_TEST_SRC_BAR
;; } GstVideoTestSrcPattern;
(define-enum-extended VideoTestSrcPattern
@@ -4100,6 +4184,11 @@
'("smpte75" "GST_VIDEO_TEST_SRC_SMPTE75" "13")
'("zone-plate" "GST_VIDEO_TEST_SRC_ZONE_PLATE" "14")
'("gamut" "GST_VIDEO_TEST_SRC_GAMUT" "15")
+ '("chroma-zone-plate" "GST_VIDEO_TEST_SRC_CHROMA_ZONE_PLATE" "16")
+ '("solid" "GST_VIDEO_TEST_SRC_SOLID" "17")
+ '("ball" "GST_VIDEO_TEST_SRC_BALL" "18")
+ '("smpte100" "GST_VIDEO_TEST_SRC_SMPTE100" "19")
+ '("bar" "GST_VIDEO_TEST_SRC_BAR" "20")
)
)
@@ -4386,13 +4475,31 @@
)
)
+;; From gstoggstream.h
+
+;; Original typedef:
+;; typedef enum {
+;; GST_OGG_SKELETON_FISBONE,
+;; GST_OGG_SKELETON_INDEX,
+;; } GstOggSkeleton;
+
+(define-enum-extended OggSkeleton
+ (in-module "Gst")
+ (c-name "GstOggSkeleton")
+ (values
+ '("fisbone" "GST_OGG_SKELETON_FISBONE" "0")
+ '("index" "GST_OGG_SKELETON_INDEX" "1")
+ )
+)
+
;; From gsttextoverlay.h
;; Original typedef:
;; typedef enum {
;; GST_TEXT_OVERLAY_VALIGN_BASELINE,
;; GST_TEXT_OVERLAY_VALIGN_BOTTOM,
-;; GST_TEXT_OVERLAY_VALIGN_TOP
+;; GST_TEXT_OVERLAY_VALIGN_TOP,
+;; GST_TEXT_OVERLAY_VALIGN_POS
;; } GstTextOverlayVAlign;
(define-enum-extended TextOverlayVAlign
@@ -4402,6 +4509,7 @@
'("baseline" "GST_TEXT_OVERLAY_VALIGN_BASELINE" "0")
'("bottom" "GST_TEXT_OVERLAY_VALIGN_BOTTOM" "1")
'("top" "GST_TEXT_OVERLAY_VALIGN_TOP" "2")
+ '("pos" "GST_TEXT_OVERLAY_VALIGN_POS" "3")
)
)
@@ -4409,7 +4517,9 @@
;; typedef enum {
;; GST_TEXT_OVERLAY_HALIGN_LEFT,
;; GST_TEXT_OVERLAY_HALIGN_CENTER,
-;; GST_TEXT_OVERLAY_HALIGN_RIGHT
+;; GST_TEXT_OVERLAY_HALIGN_RIGHT,
+;; GST_TEXT_OVERLAY_HALIGN_TOP,
+;; GST_TEXT_OVERLAY_HALIGN_POS
;; } GstTextOverlayHAlign;
(define-enum-extended TextOverlayHAlign
@@ -4419,6 +4529,8 @@
'("left" "GST_TEXT_OVERLAY_HALIGN_LEFT" "0")
'("center" "GST_TEXT_OVERLAY_HALIGN_CENTER" "1")
'("right" "GST_TEXT_OVERLAY_HALIGN_RIGHT" "2")
+ '("top" "GST_TEXT_OVERLAY_HALIGN_TOP" "3")
+ '("pos" "GST_TEXT_OVERLAY_HALIGN_POS" "4")
)
)
@@ -4532,6 +4644,24 @@
)
)
+;; Original typedef:
+;; typedef enum
+;; {
+;; MULTIPASS_MODE_SINGLE_PASS,
+;; MULTIPASS_MODE_FIRST_PASS,
+;; MULTIPASS_MODE_SECOND_PASS
+;; } GstTheoraEncMultipassMode;
+
+(define-enum-extended TheoraEncMultipassMode
+ (in-module "Gst")
+ (c-name "GstTheoraEncMultipassMode")
+ (values
+ '("single-pass" "GST_THEORA_ENC_MULTIPASS_MODE_SINGLE_PASS" "0")
+ '("first-pass" "GST_THEORA_ENC_MULTIPASS_MODE_FIRST_PASS" "1")
+ '("second-pass" "GST_THEORA_ENC_MULTIPASS_MODE_SECOND_PASS" "2")
+ )
+)
+
;; Handwritten for CdParanoiaSrc plugin (values taken from output of
;; `gst-inspect cdparanoiasrc' -- "paranoia-mode" property information)
(define-enum-extended GstCdParanoiaSrc
diff --git a/gstreamer/src/gst_enums.defs.patch b/gstreamer/src/gst_enums.defs.patch
index 03cb253..ffcb9a5 100644
--- a/gstreamer/src/gst_enums.defs.patch
+++ b/gstreamer/src/gst_enums.defs.patch
@@ -1,6 +1,6 @@
---- gst_enums.defs 2010-03-15 17:06:39.000000000 -0400
-+++ gst_enums.defs.new 2010-03-15 17:15:41.000000000 -0400
-@@ -1,10 +1,12 @@
+--- gst_enums_orig.defs 2010-10-20 22:48:27.000000000 -0400
++++ gst_enums.defs 2010-10-20 22:43:34.000000000 -0400
+@@ -1,11 +1,13 @@
+;; Apply gst_enums.defs.patch after regenerating.
+
;; From gstbin.h
@@ -13,7 +13,9 @@
(define-flags-extended BinFlags
(in-module "Gst")
-@@ -478,90 +480,20 @@
+ (c-name "GstBinFlags")
+@@ -479,92 +481,22 @@
+ (in-module "Gst")
(c-name "GstEventTypeFlags")
(values
'("upstream" "GST_EVENT_TYPE_UPSTREAM" "1 << 0")
@@ -104,7 +106,9 @@
(define-enum-extended SeekType
(in-module "Gst")
(c-name "GstSeekType")
-@@ -1855,27 +1787,27 @@
+ (values
+@@ -1903,111 +1835,123 @@
+ ;; FAKE_SINK_STATE_ERROR_READY_PAUSED,
;; FAKE_SINK_STATE_ERROR_PAUSED_PLAYING,
;; FAKE_SINK_STATE_ERROR_PLAYING_PAUSED,
;; FAKE_SINK_STATE_ERROR_PAUSED_READY,
@@ -139,7 +143,7 @@
;; FAKE_SRC_FIRST_LAST_LOOP = 1,
;; FAKE_SRC_LAST_FIRST_LOOP,
;; FAKE_SRC_PING_PONG,
-@@ -1883,81 +1815,93 @@
+ ;; FAKE_SRC_ORDERED_RANDOM,
;; FAKE_SRC_RANDOM,
;; FAKE_SRC_PATTERN_LOOP,
;; FAKE_SRC_PING_PONG_PATTERN,
@@ -251,7 +255,9 @@
;; GST_TEE_PULL_MODE_NEVER,
;; GST_TEE_PULL_MODE_SINGLE,
;; } GstTeePullMode;
-@@ -2009,20 +1953,31 @@
+
+@@ -2057,22 +2001,33 @@
+ (c-name "GstAudioFieldFlag")
(values
'("rate" "GST_AUDIO_FIELD_RATE" "(1 << 0)")
'("channels" "GST_AUDIO_FIELD_CHANNELS" "(1 << 1)")
@@ -283,7 +289,9 @@
;; GST_BASE_AUDIO_SINK_SLAVE_NONE
;; } GstBaseAudioSinkSlaveMethod;
-@@ -3596,46 +3551,46 @@
+ (define-enum-extended BaseAudioSinkSlaveMethod
+@@ -3693,48 +3648,48 @@
+ ;; {
;; DITHER_NONE = 0,
;; DITHER_RPDF,
;; DITHER_TPDF,
@@ -339,7 +347,9 @@
;; GST_AUDIO_TEST_SRC_WAVE_SINE,
;; GST_AUDIO_TEST_SRC_WAVE_SQUARE,
;; GST_AUDIO_TEST_SRC_WAVE_SAW,
-@@ -4473,40 +4428,40 @@
+ ;; GST_AUDIO_TEST_SRC_WAVE_TRIANGLE,
+@@ -4584,42 +4539,42 @@
+ ;; GST_TEXT_OVERLAY_WRAP_MODE_NONE = -1,
;; GST_TEXT_OVERLAY_WRAP_MODE_WORD = PANGO_WRAP_WORD,
;; GST_TEXT_OVERLAY_WRAP_MODE_CHAR = PANGO_WRAP_CHAR,
;; GST_TEXT_OVERLAY_WRAP_MODE_WORD_CHAR = PANGO_WRAP_WORD_CHAR
@@ -386,7 +396,9 @@
;; GST_TEXT_RENDER_VALIGN_BASELINE,
;; GST_TEXT_RENDER_VALIGN_BOTTOM,
;; GST_TEXT_RENDER_VALIGN_TOP
-@@ -4543,37 +4498,62 @@
+ ;; } GstTextRenderVAlign;
+@@ -4654,56 +4609,81 @@
+ ;; Original typedef:
;; typedef enum {
;; GST_TEXT_RENDER_LINE_ALIGN_LEFT = PANGO_ALIGN_LEFT,
;; GST_TEXT_RENDER_LINE_ALIGN_CENTER = PANGO_ALIGN_CENTER,
@@ -427,6 +439,27 @@
+ '("none" "GST_THEORA_ENC_BORDER_NONE" "0")
+ '("black" "GST_THEORA_ENC_BORDER_BLACK" "1")
+ '("mirror" "GST_THEORA_ENC_BORDER_MIRROR" "2")
+ )
+ )
+
+ ;; Original typedef:
+ ;; typedef enum
+ ;; {
+ ;; MULTIPASS_MODE_SINGLE_PASS,
+ ;; MULTIPASS_MODE_FIRST_PASS,
+ ;; MULTIPASS_MODE_SECOND_PASS
+ ;; } GstTheoraEncMultipassMode;
+
+ (define-enum-extended TheoraEncMultipassMode
+ (in-module "Gst")
+ (c-name "GstTheoraEncMultipassMode")
+ (values
+- '("single-pass" "MULTIPASS_MODE_SINGLE_PASS" "0")
+- '("first-pass" "MULTIPASS_MODE_FIRST_PASS" "1")
+- '("second-pass" "MULTIPASS_MODE_SECOND_PASS" "2")
++ '("single-pass" "GST_THEORA_ENC_MULTIPASS_MODE_SINGLE_PASS" "0")
++ '("first-pass" "GST_THEORA_ENC_MULTIPASS_MODE_FIRST_PASS" "1")
++ '("second-pass" "GST_THEORA_ENC_MULTIPASS_MODE_SECOND_PASS" "2")
+ )
+)
+
diff --git a/gstreamer/src/gst_signals.defs b/gstreamer/src/gst_signals.defs
index 507eedd..259a538 100644
--- a/gstreamer/src/gst_signals.defs
+++ b/gstreamer/src/gst_signals.defs
@@ -73,6 +73,15 @@
(construct-only #f)
)
+(define-property message-forward
+ (of-object "GstBin")
+ (prop-type "GParamBoolean")
+ (docs "Forwards all children messages")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GstBuffer
;; From GstCaps
@@ -475,6 +484,15 @@
(construct-only #f)
)
+(define-property message-forward
+ (of-object "GstPipeline")
+ (prop-type "GParamBoolean")
+ (docs "Forwards all children messages")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property delay
(of-object "GstPipeline")
(prop-type "GParamUInt64")
@@ -2385,6 +2403,15 @@
(construct-only #f)
)
+(define-property silent
+ (of-object "GstQueue")
+ (prop-type "GParamBoolean")
+ (docs "Don't emit queue signals")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GstQueue2
(define-property name
@@ -2513,6 +2540,15 @@
(construct-only #f)
)
+(define-property ring-buffer-max-size
+ (of-object "GstQueue2")
+ (prop-type "GParamUInt64")
+ (docs "Max. amount of data in the ring buffer (bytes, 0 = disabled")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GstTee
(define-property name
@@ -4225,6 +4261,15 @@
(construct-only #f)
)
+(define-property card-name
+ (of-object "GstAlsaSink")
+ (prop-type "GParamString")
+ (docs "Human-readable name of the sound card")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
;; From GstAlsaSrc
(define-property name
@@ -4344,6 +4389,15 @@
(construct-only #f)
)
+(define-property card-name
+ (of-object "GstAlsaSrc")
+ (prop-type "GParamString")
+ (docs "Human-readable name of the sound card")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
;; From GstAppSrc
(define-signal need-data
@@ -5215,6 +5269,24 @@
(construct-only #f)
)
+(define-property xpos
+ (of-object "GstClockOverlay")
+ (prop-type "GParamDouble")
+ (docs "Horizontal position when using position alignment")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property ypos
+ (of-object "GstClockOverlay")
+ (prop-type "GParamDouble")
+ (docs "Vertical position when using position alignment")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property wrap-mode
(of-object "GstClockOverlay")
(prop-type "GParamEnum")
@@ -5278,6 +5350,15 @@
(construct-only #f)
)
+(define-property color
+ (of-object "GstClockOverlay")
+ (prop-type "GParamUInt")
+ (docs "Color to use for text (big-endian ARGB).")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property time-format
(of-object "GstClockOverlay")
(prop-type "GParamString")
@@ -5336,6 +5417,15 @@
(construct-only #f)
)
+(define-property message-forward
+ (of-object "GstDecodeBin")
+ (prop-type "GParamBoolean")
+ (docs "Forwards all children messages")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property sink-caps
(of-object "GstDecodeBin")
(prop-type "GParamBoxed")
@@ -5442,6 +5532,15 @@
(construct-only #f)
)
+(define-property message-forward
+ (of-object "GstDecodeBin2")
+ (prop-type "GParamBoolean")
+ (docs "Forwards all children messages")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property caps
(of-object "GstDecodeBin2")
(prop-type "GParamBoxed")
@@ -6395,7 +6494,7 @@
(define-property protocol
(of-object "GstMultiFdSink")
(prop-type "GParamEnum")
- (docs "The protocol to wrap data in")
+ (docs "The protocol to wrap data in. GDP protocol here is deprecated. Please use gdppay element.")
(readable #t)
(writable #t)
(construct-only #f)
@@ -6650,6 +6749,15 @@
(construct-only #f)
)
+(define-property message-forward
+ (of-object "GstPlayBin")
+ (prop-type "GParamBoolean")
+ (docs "Forwards all children messages")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property delay
(of-object "GstPlayBin")
(prop-type "GParamUInt64")
@@ -6982,6 +7090,15 @@
(construct-only #f)
)
+(define-property message-forward
+ (of-object "GstPlayBin2")
+ (prop-type "GParamBoolean")
+ (docs "Forwards all children messages")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property delay
(of-object "GstPlayBin2")
(prop-type "GParamUInt64")
@@ -7207,6 +7324,15 @@
(construct-only #f)
)
+(define-property ring-buffer-max-size
+ (of-object "GstPlayBin2")
+ (prop-type "GParamUInt64")
+ (docs "Max. amount of data in the ring buffer (bytes, 0 = ring buffer disabled)")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GstSubtitleOverlay
(define-property name
@@ -7227,6 +7353,15 @@
(construct-only #f)
)
+(define-property message-forward
+ (of-object "GstSubtitleOverlay")
+ (prop-type "GParamBoolean")
+ (docs "Forwards all children messages")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property silent
(of-object "GstSubtitleOverlay")
(prop-type "GParamBoolean")
@@ -7634,7 +7769,7 @@
(define-property protocol
(of-object "GstTCPServerSink")
(prop-type "GParamEnum")
- (docs "The protocol to wrap data in")
+ (docs "The protocol to wrap data in. GDP protocol here is deprecated. Please use gdppay element.")
(readable #t)
(writable #t)
(construct-only #f)
@@ -7948,6 +8083,24 @@
(construct-only #f)
)
+(define-property xpos
+ (of-object "GstTextOverlay")
+ (prop-type "GParamDouble")
+ (docs "Horizontal position when using position alignment")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property ypos
+ (of-object "GstTextOverlay")
+ (prop-type "GParamDouble")
+ (docs "Vertical position when using position alignment")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property wrap-mode
(of-object "GstTextOverlay")
(prop-type "GParamEnum")
@@ -8011,6 +8164,15 @@
(construct-only #f)
)
+(define-property color
+ (of-object "GstTextOverlay")
+ (prop-type "GParamUInt")
+ (docs "Color to use for text (big-endian ARGB).")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GstTextRender
(define-property name
@@ -8269,6 +8431,24 @@
(construct-only #f)
)
+(define-property multipass-cache-file
+ (of-object "GstTheoraEnc")
+ (prop-type "GParamString")
+ (docs "Multipass cache file")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property multipass-mode
+ (of-object "GstTheoraEnc")
+ (prop-type "GParamEnum")
+ (docs "Single pass or first/second pass")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GstTheoraParse
(define-property name
@@ -8390,6 +8570,24 @@
(construct-only #f)
)
+(define-property xpos
+ (of-object "GstTimeOverlay")
+ (prop-type "GParamDouble")
+ (docs "Horizontal position when using position alignment")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property ypos
+ (of-object "GstTimeOverlay")
+ (prop-type "GParamDouble")
+ (docs "Vertical position when using position alignment")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property wrap-mode
(of-object "GstTimeOverlay")
(prop-type "GParamEnum")
@@ -8453,6 +8651,15 @@
(construct-only #f)
)
+(define-property color
+ (of-object "GstTimeOverlay")
+ (prop-type "GParamUInt")
+ (docs "Color to use for text (big-endian ARGB).")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GstURIDecodeBin
(define-signal unknown-type
@@ -8520,6 +8727,15 @@
(construct-only #f)
)
+(define-property message-forward
+ (of-object "GstURIDecodeBin")
+ (prop-type "GParamBoolean")
+ (docs "Forwards all children messages")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property uri
(of-object "GstURIDecodeBin")
(prop-type "GParamString")
@@ -8610,6 +8826,15 @@
(construct-only #f)
)
+(define-property ring-buffer-max-size
+ (of-object "GstURIDecodeBin")
+ (prop-type "GParamUInt64")
+ (docs "Max. amount of data in the ring buffer (bytes, 0 = ring buffer disabled)")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GstVideoRate
(define-property name
@@ -8713,6 +8938,15 @@
(construct-only #f)
)
+(define-property add-borders
+ (of-object "GstVideoScale")
+ (prop-type "GParamBoolean")
+ (docs "Add black borders if necessary to keep the display aspect ratio")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GstVideoTestSrc
(define-property name
@@ -8799,7 +9033,7 @@
(define-property colorspec
(of-object "GstVideoTestSrc")
(prop-type "GParamEnum")
- (docs "Generate video in the given color specification")
+ (docs "Generate video in the given color specification (Deprecated: use a caps filter with video/x-raw-yuv,color-matrix='sdtv' or 'hdtv' instead)")
(readable #t)
(writable #t)
(construct-only #f)
@@ -8862,7 +9096,7 @@
(define-property kxy
(of-object "GstVideoTestSrc")
(prop-type "GParamInt")
- (docs "Zoneplate x*t product phase")
+ (docs "Zoneplate x*y product phase")
(readable #t)
(writable #t)
(construct-only #f)
@@ -8913,6 +9147,33 @@
(construct-only #f)
)
+(define-property foreground-color
+ (of-object "GstVideoTestSrc")
+ (prop-type "GParamUInt")
+ (docs "Foreground color to use (big-endian ARGB)")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property background-color
+ (of-object "GstVideoTestSrc")
+ (prop-type "GParamUInt")
+ (docs "Background color to use (big-endian ARGB)")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property horizontal-speed
+ (of-object "GstVideoTestSrc")
+ (prop-type "GParamInt")
+ (docs "Scroll image number of pixels per frame (positive is scroll to the left)")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GstVolume
(define-property name
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]