[Bug 745740] camerabin: update zoom param spec if video source changes its max-zoom

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 6 07:37:37 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=745740

--- Comment #4 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
(In reply to Mohammed Sameer from comment #3)
> 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.

Does your source always do a max-zoom notify when it reaches playing to notify
about its zoom maximum?

I'm considering the case where a source would have a different max-zoom but
doesn't notify because it is always the same since the beginning. So the
camerabin API and the source API wouldn't be agreeing to each other.

Do you see this as possible?

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