[Bug 745740] camerabin: update zoom param spec if video source changes its max-zoom
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Mar 6 06:42:31 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=745740
--- Comment #3 from Mohammed Sameer <msameer at foolab.org> ---
I don't think it's needed but it really depends on how we expect the pipeline
to behave/API to be used.
If someone does something like:
g_object_set (camerabin, "camera-source", src, NULL);
g_object_set (camerabin, "zoom", 11, NULL);
then it will fail because the pspec has 10 as its max.
However if the user waits until the pipeline is PLAYING then it should work
fine.
in my case for example, there is no way to tell the max zoom until we reach
PAUSED state (we open the device and probe its caps). I am not also sure that
probing in ready state (which is when the source is taken into use) will help
but I cannot tell here.
--
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