summaryrefslogtreecommitdiff
path: root/src/post
diff options
context:
space:
mode:
Diffstat (limited to 'src/post')
-rw-r--r--src/post/deinterlace/deinterlace.c5
-rw-r--r--src/post/deinterlace/xine_plugin.c6
-rw-r--r--src/post/goom/xine_goom.c6
-rw-r--r--src/post/mosaico/mosaico.c7
-rw-r--r--src/post/planar/invert.c5
5 files changed, 15 insertions, 14 deletions
diff --git a/src/post/deinterlace/deinterlace.c b/src/post/deinterlace/deinterlace.c
index df7d0e65c..dfa398016 100644
--- a/src/post/deinterlace/deinterlace.c
+++ b/src/post/deinterlace/deinterlace.c
@@ -59,7 +59,7 @@ void register_deinterlace_method( deinterlace_method_t *method )
(*dest)->method = method;
(*dest)->next = 0;
} else {
- printf( "deinterlace: Can't allocate memory.\n" );
+ printf( "deinterlace: Can't allocate memory.\n" );
}
}
@@ -92,8 +92,7 @@ void register_deinterlace_plugin( const char *filename )
void *handle = dlopen( filename, RTLD_NOW );
if( !handle ) {
- printf( "deinterlace: Can't load plugin '%s': %s\n",
- filename, dlerror() );
+ printf( "deinterlace: Can't load plugin '%s': %s\n", filename, dlerror() );
} else {
deinterlace_plugin_init_t plugin_init;
plugin_init = (deinterlace_plugin_init_t) dlsym( handle, "deinterlace_plugin_init" );
diff --git a/src/post/deinterlace/xine_plugin.c b/src/post/deinterlace/xine_plugin.c
index 949be9579..c4f3066f7 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.22 2003/11/11 18:44:56 f1rmb Exp $
+ * $Id: xine_plugin.c,v 1.23 2003/12/05 15:55:02 f1rmb Exp $
*
* advanced video deinterlacer plugin
* Jun/2003 by Miguel Freitas
@@ -328,8 +328,8 @@ static void *deinterlace_init_plugin(xine_t *xine, void *data)
*/
filter_deinterlace_methods( config_flags, 5 /*fieldsavailable*/ );
if( !get_num_deinterlace_methods() ) {
- printf( "tvtime: No deinterlacing methods "
- "available, exiting.\n" );
+ xprintf(xine, XINE_VERBOSITY_LOG,
+ _("tvtime: No deinterlacing methods available, exiting.\n"));
return NULL;
}
diff --git a/src/post/goom/xine_goom.c b/src/post/goom/xine_goom.c
index fc2cdd8e9..c074cb8ce 100644
--- a/src/post/goom/xine_goom.c
+++ b/src/post/goom/xine_goom.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_goom.c,v 1.45 2003/12/03 10:52:41 andruil Exp $
+ * $Id: xine_goom.c,v 1.46 2003/12/05 15:55:02 f1rmb Exp $
*
* GOOM post plugin.
*
@@ -191,7 +191,7 @@ static void csc_method_changed_cb(void *data, xine_cfg_entry_t *cfg) {
static void *goom_init_plugin(xine_t *xine, void *data)
{
- post_class_goom_t *this = (post_class_goom_t *)malloc(sizeof(post_class_goom_t));
+ post_class_goom_t *this = (post_class_goom_t *)xine_xmalloc(sizeof(post_class_goom_t));
config_values_t *cfg;
if (!this)
@@ -232,7 +232,7 @@ static post_plugin_t *goom_open_plugin(post_class_t *class_gen, int inputs,
xine_audio_port_t **audio_target,
xine_video_port_t **video_target)
{
- post_plugin_goom_t *this = (post_plugin_goom_t *)malloc(sizeof(post_plugin_goom_t));
+ post_plugin_goom_t *this = (post_plugin_goom_t *)xine_xmalloc(sizeof(post_plugin_goom_t));
post_class_goom_t *class = (post_class_goom_t*) class_gen;
xine_post_in_t *input = (xine_post_in_t *)malloc(sizeof(xine_post_in_t));
post_goom_out_t *output = (post_goom_out_t *)malloc(sizeof(post_goom_out_t));
diff --git a/src/post/mosaico/mosaico.c b/src/post/mosaico/mosaico.c
index 377069b03..5922296a3 100644
--- a/src/post/mosaico/mosaico.c
+++ b/src/post/mosaico/mosaico.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: mosaico.c,v 1.18 2003/11/26 19:43:37 f1rmb Exp $
+ * $Id: mosaico.c,v 1.19 2003/12/05 15:55:02 f1rmb Exp $
*/
/*
@@ -398,7 +398,7 @@ static void frame_copy_content(vo_frame_t *to, vo_frame_t *from) {
}
if(to->format != from->format) {
- printf("frame_copy_content : buffers have different format\n");
+ lprintf("frame_copy_content : buffers have different format\n");
return;
}
@@ -544,7 +544,8 @@ static int _mosaico_draw_2(vo_frame_t *frame, post_mosaico_out_t *output, int co
break;
default:
- printf("Mosaico: cannot handle image format %d\n", frame->format);
+ xprintf(output->stream->xine, XINE_VERBOSITY_DEBUG,
+ "Mosaico: cannot handle image format %d\n", frame->format);
/*new_frame->free(new_frame);
_x_post_restore_video_frame(frame, port);
return frame->draw(frame, stream);*/
diff --git a/src/post/planar/invert.c b/src/post/planar/invert.c
index ba0db55c4..b5359fc2f 100644
--- a/src/post/planar/invert.c
+++ b/src/post/planar/invert.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: invert.c,v 1.15 2003/11/11 18:44:59 f1rmb Exp $
+ * $Id: invert.c,v 1.16 2003/12/05 15:55:02 f1rmb Exp $
*/
/*
@@ -251,7 +251,8 @@ static int invert_draw(vo_frame_t *frame, xine_stream_t *stream)
inverted_frame->base[2][i] = 0xff - frame->base[2][i];
break;
default:
- printf("invert: cannot handle image format %d\n", frame->format);
+ xprintf(stream->xine, XINE_VERBOSITY_DEBUG,
+ "invert: cannot handle image format %d\n", frame->format);
inverted_frame->free(inverted_frame);
_x_post_restore_video_frame(frame, port);
return frame->draw(frame, stream);