GNOME Bugzilla – Bug 793933
pad: use the template gtype if specified
Last modified: 2018-02-28 23:51:03 UTC
self-explanatory
Created attachment 369112 [details] [review] pad: use the template gtype if specified
Comment on attachment 369112 [details] [review] pad: use the template gtype if specified Looks good, but same change needed for: - gst_pad_new_from_static_template() (with GST_PAD_TEMPLATE_GTYPE()) - gst_ghost_pad_new_from_template() - gst_ghost_pad_new_no_target_from_template()
(In reply to Sebastian Dröge (slomo) from comment #2) > - gst_pad_new_from_static_template() (with GST_PAD_TEMPLATE_GTYPE()) Ignore that one :)
Might also want to add an assertion for the GTypes being correct. I.e. a ghostpad subclass / pad subclass.
Created attachment 369119 [details] [review] pad, ghostpad: use the template gtype if specified Also make sure the GType passed to the with_gtype versions of the template constructors is_a GstPad
Attachment 369119 [details] pushed as 7847e69 - pad, ghostpad: use the template gtype if specified