From 02abd1958419d69b3ae882e3a89e9b126c42fb5f Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 31 May 2012 11:29:44 +0100 Subject: [PATCH] uridecodebin: Use cache dir for download buffering Instead of the temp directory. See: http://0pointer.de/blog/projects/tmp.html https://bugzilla.gnome.org/show_bug.cgi?id=677181 --- gst/playback/gsturidecodebin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index ce61b86065..30548992a2 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -1810,7 +1810,7 @@ type_found (GstElement * typefind, guint probability, gchar *temp_template, *filename; const gchar *tmp_dir, *prgname; - tmp_dir = g_get_tmp_dir (); + tmp_dir = g_get_user_cache_dir (); prgname = g_get_prgname (); if (prgname == NULL) prgname = "GStreamer";