can't control valve drop property

jomifo joe.foose at gmail.com
Thu May 24 12:41:16 PDT 2012


I am mixing a video stream with a static image.  That's working fine.  I
would like to dynamically turn the image off/on at certain times.  My idea
was to put a valve after the image stream and use a controller to toggle the
drop property.  But alas, I get an error when trying to create that
controller,

In [45]: gst.Controller( gst.element_factory_make( 'valve' ), 'drop' )

** (ipython:2530): CRITICAL **: gst_controlled_property_new: assertion
`(pspec->flags & (G_PARAM_WRITABLE | GST_PARAM_CONTROLLABLE |
G_PARAM_CONSTRUCT_ONLY)) == (G_PARAM_WRITABLE | GST_PARAM_CONTROLLABLE)'
failed
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)

/mnt/transfer/<ipython console> in <module>()

RuntimeError: could not create GstController object

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/can-t-control-valve-drop-property-tp4653499.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list