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>
* gst/pygstvalue.c: (pygst_value_init_for_pyobject),

View file

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