From ab481384d1d547c4f8794489f95b3ddf28c8e17a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 9 Sep 2006 17:41:45 +0000 Subject: Add xine_vlog in xine.c, remove xine_vflog from input_vcd, and do the stdout/stderr output from the two xine_vlog_msg/xine_vlog_err functions that are still local to the input plugin. Centralise log_buffers usage. CVS patchset: 8211 CVS date: 2006/09/09 17:41:45 --- src/xine-engine/xine.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/xine-engine') diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index a4e31aba6..432fca579 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.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.c,v 1.327 2006/09/08 21:11:29 miguelfreitas Exp $ + * $Id: xine.c,v 1.328 2006/09/09 17:41:45 dgp85 Exp $ */ /* @@ -1957,6 +1957,12 @@ void xine_log (xine_t *this, int buf, const char *format, ...) { } } +void xine_vlog(xine_t *this, int buf, const char *format, + va_list args) +{ + this->log_buffers[buf]->scratch_printf(this->log_buffers[buf], format, args); +} + const char *const *xine_get_log (xine_t *this, int buf) { if(buf >= XINE_LOG_NUM) -- cgit v1.2.3