gstreamer/sys
Havoc Pennington 9b9f9d0a2a v4l2src: in negotiate, check for error return from set_caps
Fixes #621723  (partially)

set_caps can fail if the video device is running, in that case
setting its format leads to EBUSY.

If set_caps fails then we will not have set up the buffer pool
(it will be NULL) which leads to a crash when we try to pull
buffers. If we fail the negotiate on set_caps failure, then we
won't go to playing state and won't crash.

This is a small improvement. Of course, a nicer fix would
be to make set_caps work in the case where the format is
unchanged. If the format has changed, failing is
probably correct because we need to close the device
(go to NULL state) in order to set caps.
2010-06-16 17:48:47 +02:00
..
directsound directsoundsink: Plug some memleak and support 22050Hz mono sound. 2010-06-09 20:07:09 +02:00
oss sys: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs 2010-06-06 17:57:03 +02:00
oss4 oss4: Use g_ascii_strcasecmp() instead of the deprecated g_strcasecmp() 2010-06-14 13:48:28 +02:00
osxaudio sys: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs 2010-06-06 17:57:03 +02:00
osxvideo osxvideosink: allow switching views at runtime. 2010-05-11 22:30:03 +02:00
sunaudio sys: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs 2010-06-06 17:57:03 +02:00
v4l2 v4l2src: in negotiate, check for error return from set_caps 2010-06-16 17:48:47 +02:00
waveform sys: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs 2010-06-06 17:57:03 +02:00
ximage gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 14:32:00 +01:00
Makefile.am Move oss4 plugin from -bad to -good 2010-05-11 19:02:55 +01:00