mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 10:55:34 +00:00
python bindings: wrap GstRTSPMediaFactoryClass vfuncs
This commit is contained in:
parent
15e0e2d67c
commit
ab9b00d439
2 changed files with 37 additions and 0 deletions
|
@ -37,6 +37,7 @@ rtspserver.c: $(DEFS) $(OVERRIDES) arg-types.py
|
|||
($(PYTHON) $(srcdir)/codegen/codegen.py \
|
||||
--load-types $(srcdir)/arg-types.py \
|
||||
--register $(srcdir)/rtspserver-types.defs \
|
||||
--register $(PYGST_DEFSDIR)/gst-types.defs \
|
||||
--override $(srcdir)/$*.override \
|
||||
--extendpath $(top_builddir)/gst/ \
|
||||
--extendpath $(srcdir)/ \
|
||||
|
|
|
@ -214,6 +214,42 @@
|
|||
)
|
||||
)
|
||||
|
||||
(define-virtual get_element
|
||||
(of-object "GstRTSPMediaFactory")
|
||||
(parameters
|
||||
'("const-GstRTSPUrl*" "url")
|
||||
)
|
||||
(return-type "GstElement*")
|
||||
)
|
||||
|
||||
|
||||
(define-virtual construct
|
||||
(of-object "GstRTSPMediaFactory")
|
||||
(parameters
|
||||
'("const-GstRTSPUrl*" "url")
|
||||
)
|
||||
(return-type "GstRTSPMedia*")
|
||||
)
|
||||
|
||||
|
||||
(define-virtual configure
|
||||
(of-object "GstRTSPMediaFactory")
|
||||
(parameters
|
||||
'("GstRTSPMedia*" "media")
|
||||
)
|
||||
(return-type "none")
|
||||
)
|
||||
|
||||
|
||||
(define-virtual create_pipeline
|
||||
(of-object "GstRTSPMediaFactory")
|
||||
(parameters
|
||||
'("GstRTSPMedia*" "media")
|
||||
)
|
||||
(return-type "GstElement*")
|
||||
)
|
||||
|
||||
|
||||
;; From gst/rtsp-server/rtsp-session-pool.h
|
||||
|
||||
(define-function gst_rtsp_session_pool_new
|
||||
|
|
Loading…
Reference in a new issue