[Bug 726195] v4l2src was marking known interlaced buffers as progressive

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Mar 12 11:49:04 PDT 2014


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

--- Comment #1 from Simon Farnsworth <simon.farnsworth at onelan.co.uk> 2014-03-12 19:12:36 UTC ---
Created an attachment (id=271640)
 View: https://bugzilla.gnome.org/attachment.cgi?id=271640
 Review: https://bugzilla.gnome.org/review?bug=726195&attachment=271640

[PATCH] v4l2: Clean up interlace flagging


This is getting messy, and it's hard to see when your capture device's
interlace type is unhandled. Replace chained ifs with a switch statement,
and add an ERROR for unknown types.

Signed-off-by: Simon Farnsworth <simon.farnsworth at onelan.co.uk>
---
 sys/v4l2/gstv4l2bufferpool.c | 29 ++++++++++++++++++++---------
 1 file changed, 20 insertions(+), 9 deletions(-)

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