Restore patch, it's still required when building with libxine support.
Noticed by: nox
This commit is contained in:
parent
91e3a31d40
commit
082ac802b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303031
1 changed files with 16 additions and 0 deletions
|
@ -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;
|
Loading…
Reference in a new issue