gstreamer/sys
Víctor Manuel Jáquez Leal 6ec3cc70b2 v4l2object: Don't check size in a non-list value
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.

https://bugzilla.gnome.org/show_bug.cgi?id=776106
2016-12-14 19:22:36 +01:00
..
directsound meson: directsound: Add ole32 library dependency 2016-10-21 06:01:16 -03:00
oss good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
oss4 oss4: remove dead mixer code 2014-05-02 09:41:19 +01:00
osxaudio osxaudio: Distribute device provider files 2016-09-07 15:35:06 -04:00
osxvideo osxvideo: Remove QuickTime references. 2016-08-31 05:52:37 +10:00
sunaudio good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
v4l2 v4l2object: Don't check size in a non-list value 2016-12-14 19:22:36 +01:00
waveform waveformsink: Fix Memory leak using GST_PTR_FORMAT 2016-10-20 13:14:10 +03:00
ximage Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00
Makefile.am v4l2: Fix typo V4L_DIR intead of V4L2_DIR 2014-03-15 18:41:16 +01:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00