[Bug 655257] [camerabin2][design] Removing redundant options/elements

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 25 07:39:54 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=655257
  GStreamer | gst-plugins-bad | git

--- Comment #3 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2011-07-25 14:39:51 UTC ---
(In reply to comment #2)
> As far as I see it the encodebins are internal to camerabin2 and not exposed.
> 
> If somebody from outside wants to change the profile's restriction we need to
> either:
> - expose acces to the encodebins (new camerabin2 properties?) or
> - use the existing properties
> (image-capture-caps/video-capture-caps/audio-capture-caps), but  have them work
> on the encodebins directly not on camerabin2 capsfilters.
> 
> Did I understand this correctly?

To access the restriction you can simply get the profile property from
camerabin2 and set the restriction on that profile using
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-encoding-profile.html#gst-encoding-profile-set-restriction
The restriction caps is what encodebin sets on its capsfilter

The second suggestion is also valid, but I guess using the profiles directly is
better as we have only 1 way of doing it.

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