summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/modules/xine/emotion_xine_vo_out.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c b/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c
index e0502f6311..3ae8e1c021 100644
--- a/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c
+++ b/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c
@@ -130,8 +130,13 @@ _emotion_class_init(xine_t *xine, void *visual __UNUSED__)
130 cl = (Emotion_Class *) malloc(sizeof(Emotion_Class)); 130 cl = (Emotion_Class *) malloc(sizeof(Emotion_Class));
131 if (!cl) return NULL; 131 if (!cl) return NULL;
132 cl->driver_class.open_plugin = _emotion_open; 132 cl->driver_class.open_plugin = _emotion_open;
133#if XINE_MAJOR_VERSION < 1 || (XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION < 2)
133 cl->driver_class.get_identifier = _emotion_class_identifier_get; 134 cl->driver_class.get_identifier = _emotion_class_identifier_get;
134 cl->driver_class.get_description = _emotion_class_description_get; 135 cl->driver_class.get_description = _emotion_class_description_get;
136#else
137 cl->driver_class.identifier = _emotion_class_identifier_get(NULL);
138 cl->driver_class.description = _emotion_class_description_get(NULL);
139#endif
135 cl->driver_class.dispose = _emotion_class_dispose; 140 cl->driver_class.dispose = _emotion_class_dispose;
136 cl->config = xine->config; 141 cl->config = xine->config;
137 cl->xine = xine; 142 cl->xine = xine;