[Bug 793870] Gst_Pipeline: Avoid creating a member for GstBus

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 27 14:04:49 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793870

Thibault Saunier <tsaunier at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #368991|none                        |needs-work
             status|                            |

--- Comment #1 from Thibault Saunier <tsaunier at gnome.org> ---
Review of attachment 368991:
 --> (https://bugzilla.gnome.org/review?bug=793870&attachment=368991)

As you noticed this file is auto generated, you should never edit them
directly.

I belive the difference is due to the fact that GstElement.Bus is generated by
the field `      <field cname="bus" access="public" writeable="false"
readable="true" is_callback="false" name="Bus" type="GstBus*"/>` whereas the
GstPipeline.Bus is generated by the method `<method name="GetBus"
cname="gst_pipeline_get_bus">`.

I guess what you want is to hide the method adding an override in
https://cgit.freedesktop.org/gstreamer/gstreamer-sharp/tree/sources/gstreamer-sharp.metadata
- read the readme to regenerate the code.

--- Comment #2 from Thibault Saunier <tsaunier at gnome.org> ---
Review of attachment 368991:
 --> (https://bugzilla.gnome.org/review?bug=793870&attachment=368991)

As you noticed this file is auto generated, you should never edit them
directly.

I belive the difference is due to the fact that GstElement.Bus is generated by
the field `      <field cname="bus" access="public" writeable="false"
readable="true" is_callback="false" name="Bus" type="GstBus*"/>` whereas the
GstPipeline.Bus is generated by the method `<method name="GetBus"
cname="gst_pipeline_get_bus">`.

I guess what you want is to hide the method adding an override in
https://cgit.freedesktop.org/gstreamer/gstreamer-sharp/tree/sources/gstreamer-sharp.metadata
- read the readme to regenerate the code.

-- 
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