mirror of
https://github.com/mpv-player/mpv
synced 2024-07-27 17:48:22 +02:00
slight overall verbosity reduction
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20191 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
46b5cab89e
commit
fcd45c5111
@ -650,8 +650,7 @@ static char help_text[]=
|
||||
|
||||
// LIRC:
|
||||
#define MSGTR_SettingUpLIRC "Setting up LIRC support...\n"
|
||||
#define MSGTR_LIRCdisabled "You will not be able to use your remote control.\n"
|
||||
#define MSGTR_LIRCopenfailed "Failed to open LIRC support.\n"
|
||||
#define MSGTR_LIRCopenfailed "Failed to open LIRC support. You will not be able to use your remote control.\n"
|
||||
#define MSGTR_LIRCcfgerr "Failed to read LIRC config file %s.\n"
|
||||
|
||||
// vf.c
|
||||
|
@ -36,7 +36,7 @@ int mp_input_joystick_init(char* dev) {
|
||||
int inited = 0;
|
||||
struct js_event ev;
|
||||
|
||||
mp_msg(MSGT_INPUT,MSGL_INFO,MSGTR_INPUT_JOYSTICK_Opening,dev ? dev : JS_DEV);
|
||||
mp_msg(MSGT_INPUT,MSGL_V,MSGTR_INPUT_JOYSTICK_Opening,dev ? dev : JS_DEV);
|
||||
|
||||
fd = open( dev ? dev : JS_DEV , O_RDONLY | O_NONBLOCK );
|
||||
if(fd < 0) {
|
||||
|
@ -23,9 +23,9 @@ int
|
||||
mp_input_lirc_init(void) {
|
||||
int lirc_sock;
|
||||
|
||||
mp_msg(MSGT_LIRC,MSGL_INFO,MSGTR_SettingUpLIRC);
|
||||
mp_msg(MSGT_LIRC,MSGL_V,MSGTR_SettingUpLIRC);
|
||||
if((lirc_sock=lirc_init("mplayer",1))==-1){
|
||||
mp_msg(MSGT_LIRC,MSGL_ERR,MSGTR_LIRCopenfailed MSGTR_LIRCdisabled);
|
||||
mp_msg(MSGT_LIRC,MSGL_ERR,MSGTR_LIRCopenfailed);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -450,7 +450,7 @@ static int init(int rate_hz, int channels, int format, int flags)
|
||||
ao_noblock = !block;
|
||||
parse_device(alsa_device, device.str, device.len);
|
||||
|
||||
mp_msg(MSGT_AO,MSGL_INFO,"alsa-init: using device %s\n", alsa_device);
|
||||
mp_msg(MSGT_AO,MSGL_V,"alsa-init: using device %s\n", alsa_device);
|
||||
|
||||
//setting modes for block or nonblock-mode
|
||||
if (ao_noblock) {
|
||||
@ -723,7 +723,7 @@ static int init(int rate_hz, int channels, int format, int flags)
|
||||
}
|
||||
/* end setting sw-params */
|
||||
|
||||
mp_msg(MSGT_AO,MSGL_INFO,"alsa: %d Hz/%d channels/%d bpf/%d bytes buffer/%s\n",
|
||||
mp_msg(MSGT_AO,MSGL_V,"alsa: %d Hz/%d channels/%d bpf/%d bytes buffer/%s\n",
|
||||
ao_data.samplerate, ao_data.channels, bytes_per_sample, ao_data.buffersize,
|
||||
snd_pcm_format_description(alsa_format));
|
||||
|
||||
@ -750,7 +750,7 @@ static void uninit(int immed)
|
||||
}
|
||||
else {
|
||||
alsa_handler = NULL;
|
||||
mp_msg(MSGT_AO,MSGL_INFO,"alsa-uninit: pcm closed\n");
|
||||
mp_msg(MSGT_AO,MSGL_V,"alsa-uninit: pcm closed\n");
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -891,7 +891,7 @@ static int open_s1(stream_t *stream,int mode, void* opts, int* file_format) {
|
||||
stream->streaming_ctrl->url = check4proxies(url);
|
||||
url_free(url);
|
||||
|
||||
mp_msg(MSGT_OPEN, MSGL_INFO, "STREAM_HTTP(1), URL: %s\n", stream->url);
|
||||
mp_msg(MSGT_OPEN, MSGL_V, "STREAM_HTTP(1), URL: %s\n", stream->url);
|
||||
seekable = http_streaming_start(stream, file_format);
|
||||
if((seekable < 0) || (*file_format == DEMUXER_TYPE_ASF)) {
|
||||
streaming_ctrl_free(stream->streaming_ctrl);
|
||||
@ -915,7 +915,7 @@ static int open_s2(stream_t *stream,int mode, void* opts, int* file_format) {
|
||||
stream->streaming_ctrl->url = check4proxies(url);
|
||||
url_free(url);
|
||||
|
||||
mp_msg(MSGT_OPEN, MSGL_INFO, "STREAM_HTTP(2), URL: %s\n", stream->url);
|
||||
mp_msg(MSGT_OPEN, MSGL_V, "STREAM_HTTP(2), URL: %s\n", stream->url);
|
||||
seekable = http_streaming_start(stream, file_format);
|
||||
if(seekable < 0) {
|
||||
streaming_ctrl_free(stream->streaming_ctrl);
|
||||
|
@ -140,7 +140,7 @@ rtsp_streaming_open (stream_t *stream, int mode, void *opts, int *file_format)
|
||||
URL_t *url;
|
||||
extern int index_mode;
|
||||
|
||||
mp_msg (MSGT_OPEN, MSGL_INFO, "STREAM_RTSP, URL: %s\n", stream->url);
|
||||
mp_msg (MSGT_OPEN, MSGL_V, "STREAM_RTSP, URL: %s\n", stream->url);
|
||||
stream->streaming_ctrl = streaming_ctrl_new ();
|
||||
if (!stream->streaming_ctrl)
|
||||
return STREAM_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user