[Bug 655107] encodebin: get_by_interface doesn't work on non-muxer elements

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 27 09:20:30 PDT 2011


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|                            |INVALID
   Target Milestone|HEAD                        |NONE

--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-07-27 16:20:26 UTC ---
This is a bug in your code.

Did you check the gst debug log to see if a vorbisenc element is actually
created and added to the pipeline?

Turns out not. Reason is that encodebin will only create and set that up on
demand when you request a matching audio request sink pad. The pads are not
created automatically from the start because you pass presence=0 as last
argument when creating the audio encoding profile. If you pass 1 then the pad
will be created right away and it will work as intended.

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