GNOME Bugzilla – Bug 795028
v4l2transform: set keep_aspect on capture device
Last modified: 2018-04-26 19:38:22 UTC
I think I may have found a typo here.
Created attachment 370579 [details] [review] v4l2transform: set keep_aspect on capture device Looks like a typo as 'self->v4l2output->keep_aspect = FALSE;' is already done a few lines above.
Review of attachment 370579 [details] [review]: Same bug in videodec an videoenc. Maybe we should remove these two, and copy these values in gst_v4l2_dup() (next to never_interlaced boolean).
Makes sense yeah.
Created attachment 370886 [details] [review] v4l2: rely on gst_v4l2_dup() to set no_initial_format and keep_aspect gst_v4l2_dup() will now take care of setting v4l2capture->no_initial_format and keep_aspect instead of doing it manually. Fix a typo as keep_aspect was set twice on v4l2output but never on v4l2capture.
*** Bug 795586 has been marked as a duplicate of this bug. ***
Attachment 370886 [details] pushed as 2bbe877 - v4l2: rely on gst_v4l2_dup() to set no_initial_format and keep_aspect
And: commit be9a15a9b26bd86eb69853ac9c85b1d72fe0136c (HEAD -> 1.14, origin/1.14) Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Fri Apr 13 13:29:06 2018 +0200 v4l2: rely on gst_v4l2_dup() to set no_initial_format and keep_aspect gst_v4l2_dup() will now take care of setting v4l2capture->no_initial_format and keep_aspect instead of doing it manually. Fix a typo as keep_aspect was set twice on v4l2output but never on v4l2capture. https://bugzilla.gnome.org/show_bug.cgi?id=795028