summaryrefslogtreecommitdiff
path: root/gst/gstprotection.c
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2015-06-13 12:25:19 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2015-06-13 12:25:19 -0400
commita65cea7c6990dcd81384824877dc8c7af9d04fbe (patch)
tree68afae0fffd70da63db37eada7cddd74afd112a3 /gst/gstprotection.c
parent0e8a318dd7fe35499f8b87dd64c9a6215e04d0f7 (diff)
gstprotection: Add missing namespace to macro
GST_PROTECTION_SYSTEM_ID_CAPS_FIELD was missing the GST_ namespace. Add it before its too late.
Diffstat (limited to 'gst/gstprotection.c')
-rw-r--r--gst/gstprotection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/gstprotection.c b/gst/gstprotection.c
index 36f36adf6..9d25fb984 100644
--- a/gst/gstprotection.c
+++ b/gst/gstprotection.c
@@ -187,10 +187,10 @@ gst_protection_factory_check (GstElementFactory * fact,
GstStructure *st;
st = gst_caps_get_structure (caps, i);
- if (gst_structure_has_field_typed (st, PROTECTION_SYSTEM_ID_CAPS_FIELD,
- G_TYPE_STRING)) {
+ if (gst_structure_has_field_typed (st,
+ GST_PROTECTION_SYSTEM_ID_CAPS_FIELD, G_TYPE_STRING)) {
const gchar *sys_id =
- gst_structure_get_string (st, PROTECTION_SYSTEM_ID_CAPS_FIELD);
+ gst_structure_get_string (st, GST_PROTECTION_SYSTEM_ID_CAPS_FIELD);
GST_DEBUG ("Found decryptor that supports protection system %s",
sys_id);
for (guint j = 0; !retval && system_identifiers[j]; ++j) {