dvb: Use the user config dir instead of the cache dir for the channels configuration
This commit is contained in:
parent
27c761f43b
commit
6acbe18943
@ -157,7 +157,7 @@ set_properties_for_channel (GObject * dvbbasebin, const gchar * channel_name)
|
|||||||
|
|
||||||
gst_version (&major, &minor, µ, &nano);
|
gst_version (&major, &minor, µ, &nano);
|
||||||
filename = g_strdup_printf ("%s/gstreamer-%d.%d/dvb-channels.conf",
|
filename = g_strdup_printf ("%s/gstreamer-%d.%d/dvb-channels.conf",
|
||||||
g_get_user_cache_dir (), major, minor);
|
g_get_user_config_dir (), major, minor);
|
||||||
}
|
}
|
||||||
channels = parse_channels_conf_from_file (filename);
|
channels = parse_channels_conf_from_file (filename);
|
||||||
g_free (filename);
|
g_free (filename);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user