Latest changes 70d945ea2ffcf238fb93fe7524657f8b23c226c1
I didn't know what to pass as an argument on these places, but then i looked at this:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#GstPadProbeCallback
Now banana is replaced with unused_user_data (an adequate name)
What i need to fix
Now i'm working with string instead of GstStructure in videotest.py. Everything seemed fine but then i got this:
WARN [ 5460] "producer-video" feedcomponent Jul 18 14:38:41 Could not parse pipeline: no element "None" (flumotion/component/feedcomponent.py:342))
I raised an exception in videotest.py (tried in all functions) and it shows up in the log, but when i try to print something from that module it does not show up. I still don't know why this happens the way it does.
Another thing, in vorbis010.py i tried to fix an error which gave me:
- Traceback (most recent call last):
- File "/home/max/Desktop/flumotion-porting/flumotion/cache/vorbis-component/f5edb82cece7c472fab6e049e0573240/flumotion/component/encoders/vorbis/vorbis010.py", line 74, in buffer_probe
- in_rate = caps[0]['rate']
- TypeError: string indices must be integers, not str
With this -> in_rate = kaps[0].get_value('rate') , but now i get this:
- Traceback (most recent call last):
- File "/home/max/Desktop/flumotion-porting/flumotion/cache/vorbis-component/2b18938d80c0f3474d96f6eea8f6c471/flumotion/component/encoders/vorbis/vorbis010.py", line 75, in buffer_probe
- in_rate = kaps[0].get_value('rate')
- File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
- return info.invoke(*args, **kwargs)
- TypeError: unknown type GstIntRange
Although the value i need gets passed to 'in_rate'.
There's a bunch of other stuff which needs fixing, here's the full worker log:
http://pastebin.com/S4Z0bPf7
I also need to check that lookup_feature is returning a Gst.TYPE_ELEMENT_FACTORY and get back to finding out why did GstNet need to be imported in boot.py to work on other places.
No comments :
Post a Comment