gstmodule: Add tags introduced in 0.10.31

Fixes #639632
This commit is contained in:
Edward Hervey 2011-01-16 14:58:37 +01:00
parent dfb6a5b099
commit 2f79198599

View file

@ -338,6 +338,7 @@ init_gst (void)
ADD_GST_TAG (GEO_LOCATION_MOVEMENT_SPEED);
ADD_GST_TAG (GEO_LOCATION_MOVEMENT_DIRECTION);
ADD_GST_TAG (GEO_LOCATION_CAPTURE_DIRECTION);
ADD_GST_TAG (IMAGE_ORIENTATION);
#if ((GST_VERSION_MICRO >= 31) || (GST_VERSION_MICRO == 30 && GST_VERSION_NANO > 0))
#define ADD_FACTORY_TYPE(a) PyModule_AddObject(m, "ELEMENT_FACTORY_TYPE_" #a,\
PyLong_FromUnsignedLongLong(GST_ELEMENT_FACTORY_TYPE_##a))
@ -363,6 +364,10 @@ init_gst (void)
ADD_FACTORY_TYPE (AUDIO_ENCODER);
ADD_FACTORY_TYPE (AUDIOVIDEO_SINKS);
ADD_FACTORY_TYPE (DECODABLE);
ADD_GST_TAG (DATE_TIME);
ADD_GST_TAG (APPLICATION_NAME);
ADD_GST_TAG (APPLICATION_DATA);
ADD_GST_TAG (GEO_LOCATION_HORIZONTAL_ERROR);
#endif
#endif
#endif