[Bug 727483] v4l2sink: Keep aspect ratio when device scale

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 31 06:46:36 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=727483
  GStreamer | gst-plugins-good | unspecified

--- Comment #3 from Aurélien Zanelli <aurelien.zanelli at parrot.com> 2014-07-31 13:46:33 UTC ---
Created an attachment (id=282138)
 View: https://bugzilla.gnome.org/attachment.cgi?id=282138
 Review: https://bugzilla.gnome.org/review?bug=727483&attachment=282138

v4l2: Add a function to probe device cropping capability

Since the v4l2 plugins has changed, I updated my previous patch, split it and
improve it.

Here is the first patch. It adds a function to probe device cropping
capabilities.
The idea is to get cropcap and try to set a crop window using S_CROP. If
underlying device doesn't support crop, it should returns EINVAL. See Exemple
1.11 in http://www.linuxtv.org/downloads/v4l-dvb-apis/crop.html.

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