mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
last print on libaf to af_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17864 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0e8dd7511d
commit
bfcb1f80f1
@ -1158,6 +1158,10 @@ static char help_text[]=
|
||||
#define MSGTR_AF_LADSPA_ErrControlBelow "%s: Input control #%d is below lower boundary of %0.4f.\n"
|
||||
#define MSGTR_AF_LADSPA_ErrControlAbove "%s: Input control #%d is above upper boundary of %0.4f.\n"
|
||||
|
||||
// af_format.c
|
||||
|
||||
#define MSGTR_AF_FORMAT_UnknownSpecial "Unknown special\n"
|
||||
|
||||
// ========================== INPUT =========================================
|
||||
|
||||
// joystick.c
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <limits.h>
|
||||
|
||||
#include "af.h"
|
||||
#include "help_mp.h"
|
||||
|
||||
// Convert from string to format
|
||||
int af_str2fmt(char* str)
|
||||
@ -113,7 +114,7 @@ char* af_fmt2str(int format, char* str, int size)
|
||||
case(AF_FORMAT_IMA_ADPCM):
|
||||
i+=snprintf(&str[i],size-i,"IMA-ADPCM "); break;
|
||||
default:
|
||||
printf("Unknown special\n");
|
||||
af_msg(AF_MSG_ERROR,MSGTR_AF_FORMAT_UnknownSpecial);
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
Loading…
Reference in New Issue
Block a user