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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 26 06:26:05 PST 2015


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

--- Comment #12 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> 2015-01-26 14:26:03 UTC ---
Hmm, the code after this comment is a no-op:

  GST_VIDEO_SINK_WIDTH (v4l2sink) = v4l2sink->video_width;
  GST_VIDEO_SINK_HEIGHT (v4l2sink) = v4l2sink->video_height;

Is the same as:

  v4l2sink->video_width = v4l2sink->video_width;
  v4l2sink->video_height =  v4l2sink->video_height;

These though are the width and height of the stream. I must say, this seems bit
messy, it's likely the porting was done wrong due to lack of testing.

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