mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
sys/v4l2/v4l2src_calls.c: Fix hang.
Original commit message from CVS: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_clear_format_list): Fix hang.
This commit is contained in:
parent
cdd824a3da
commit
9826bfa5b4
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-10-24 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_clear_format_list):
|
||||
Fix hang.
|
||||
|
||||
2004-10-24 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* sys/v4l2/gstv4l2element.h:
|
||||
|
|
|
@ -101,6 +101,7 @@ gst_v4l2src_clear_format_list (GstV4l2Src * v4l2src)
|
|||
{
|
||||
g_slist_foreach (v4l2src->formats, (GFunc) g_free, NULL);
|
||||
g_slist_free (v4l2src->formats);
|
||||
v4l2src->formats = NULL;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue