Mercurial > mplayer.hg
changeset 9079:b1ea14b9694b
cosmetic for 0.90, printf->mp_msg (hm..probably arpi will piss of me?:)
author | alex |
---|---|
date | Fri, 24 Jan 2003 18:38:54 +0000 |
parents | 240e53cdce84 |
children | e7aad3a3bb7c |
files | libmpdemux/extension.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/extension.c Fri Jan 24 17:32:14 2003 +0000 +++ b/libmpdemux/extension.c Fri Jan 24 18:38:54 2003 +0000 @@ -51,14 +51,14 @@ int demuxer_type_by_filename(char* filename){ int i; char* extension=strrchr(filename,'.'); - printf("Searching demuxer type for filename %s ext: %s\n",filename,extension); + mp_msg(MSGT_OPEN, MSGL_V, "Searching demuxer type for filename %s ext: %s\n",filename,extension); if(extension) { ++extension; // mp_msg(MSGT_CPLAYER,MSGL_DBG2,"Extension: %s\n", extension ); // Look for the extension in the extensions table for( i=0 ; i<(sizeof(extensions_table)/sizeof(extensions_table[0])) ; i++ ) { if( !strcasecmp(extension, extensions_table[i].extension) ) { - printf("\n!!! trying demuxer %d based on filename extension\n",extensions_table[i].demuxer_type); + mp_msg(MSGT_OPEN, MSGL_V, "Trying demuxer %d based on filename extension\n",extensions_table[i].demuxer_type); return extensions_table[i].demuxer_type; } }