[Bug 776106] New: v4l2object: Don't check size in a non-list value
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Dec 14 18:22:34 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=776106
Bug ID: 776106
Summary: v4l2object: Don't check size in a non-list value
Classification: Platform
Product: GStreamer
Version: unspecified
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: vjaquez at igalia.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
After commit 1ea9735a I see these error while using the webcam
integrated in my laptop:
GStreamer-CRITICAL **: gst_value_list_get_size: assertion 'GST_VALUE_HOLDS_LIST
(value)' failed
The issue is gst_v4l2src_value_simplify() was doing its job of
generating a single value, rather than the original list. That why,
when getting the list size, a critical warning was raised.
This patch takes advantage of the compiler optimizations to verify
first if the list was simplified, thus use it directly, otherwise,
if it is a list, verify its size.
--
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