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
This commit is contained in:
Bastien Nocera 2012-05-31 11:29:44 +01:00 committed by Sebastian Dröge
parent c7b2011d68
commit 02abd19584

View file

@ -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";