After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 757108 - regression creating (Ghost)Pad
regression creating (Ghost)Pad
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: 1.6.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-25 20:33 UTC by Mark Nauwelaerts
Modified: 2015-10-28 14:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test script (249 bytes, text/x-python)
2015-10-25 20:33 UTC, Mark Nauwelaerts
  Details
overrides: chain up to base __init__ in Pad override (945 bytes, patch)
2015-10-25 20:36 UTC, Mark Nauwelaerts
committed Details | Review

Description Mark Nauwelaerts 2015-10-25 20:33:11 UTC
Created attachment 314098 [details]
test script

Attached test program shows some difficulties trying to create a Pad or GhostPad, which once upon a time worked fine.

Problem seems to be due to overriding Gst.Pad but not allowing for constructor arguments or chaining up to original __init__
Comment 1 Mark Nauwelaerts 2015-10-25 20:36:01 UTC
Created attachment 314099 [details] [review]
overrides: chain up to base __init__ in Pad override

[note: this is all python 2 fwiw]

Chain up to baseclass __init__ which is usual practice afaik.
Unless there was some specific reason not to do so in this case ... ?
Comment 2 Thibault Saunier 2015-10-28 14:31:31 UTC
Attachment 314099 [details] pushed as 6fb08d8 - overrides: chain up to base __init__ in Pad override