mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
dvb/parsechannels: add information to file not found error
Adds useful failure info (like filename) comming from g_file_get_contents() as done for every other error in this block.
This commit is contained in:
parent
b3b73d39a0
commit
0826e78266
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ parse_channels_conf_from_file (GstElement * dvbbasebin, const gchar * filename,
|
|||
open_fail:
|
||||
if (err->code == G_FILE_ERROR_NOENT) {
|
||||
g_set_error (error, GST_RESOURCE_ERROR, GST_RESOURCE_ERROR_NOT_FOUND,
|
||||
_("Couldn't find DVB channel configuration file"));
|
||||
_("Couldn't find DVB channel configuration file: %s"), err->message);
|
||||
} else {
|
||||
g_set_error (error, GST_RESOURCE_ERROR, GST_RESOURCE_ERROR_READ,
|
||||
_("Couldn't load DVB channel configuration file: %s"), err->message);
|
||||
|
|
Loading…
Reference in a new issue