summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/xine.h9
-rw-r--r--include/xine/attributes.h6
-rw-r--r--include/xine/xineutils.h1
3 files changed, 10 insertions, 6 deletions
diff --git a/include/xine.h b/include/xine.h
index b349c8c4e..6eaac8975 100644
--- a/include/xine.h
+++ b/include/xine.h
@@ -1256,12 +1256,9 @@ typedef struct {
void *user_data;
/* OR'ed frame_format
- * a frontend must at least support rgb
- * a frontend supporting yuv must support both yv12 and yuy2
- * then possible combinations are:
- * XINE_VORAW_RGB ( rgb )
- * XINE_VORAW_YV12|XINE_VORAW_YUY2|XINE_VORAW_RGB ( yv12, yuy2 and rgb )
- *
+ * Unsupported frame formats are converted to rgb.
+ * XINE_VORAW_RGB is always assumed by the driver, even if not set.
+ * So a frontend must at least support rgb.
* Be aware that rgb requires more cpu than yuv,
* so avoid its usage for video playback.
* However, it's usefull for single frame capture (e.g. thumbs)
diff --git a/include/xine/attributes.h b/include/xine/attributes.h
index b25c76572..c339e7113 100644
--- a/include/xine/attributes.h
+++ b/include/xine/attributes.h
@@ -51,6 +51,12 @@
# define XINE_SENTINEL
#endif
+#ifdef SUPPORT_ATTRIBUTE_DEPRECATED
+# define XINE_DEPRECATED __attribute__((__deprecated__))
+#else
+# define XINE_DEPRECATED
+#endif
+
#ifndef __attr_unused
# ifdef SUPPORT_ATTRIBUTE_UNUSED
# define __attr_unused __attribute__((__unused__))
diff --git a/include/xine/xineutils.h b/include/xine/xineutils.h
index a94835f5a..7eb0acdd8 100644
--- a/include/xine/xineutils.h
+++ b/include/xine/xineutils.h
@@ -629,6 +629,7 @@ const char *xine_get_homedir(void) XINE_PROTECTED;
/*
* Get other xine directories.
*/
+const char *xine_get_pluginroot(void) XINE_PROTECTED;
const char *xine_get_plugindir(void) XINE_PROTECTED;
const char *xine_get_fontdir(void) XINE_PROTECTED;
const char *xine_get_localedir(void) XINE_PROTECTED;