From b36f73ee11213cc1b77adad9389e7ef3fe65bff8 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 2 Feb 2006 15:54:07 +0000 Subject: [PATCH] gst/gst.defs: Update for current GStreamer core API Original commit message from CVS: * gst/gst.defs: Update for current GStreamer core API --- ChangeLog | 5 ++++ common | 2 +- gst/gst.defs | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5a2ba11479..a738add313 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-02 Edward Hervey + + * gst/gst.defs: + Update for current GStreamer core API + 2006-02-01 Edward Hervey * testsuite/test_event.py: diff --git a/common b/common index 0b93085188..79d67fe009 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 0b93085188e83fe678ec5ded2823cd7c24dfa843 +Subproject commit 79d67fe009b6120b82d51df860c78e8361f02aea diff --git a/gst/gst.defs b/gst/gst.defs index da830d0abd..70e9109d83 100644 --- a/gst/gst.defs +++ b/gst/gst.defs @@ -163,6 +163,12 @@ (return-type "GstIterator*") ) +(define-method iterate_sources + (of-object "GstBin") + (c-name "gst_bin_iterate_sources") + (return-type "GstIterator*") +) + (define-method iterate_all_by_interface (of-object "GstBin") (c-name "gst_bin_iterate_all_by_interface") @@ -218,6 +224,18 @@ ) ) +(define-method is_metadata_writable + (of-object "GstBuffer") + (c-name "gst_buffer_is_metadata_writable") + (return-type "gboolean") +) + +(define-method make_metadata_writable + (of-object "GstBuffer") + (c-name "gst_buffer_make_metadata_writable") + (return-type "GstBuffer*") +) + (define-method get_caps (of-object "GstBuffer") (c-name "gst_buffer_get_caps") @@ -2137,6 +2155,18 @@ ) ) +(define-method add_associationv + (of-object "GstIndex") + (c-name "gst_index_add_associationv") + (return-type "GstIndexEntry*") + (parameters + '("gint" "id") + '("GstAssocFlags" "flags") + '("gint" "n") + '("const-GstIndexAssociation*" "list") + ) +) + (define-method add_association (of-object "GstIndex") (c-name "gst_index_add_association") @@ -3827,6 +3857,35 @@ ) ) +(define-method found_tags_for_pad + (of-object "GstElement") + (c-name "gst_element_found_tags_for_pad") + (return-type "none") + (parameters + '("GstPad*" "pad") + '("GstTagList*" "list") + ) +) + +(define-method found_tags + (of-object "GstElement") + (c-name "gst_element_found_tags") + (return-type "none") + (parameters + '("GstTagList*" "list") + ) +) + +(define-function gst_parse_bin_from_description + (c-name "gst_parse_bin_from_description") + (return-type "GstElement*") + (parameters + '("const-gchar*" "bin_description") + '("gboolean" "ghost_unconnected_pads") + '("GError**" "err") + ) +) + (define-function pad_load_and_link (c-name "gst_pad_load_and_link") (return-type "none") @@ -6422,6 +6481,15 @@ (varargs #t) ) +(define-method find_unconnected_pad + (of-object "GstBin") + (c-name "gst_bin_find_unconnected_pad") + (return-type "GstPad*") + (parameters + '("GstPadDirection" "direction") + ) +) + (define-method merge (of-object "GstBuffer") (c-name "gst_buffer_merge")