diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-31 14:06:03 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-31 14:06:03 +0000 |
commit | 8695f5d8c99952a89f59b314c58a5e0bbd8a6e6e (patch) | |
tree | 47af2fb780645208a11b0e3bcea97e709c050330 /src/input/input_plugin.h | |
parent | 112c134d4636786c1b0e22839bd782d9554b961e (diff) | |
download | xine-lib-8695f5d8c99952a89f59b314c58a5e0bbd8a6e6e.tar.gz xine-lib-8695f5d8c99952a89f59b314c58a5e0bbd8a6e6e.tar.bz2 |
- MAX_PREVIEW_SIZE = 4096
- new fb driver with zero copy
CVS patchset: 4058
CVS date: 2003/01/31 14:06:03
Diffstat (limited to 'src/input/input_plugin.h')
-rw-r--r-- | src/input/input_plugin.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h index 2bd26461b..d66b97939 100644 --- a/src/input/input_plugin.h +++ b/src/input/input_plugin.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_plugin.h,v 1.43 2002/12/29 16:48:35 mroi Exp $ + * $Id: input_plugin.h,v 1.44 2003/01/31 14:06:15 miguelfreitas Exp $ */ #ifndef HAVE_INPUT_PLUGIN_H @@ -232,6 +232,8 @@ struct input_plugin_s { * they can handle the stream or not. the preview data must * be buffered and delivered again through subsequent * read() calls. + * caller must provide a buffer allocated with at least + * MAX_PREVIEW_SIZE bytes. */ #define INPUT_CAP_PREVIEW 0x00000040 @@ -256,6 +258,7 @@ struct input_plugin_s { #define INPUT_OPTIONAL_DATA_PREVIEW 7 #define MAX_MRL_ENTRIES 255 +#define MAX_PREVIEW_SIZE 4096 /* Types of mrls returned by get_dir() */ #define mrl_unknown (0 << 0) |