[multivalued in grilo (v3) 3/5] core: Create predefined relations with key "url"
- From: "Juan A. Suarez Romero" <jasuarez igalia com>
- To: grilo-list gnome org
- Subject: [multivalued in grilo (v3) 3/5] core: Create predefined relations with key "url"
- Date: Thu, 3 Mar 2011 13:38:15 +0100
System-defined keys "url", "mime-type", "bitrate", "framerate", "height" and
"width" are correlated.
Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>
---
src/grl-metadata-key.c | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/grl-metadata-key.c b/src/grl-metadata-key.c
index 92e7a10..365b9b6 100644
--- a/src/grl-metadata-key.c
+++ b/src/grl-metadata-key.c
@@ -322,6 +322,23 @@ GRL_METADATA_KEY_STUDIO =
0,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE),
NULL);
+
+ /* Create the relations */
+ grl_plugin_registry_register_metadata_key_relation (registry,
+ GRL_METADATA_KEY_URL,
+ GRL_METADATA_KEY_MIME);
+ grl_plugin_registry_register_metadata_key_relation (registry,
+ GRL_METADATA_KEY_URL,
+ GRL_METADATA_KEY_BITRATE);
+ grl_plugin_registry_register_metadata_key_relation (registry,
+ GRL_METADATA_KEY_URL,
+ GRL_METADATA_KEY_FRAMERATE);
+ grl_plugin_registry_register_metadata_key_relation (registry,
+ GRL_METADATA_KEY_URL,
+ GRL_METADATA_KEY_HEIGHT);
+ grl_plugin_registry_register_metadata_key_relation (registry,
+ GRL_METADATA_KEY_URL,
+ GRL_METADATA_KEY_WIDTH);
}
/**
--
1.7.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]