[gnome-packagekit] Use the correct titles for any encoder or decoder version
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Use the correct titles for any encoder or decoder version
- Date: Wed, 6 Feb 2013 09:06:38 +0000 (UTC)
commit c4189631d43f65143a0f4f9577539e0ef37f36d4
Author: Richard Hughes <richard hughsie com>
Date: Wed Feb 6 09:06:15 2013 +0000
Use the correct titles for any encoder or decoder version
src/gpk-dbus-task.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gpk-dbus-task.c b/src/gpk-dbus-task.c
index c3522a8..8fa7ef5 100644
--- a/src/gpk-dbus-task.c
+++ b/src/gpk-dbus-task.c
@@ -1522,9 +1522,9 @@ gpk_dbus_task_install_gstreamer_resources_confirm (GpkDbusTask *dtask, gchar **c
/* find out what type of request this is */
for (i=0; i<len; i++) {
parts = g_strsplit (codec_names[i], "|", 2);
- if (g_str_has_prefix (parts[1], "gstreamer0.10(decoder"))
+ if (g_strstr_len (parts[1], "(decoder") != NULL)
is_decoder = TRUE;
- if (g_str_has_prefix (parts[1], "gstreamer0.10(encoder"))
+ if (g_strstr_len (parts[1], "(encoder") != NULL)
is_encoder = TRUE;
g_strfreev (parts);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]