diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2012-08-23 16:41:51 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2012-08-23 16:41:51 +0000 |
commit | 082ac802b4fc7bb1f2304a10a784bfcc85a90e34 (patch) | |
tree | 1b3f101d2e288f1cfabe04cfae9c65a5574a2e78 /multimedia/emotion | |
parent | 91e3a31d40bad5d1bd72d209e67f57231370fb32 (diff) |
Notes
Diffstat (limited to 'multimedia/emotion')
-rw-r--r-- | multimedia/emotion/files/patch-src-modules-xine-emotion_xine_vo_out.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/multimedia/emotion/files/patch-src-modules-xine-emotion_xine_vo_out.c b/multimedia/emotion/files/patch-src-modules-xine-emotion_xine_vo_out.c new file mode 100644 index 000000000000..b8a238bde9b5 --- /dev/null +++ b/multimedia/emotion/files/patch-src-modules-xine-emotion_xine_vo_out.c @@ -0,0 +1,16 @@ +--- src/modules/xine/emotion_xine_vo_out.c.orig ++++ src/modules/xine/emotion_xine_vo_out.c +@@ -119,8 +119,13 @@ _emotion_class_init(xine_t *xine, void * + cl = (Emotion_Class *) malloc(sizeof(Emotion_Class)); + if (!cl) return NULL; + cl->driver_class.open_plugin = _emotion_open; ++#if XINE_MAJOR_VERSION < 1 || (XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION < 2) + cl->driver_class.get_identifier = _emotion_class_identifier_get; + cl->driver_class.get_description = _emotion_class_description_get; ++#else ++ cl->driver_class.identifier = _emotion_class_identifier_get(NULL); ++ cl->driver_class.description = _emotion_class_description_get(NULL); ++#endif + cl->driver_class.dispose = _emotion_class_dispose; + cl->config = xine->config; + cl->xine = xine; |