summaryrefslogtreecommitdiffstats
path: root/mp_msg.h
Commit message (Collapse)AuthorAgeFilesLines
* encode: video encoding now supported using mencoder-like optionsRudolf Polzer2012-09-181-0/+2
|
* mp_msg: remove filename_recodewm42012-07-311-2/+0
| | | | | | | | | | This was intended for translating filenames from filesystem charset to the terminal charset. Modern sane platforms use UTF-8 for everything, and on Windows we use unicode APIs, so this is not needed anymore. Remove filename_recode, all uses of it, options and configure checks related to terminal output charset, and code that tries to determine the same.
* configure, mp_msg.h: get rid of MP_DEBUGwm42012-07-301-11/+1
| | | | | | | | | | The function mp_dbg() was silent if MP_DEBUG was not defined. MP_DEBUG was defined only if configure was invoked with --enable-debug. Remove it and make mp_dbg an alias to mp_msg. This has the advantage tha --enable-debug changes less. (It only adds -g now and disables stripping the binary on installation.) Using log levels is the better way to silence annoying debug messages.
* windows: fix format string attributes on MinGWwm42012-03-011-8/+4
| | | | | | | | | | MinGW maps the "printf" format string archetype to the non-standard MSVCRT functions, even if __USE_MINGW_ANSI_STDIO is defined and set to 1. We need to use "gnu_printf" to use the format strings as provided by vsnprintf and similar functions to get correct warnings. Since "gnu_printf" isn't necessarily available on other GCC compatible compilers (such as clang), do this only on MinGW.
* libmenu: remove OSD menu functionality (--menu)Uoti Urpala2011-10-251-2/+0
| | | | | | | | | | Something like the OSD menu functionality could be useful. However the current implementation has several problems and would require a relatively large amount of work to get into good shape. As far as I know there are few users of the existing functionality. Nobody is working on the existing code and keeping it compiling at all while changing other code would require extra work. So delete the menu code and some related code elsewhere that's used by nothing else.
* mp_msg: change mp_dbg() to inline function to check syntaxUoti Urpala2011-06-291-3/+8
| | | | | | | Change mp_dbg() from a macro that is defined to empty when MP_DEBUG is unset to an inline function that has an empty body when MP_DEBUG is unset. This allows the syntax of the calls to be checked even when compiling without MP_DEBUG set.
* mp_msg: Remove uses of MSGT_MENCODERClément Bœsch2011-01-251-2/+0
| | | | | Some of the code that could run outside MEcoder used MSGT_MENCODER. Replace those with appropriate MSGT_ types.
* cleanup: remove unused MEncoder-related codeClément Bœsch2011-01-251-1/+1
| | | | | Remove some code and variables that were no longer used after MEncoder removal. Also remove some MEncoder references in comments.
* cleanup: mp_msg.h: simplify mp_dbg definitionUoti Urpala2011-01-181-10/+6
| | | | | There's no need to define the mp_dbg macro differently for the __GNUC__ and general case.
* Merge svn changes up to r30475Uoti Urpala2010-03-091-0/+18
|\
| * Add license header to all top-level files missing them.diego2010-01-301-0/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Add runtime translation supportUoti Urpala2010-03-081-1/+2
| | | | | | | | | | | | Add support for gettext-based runtime translations. Enabled with configure switch --enable-translation (no autodetection). Note that no translation files are installed yet.
* | Merge svn changes up to r29912Uoti Urpala2009-11-161-0/+2
|\|
| * Add MSGT_TELETEXT, rename TVI_CONTROL as VBI_CONTROL and fix some pathscehoyos2009-10-291-0/+2
| | | | | | | | | | | | | | | | | | in comments. Based on a patch by Francesco Lavra, francescolavra interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29802 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove internal libass treeUoti Urpala2009-07-261-0/+4
| | | | | | | | | | Remove the libass/ directory and use the newest standalone version of the library instead.
* | Remove the internal GUIAnton Khirnov2009-07-071-1/+0
| | | | | | | | | | | | | | | | | | The GUI is badly designed and too closely coupled to the internal details of other code. The GUI code is in bad shape and unmaintained for years. There is no indication that anyone would maintain it in the future either. Even if someone did volunteer to implement a better integrated GUI having the current code in the tree probably wouldn't help much. So get rid of it.
* | Add temporary no-op translation function stubsUoti Urpala2009-07-061-0/+6
|/
* Remove va_start/vsnprintf workaround for OS/2.diego2008-03-011-8/+0
| | | | | | | patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26135 b3059339-0415-0410-9bf9-f77b7e298cf2
* TARGET_OS2 is never set, use __OS2__ instead.diego2008-02-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26111 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-221-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add comments to some #endif directives.diego2007-12-311-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use leading underscores in multiple inclusion guards, they are reserved.diego2007-07-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Create a new MSGT for just the status line.diego2007-06-051-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23478 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix some common typos, appropiate --> appropRiate,diego2007-02-241-1/+1
| | | | | | | handEling --> handling, dependAnt --> dependEnt. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22334 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fixes, usefuLL --> useful and aswell --> as welldiego2007-02-221-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
* filename double-conversion, especially usefull for CJK users :-)gpoirier2007-01-261-0/+1
| | | | | | | | | Patch by Zuxy Meng <zuxy.meng@gmail.com> date: Oct 25, 2006 2:20 AM subject: [MPlayer-dev-eng] [PATCH] Filename double-conversion git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22020 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation for win32 dll codec support for intel osxnplourde2006-11-271-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21306 b3059339-0415-0410-9bf9-f77b7e298cf2
* Introduce MSGT_ASS, use it for all libass messages.eugeni2006-11-031-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20645 b3059339-0415-0410-9bf9-f77b7e298cf2
* Radio support, patch by Vladimir Voroshilov (voroshil gmail com)reimar2006-08-281-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19574 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get ride of the several if(identify) messy lines and rearangment of some of ↵reynaldo2006-04-241-1/+2
| | | | | | the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
* more cruftrfelker2006-03-301-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18001 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clarify which message levels should be translated.diego2006-03-271-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17969 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a msg type for the osd menu.albeu2006-03-251-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17948 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add DBG5 verbosity level to prepare for upcoming mp_msg_test changes.diego2006-03-241-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17931 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* new -msglevel option, constrols msg level for every msg moduleods152005-12-061-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17107 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000lods152005-09-301-6/+10
| | | | | | | gcc 2.95 only works with this kind of define, instead of the C99 one. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16622 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_msg cleanup.ods152005-09-291-13/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16619 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove all setlocale calls, they break the behaviour of sscanf andreimar2005-01-201-1/+0
| | | | | | | | strcasecmp, especially with tr_TR locale - and do not seem to be good for anything. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Output more information about vids, aids, sids, alangs and slangs with ↵mosu2004-11-251-1/+3
| | | | | | -identify. Patch by kiriuja <mplayer-patches@en-directo.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14047 b3059339-0415-0410-9bf9-f77b7e298cf2
* Translate up to MSGL_STATUS so all normal output is translated.diego2004-09-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13366 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf -> mp_msg conversion, first stepsdiego2004-08-241-0/+3
| | | | | | | patch by The Wanderer <inverseparadox@comcast.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13123 b3059339-0415-0410-9bf9-f77b7e298cf2
* some updates in muxer apialex2003-10-221-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11223 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle mp_msg like printf so compiler can report if missing/too much ↵alex2003-08-311-2/+2
| | | | | | arguments or other errors happen. GCC only git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10737 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100L forgot this commit for netstream.albeu2003-04-061-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9863 b3059339-0415-0410-9bf9-f77b7e298cf2
* bunkus: Encapsulated arguments to #define in ( ... ) so that the #defines ↵mosu2003-01-151-5/+5
| | | | | | can be safely used like functions: mydef(flag ? val1 : val2) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8958 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding new audio output filter layer libafanders2002-10-011-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7569 b3059339-0415-0410-9bf9-f77b7e298cf2
* new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:arpi2002-08-211-0/+1
| | | | | | | | | | | | | - multithreaded audio/video buffering (I know mplayer crew hates threads but it seems to me as the only way of doing reliable a/v capture) - a/v timebase synchronization (sample count vs. gettimeofday) - "immediate" mode support for mplayer - fixed colorspace stuff - RGB?? and YUY2 modes now work as expected - native ALSA audio capture - separated audio input layer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7059 b3059339-0415-0410-9bf9-f77b7e298cf2
* msg/i18n fixes and some printf->mp_msgarpi2002-06-031-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6297 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improvment for spu subtitles.albeu2002-05-171-0/+2
| | | | | | | | | | | | Removed the integreted spudec in vobsub. Various cleanup/bugfix in vobsub (no more auto palette when a true one is here) HW spu rendering moved in spudec because we first need to reassable the packet before sending them to the hw. Spudec is now created only if nedded. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6111 b3059339-0415-0410-9bf9-f77b7e298cf2
* New MSGT for more printf to mp_msgalbeu2002-05-021-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5937 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert printf to mp_msg in the network layeralbeu2002-04-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5916 b3059339-0415-0410-9bf9-f77b7e298cf2
* new osd code, use osd objs to follow changes and do minimal updatesarpi2002-04-151-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5639 b3059339-0415-0410-9bf9-f77b7e298cf2
* MSGT_VFILTER addedarpi2002-04-061-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5506 b3059339-0415-0410-9bf9-f77b7e298cf2
* OS/2 workaroundarpi2002-03-231-1/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5288 b3059339-0415-0410-9bf9-f77b7e298cf2
* splitted mp_msg_init and mp_msg_set_level and added i18n support to initalex2002-03-201-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5221 b3059339-0415-0410-9bf9-f77b7e298cf2
* A bug fix in the auto-repeat stuff + moved all printf to mp_msgalbeu2002-03-191-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5199 b3059339-0415-0410-9bf9-f77b7e298cf2
* added mp_gettext macro for i18nalex2002-03-151-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5102 b3059339-0415-0410-9bf9-f77b7e298cf2
* new gui interface, and gtk moved into mplayer process. fork ... bleh :)pontscho2002-02-231-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4819 b3059339-0415-0410-9bf9-f77b7e298cf2
* MSGT_PLAYTREE addedarpi2002-01-081-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4045 b3059339-0415-0410-9bf9-f77b7e298cf2
* spudec addedarpi2001-12-281-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3822 b3059339-0415-0410-9bf9-f77b7e298cf2
* added MSGT_OSDEPalex2001-11-231-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3086 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes for vivoalex2001-11-091-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2788 b3059339-0415-0410-9bf9-f77b7e298cf2
* MSGT_MENCODER addedarpi2001-11-021-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2621 b3059339-0415-0410-9bf9-f77b7e298cf2
* cache2 addedarpi2001-10-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2371 b3059339-0415-0410-9bf9-f77b7e298cf2
* all error/warn/info messages moved to help_mp-en.h for translationarpi2001-09-261-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1974 b3059339-0415-0410-9bf9-f77b7e298cf2
* DVD addedarpi2001-08-201-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1594 b3059339-0415-0410-9bf9-f77b7e298cf2
* modifications to use variable number of arguments in #define with GCCatlka2001-08-171-3/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1569 b3059339-0415-0410-9bf9-f77b7e298cf2
* updatedarpi2001-08-171-9/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1567 b3059339-0415-0410-9bf9-f77b7e298cf2
* constans shortendarpi2001-08-161-5/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1564 b3059339-0415-0410-9bf9-f77b7e298cf2
* new message printing systemarpi2001-08-161-0/+34
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1563 b3059339-0415-0410-9bf9-f77b7e298cf2