[Bug 688804] Getting error trying to add a pad_probe

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 23 00:15:38 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=688804
  GStreamer | gstreamer (core) | 1.x

Christian Fredrik Kalager Schaller <Uraeus> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED
     Ever Confirmed|0                           |1

--- Comment #2 from Christian Fredrik Kalager Schaller <Uraeus at linuxrising.org> 2012-11-23 08:15:32 UTC ---
I am getting this error:
Traceback (most recent call last):
  File "/home/cschalle/devel/transmageddon/src/transcoder_engine.py", line 399,
in OnDynamicPad
    src_pad.add_probe(Gst.PAD_PROBE_TYPE_EVENT_DOWNSTREAM, self.padprobe, "user
data")
  File "/usr/lib64/python3.2/site-packages/gi/module.py", line 243, in
__getattr__
    return getattr(self._introspection_module, name)
  File "/usr/lib64/python3.2/site-packages/gi/module.py", line 105, in
__getattr__
    self.__name__, name))
AttributeError: 'gi.repository.Gst' object has no attribute
'PAD_PROBE_TYPE_EVENT_DOWNSTREAM'


Also looking in ipython I see this:
Gst.PA
Gst.PAD_PROBE_TYPE_ALL_BOTH          Gst.PAD_PROBE_TYPE_QUERY_BOTH
Gst.PAD_PROBE_TYPE_BLOCKING          Gst.PAD_PROBE_TYPE_SCHEDULING
Gst.PAD_PROBE_TYPE_BLOCK_DOWNSTREAM  Gst.PARAM_CONTROLLABLE
Gst.PAD_PROBE_TYPE_BLOCK_UPSTREAM    Gst.PARAM_MUTABLE_PAUSED
Gst.PAD_PROBE_TYPE_DATA_BOTH         Gst.PARAM_MUTABLE_PLAYING
Gst.PAD_PROBE_TYPE_DATA_DOWNSTREAM   Gst.PARAM_MUTABLE_READY
Gst.PAD_PROBE_TYPE_EVENT_BOTH        Gst.PARAM_USER_SHIFT

So it seems, EVENT_DOWNSTREAM is not bound at all in the bindings?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list