From 7958ce62d6ae127ee9b8664c8afae5754063389f Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Fri, 5 Dec 2003 15:54:56 +0000 Subject: cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56 --- src/xine-engine/events.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/xine-engine/events.c') diff --git a/src/xine-engine/events.c b/src/xine-engine/events.c index 2f8ed16b8..998a2d159 100644 --- a/src/xine-engine/events.c +++ b/src/xine-engine/events.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: events.c,v 1.20 2003/11/16 15:41:15 mroi Exp $ + * $Id: events.c,v 1.21 2003/12/05 15:55:04 f1rmb Exp $ * * Event handling functions * @@ -138,7 +138,7 @@ void xine_event_dispose_queue (xine_event_queue_t *queue) { q = (xine_event_queue_t *) xine_list_next_content (stream->event_queues); if (!q) { - printf ("events: tried to dispose queue which is not in list\n"); + xprintf (stream->xine, XINE_VERBOSITY_DEBUG, "events: tried to dispose queue which is not in list\n"); pthread_mutex_unlock (&stream->event_queues_lock); return; @@ -218,8 +218,8 @@ void xine_event_create_listener_thread (xine_event_queue_t *queue, if ((err = pthread_create (queue->listener_thread, NULL, listener_loop, queue)) != 0) { - fprintf (stderr, "events: can't create new thread (%s)\n", - strerror(err)); + xprintf (queue->stream->xine, XINE_VERBOSITY_DEBUG, + "events: can't create new thread (%s)\n", strerror(err)); abort(); } } -- cgit v1.2.3