summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-10-24 18:15:23 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-10-24 18:15:23 +0000
commitec5fad8ff0c9abcb0069d907ca8700188f54af44 (patch)
treed26d261a026bd844b371c237a07e2717251c5199
parentaba749cc4f2dacd634487e527f6402588b44767b (diff)
downloadgst-plugins-bad-ec5fad8ff0c9abcb0069d907ca8700188f54af44.tar.gz
gst-plugins-bad-ec5fad8ff0c9abcb0069d907ca8700188f54af44.tar.bz2
gst-plugins-bad-ec5fad8ff0c9abcb0069d907ca8700188f54af44.zip
sys/v4l2/v4l2src_calls.c: Fix hang.
Original commit message from CVS: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_clear_format_list): Fix hang.
-rw-r--r--ChangeLog5
-rw-r--r--sys/v4l2/v4l2src_calls.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e5da7b0b..66072efe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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:
Yet Another Hack (tm) for kernel header borkedness.
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init),
diff --git a/sys/v4l2/v4l2src_calls.c b/sys/v4l2/v4l2src_calls.c
index 3754bbcc..f17667d9 100644
--- a/sys/v4l2/v4l2src_calls.c
+++ b/sys/v4l2/v4l2src_calls.c
@@ -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;
}