gst/base.defs: Limitations in the code generator mean that we can't handle PushSrc in a way which works, so just comm...

Original commit message from CVS:
* gst/base.defs:
Limitations in the code generator mean that we can't handle PushSrc
in a way which works, so just comment this out until someone wants
to tackle this more completely.
This commit is contained in:
Michael Smith 2007-02-27 10:44:21 +00:00
parent 4d9d385f44
commit 77015e02a4
2 changed files with 25 additions and 17 deletions

View file

@ -1,3 +1,10 @@
2007-02-27 Michael Smith <msmith@fluendo.com>
* gst/base.defs:
Limitations in the code generator mean that we can't handle PushSrc
in a way which works, so just comment this out until someone wants
to tackle this more completely.
2007-02-25 Michael Smith <msmith@fluendo.com> 2007-02-25 Michael Smith <msmith@fluendo.com>
* gst/pygstvalue.c: (pygst_value_init_for_pyobject), * gst/pygstvalue.c: (pygst_value_init_for_pyobject),

View file

@ -35,12 +35,13 @@
(gtype-id "GST_TYPE_COLLECT_PADS") (gtype-id "GST_TYPE_COLLECT_PADS")
) )
(define-object PushSrc ; PushSrc doesn't work due to limitations in the code generator, so disable
(in-module "Gst") ;(define-object PushSrc
(parent "GstBaseSrc") ; (in-module "Gst")
(c-name "GstPushSrc") ; (parent "GstBaseSrc")
(gtype-id "GST_TYPE_PUSH_SRC") ; (c-name "GstPushSrc")
) ; (gtype-id "GST_TYPE_PUSH_SRC")
;)
;; Enumerations and flags ... ;; Enumerations and flags ...
@ -708,18 +709,18 @@
;; From ../gstreamer/libs/gst/base/gstpushsrc.h ;; From ../gstreamer/libs/gst/base/gstpushsrc.h
(define-function gst_push_src_get_type ;(define-function gst_push_src_get_type
(c-name "gst_push_src_get_type") ; (c-name "gst_push_src_get_type")
(return-type "GType") ; (return-type "GType")
) ;)
(define-virtual create ;(define-virtual create
(of-object "GstPushSrc") ; (of-object "GstPushSrc")
(return-type "GstFlowReturn") ; (return-type "GstFlowReturn")
(parameters ; (parameters
'("GstBuffer**" "buf") ; '("GstBuffer**" "buf")
) ; )
) ;)