diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2016-10-23 22:13:33 -0700 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2016-10-23 22:13:33 -0700 |
commit | 86e75e5c903a68096763b00e5b7f8058c93e64e0 (patch) | |
tree | c063b46bfd8567c283626a54aca7568443a7a03c /sys | |
parent | 6e0eb266bdecb4ca482607630a8944adca22c78c (diff) | |
download | gstreamer-plugins-bad-86e75e5c903a68096763b00e5b7f8058c93e64e0.tar.gz |
dvb/parsechannels: collapse notes on channel_name encoding conflict
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dvb/parsechannels.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dvb/parsechannels.c b/sys/dvb/parsechannels.c index 2e4bbe9e8..14e6b5e76 100644 --- a/sys/dvb/parsechannels.c +++ b/sys/dvb/parsechannels.c @@ -351,6 +351,7 @@ gst_dvb_base_bin_conf_set_modulation (GstElement * dvbbasebin, property, kf, channel_name, key, modulations, 6); } +/* FIXME: is channel_name guaranteed to be ASCII or UTF-8? */ static gboolean parse_and_configure_from_v5_conf_file (GstElement * dvbbasebin, const gchar * filename, const gchar * channel_name, GError ** error) @@ -416,7 +417,6 @@ load_error: unknown_channel: { - /* FIXME: is channel name guaranteed to be ASCII or UTF-8? */ g_set_error (error, GST_RESOURCE_ERROR, GST_RESOURCE_ERROR_NOT_FOUND, _("Couldn't find details for channel '%s'"), channel_name); g_key_file_unref (keyfile); @@ -426,7 +426,6 @@ unknown_channel: no_properties: { - /* FIXME: is channel name guaranteed to be ASCII or UTF-8? */ g_set_error (error, GST_RESOURCE_ERROR, GST_RESOURCE_ERROR_NOT_FOUND, _("No properties for channel '%s'"), channel_name); g_key_file_unref (keyfile); @@ -436,7 +435,6 @@ no_properties: property_error: { - /* FIXME: is channel name guaranteed to be ASCII or UTF-8? */ g_set_error (error, GST_RESOURCE_ERROR, GST_RESOURCE_ERROR_FAILED, _("Failed to set properties for channel '%s'"), channel_name); g_key_file_unref (keyfile); @@ -589,6 +587,7 @@ destroy_channels_hash (GHashTable * channels) g_hash_table_foreach_remove (channels, remove_channel_from_hash, NULL); } +/* FIXME: is channel_name guaranteed to be ASCII or UTF-8? */ static gboolean parse_and_configure_from_zap_conf_file (GstElement * dvbbasebin, const gchar * filename, const gchar * channel_name, GError ** error) @@ -843,7 +842,6 @@ beach: unknown_channel: { - /* FIXME: is channel name guaranteed to be ASCII or UTF-8? */ g_set_error (error, GST_RESOURCE_ERROR, GST_RESOURCE_ERROR_NOT_FOUND, _("Couldn't find details for channel '%s'"), channel_name); destroy_channels_hash (channels); |