[gstreamer-bugs] [Bug 637300] [API] request pad based on caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 20 12:59:48 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=637300
  GStreamer | gstreamer (core) | git

--- Comment #6 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-12-20 20:59:43 UTC ---
> >  - should gst_element_get_request_pad_by_caps()
> >    implement a fallback, e.g. using
> >    gst_element_get_compatible_pad_template()?
> >    (would be nice, imho)
> 
>   I considered it... and then realized how ugly the 'regular'
>  gst_element_get_request_pad is so decided against it.

I don't understand the logic in this sentence at all - are we talking about the
same thing? :)

I would like for this to work:

  caps = gst_caps_new ("audio/x-flac",..., NULL);
  pad = gst_element_get_request_pad_by_caps (mux, caps);

even if the muxer doesn't implement the new vfunc yet.

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