From 50bf9a402e5e86a13dc95c1464ba5f1d1255d71b Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Thu, 11 Apr 2002 22:27:11 +0000 Subject: Add an INPUT_CAP_PREVIEW mode. This tells the demuxers if the input plugin can handle preview testing. Most plugins which are seekable can handle it. The current exception to this is the xine-dvdnav plugin which is seekable but not previewable due to DVDs having still pictures which stall the preview testing. CVS patchset: 1710 CVS date: 2002/04/11 22:27:11 --- src/input/input_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/input_file.c') diff --git a/src/input/input_file.c b/src/input/input_file.c index 4eb9a7c9f..8e844e6df 100644 --- a/src/input/input_file.c +++ b/src/input/input_file.c @@ -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_file.c,v 1.41 2002/03/25 22:55:42 f1rmb Exp $ + * $Id: input_file.c,v 1.42 2002/04/11 22:27:11 jcdutton Exp $ */ #ifdef HAVE_CONFIG_H @@ -266,7 +266,7 @@ static off_t get_file_size(char *filepathname, char *origin) { */ static uint32_t file_plugin_get_capabilities (input_plugin_t *this_gen) { - return INPUT_CAP_SEEKABLE | INPUT_CAP_GET_DIR | INPUT_CAP_SPULANG; + return INPUT_CAP_SEEKABLE | INPUT_CAP_PREVIEW | INPUT_CAP_GET_DIR | INPUT_CAP_SPULANG; } /* -- cgit v1.2.3