summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-01 13:20:01 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-01 13:20:01 +0000
commit3d96508181b859ca6108c3eb3ad5869409e9fd0f (patch)
tree47da359a79b3f070e98da1bc08eb4aafa3b560cf /src
parent7018cc9c2164d929e2c3019039a8178891ee9389 (diff)
downloadxine-lib-3d96508181b859ca6108c3eb3ad5869409e9fd0f.tar.gz
xine-lib-3d96508181b859ca6108c3eb3ad5869409e9fd0f.tar.bz2
tvtime: remove console messages that might confuse users and have enum
strings without spaces so they can be encoded in --post xine-ui parameter CVS patchset: 5662 CVS date: 2003/11/01 13:20:01
Diffstat (limited to 'src')
-rw-r--r--src/post/deinterlace/deinterlace.c6
-rw-r--r--src/post/deinterlace/xine_plugin.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/src/post/deinterlace/deinterlace.c b/src/post/deinterlace/deinterlace.c
index 823ae12fa..afd0093f1 100644
--- a/src/post/deinterlace/deinterlace.c
+++ b/src/post/deinterlace/deinterlace.c
@@ -26,6 +26,8 @@
#include "deinterlace.h"
+/*#define LOG*/
+
typedef struct methodlist_item_s methodlist_item_t;
struct methodlist_item_s
@@ -107,17 +109,21 @@ void filter_deinterlace_methods( int accel, int fields_available )
if( (cur->method->accelrequired & accel) != cur->method->accelrequired ) {
/* This method is no good, drop it from the list. */
+#ifdef LOG
printf( "deinterlace: %s disabled: required "
"CPU accelleration features unavailable.\n",
cur->method->short_name );
+#endif
drop = 1;
}
if( cur->method->fields_required > fields_available ) {
/* This method is no good, drop it from the list. */
+#ifdef LOG
printf( "deinterlace: %s disabled: requires "
"%d field buffers, only %d available.\n",
cur->method->short_name, cur->method->fields_required,
fields_available );
+#endif
drop = 1;
}
diff --git a/src/post/deinterlace/xine_plugin.c b/src/post/deinterlace/xine_plugin.c
index bc9881ab4..f726e231c 100644
--- a/src/post/deinterlace/xine_plugin.c
+++ b/src/post/deinterlace/xine_plugin.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: xine_plugin.c,v 1.19 2003/10/29 23:36:18 miguelfreitas Exp $
+ * $Id: xine_plugin.c,v 1.20 2003/11/01 13:20:01 miguelfreitas Exp $
*
* advanced video deinterlacer plugin
* Jun/2003 by Miguel Freitas
@@ -54,7 +54,7 @@ typedef struct post_plugin_deinterlace_s post_plugin_deinterlace_t;
#define MAX_NUM_METHODS 30
static char *enum_methods[MAX_NUM_METHODS];
static char *enum_pulldown[] = { "none", "vektor", NULL };
-static char *enum_framerate[] = { "full", "half (top)", "half (bottom)", NULL };
+static char *enum_framerate[] = { "full", "half_top", "half_bottom", NULL };
/*
* this is the struct used by "parameters api"
@@ -276,7 +276,7 @@ static void *deinterlace_init_plugin(xine_t *xine, void *data)
return NULL;
}
- enum_methods[0] = "by driver";
+ enum_methods[0] = "use_vo_driver";
for(i = 0; i < get_num_deinterlace_methods(); i++ ) {
enum_methods[i+1] = (char *)get_deinterlace_method(i)->short_name;
}