diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-08-27 19:24:33 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-08-27 19:24:33 +0000 |
commit | 4129c169b15f8af03c04f436a6bb2a8bd7c0645e (patch) | |
tree | fd7aaad1bb504f8284e4659f3cc1708815e39b90 /src/input/libdvdnav/read_cache.c | |
parent | db3d769d1bee0dcf374c62796df7179a2f568998 (diff) | |
download | xine-lib-4129c169b15f8af03c04f436a6bb2a8bd7c0645e.tar.gz xine-lib-4129c169b15f8af03c04f436a6bb2a8bd7c0645e.tar.bz2 |
sync to libdvdnav cvs, this should now conform to the way xine outputs
its console messages (write to stdout, "libdvdnav: " in front each line)
CVS patchset: 2531
CVS date: 2002/08/27 19:24:33
Diffstat (limited to 'src/input/libdvdnav/read_cache.c')
-rw-r--r-- | src/input/libdvdnav/read_cache.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/input/libdvdnav/read_cache.c b/src/input/libdvdnav/read_cache.c index 72ff2d801..6d3a2e8f1 100644 --- a/src/input/libdvdnav/read_cache.c +++ b/src/input/libdvdnav/read_cache.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: read_cache.c,v 1.2 2002/08/19 17:17:00 mroi Exp $ + * $Id: read_cache.c,v 1.3 2002/08/27 19:24:33 mroi Exp $ * */ @@ -93,10 +93,10 @@ struct read_cache_s { }; #endif -#define _MT_TRACE 0 +#define READ_CACHE_TRACE 0 -#if _MT_TRACE -#define dprintf(fmt, args...) fprintf(stderr, "%s: "fmt, __func__ , ## args); +#if READ_CACHE_TRACE +#define dprintf(fmt, args...) fprintf(MSG_OUT, "libdvdnav: %s: "fmt, __func__ , ## args); #else #define dprintf(fmt, args...) /* Nowt */ #endif @@ -312,7 +312,7 @@ int dvdnav_read_cache_block( read_cache_t *self, int sector, size_t block_count, } else { /* Miss */ - fprintf(stderr, "DVD read cache miss! (not bad but a performance hit) sector=%d\n", sector); + fprintf(MSG_OUT, "libdvdnav: DVD read cache miss! (not bad but a performance hit) sector=%d\n", sector); result = DVDReadBlocks( self->dvd_self->file, sector, block_count, *buf); self->read_point = sector+block_count; if(self->read_point > self->pos + self->size) { |