1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00
Commit Graph

57 Commits

Author SHA1 Message Date
zuxy
b74750a948 Enable runtime control for colorful and/or module name output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 12:51:07 +00:00
diego
835c654bb0 typo fix: inited --> initialized
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:23:55 +00:00
diego
ae39a6457e cosmetics: Remove trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25431 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 09:02:21 +00:00
reimar
bc41cde0b7 Make sure forked code does not try to display a GTK message box (and thus crashes)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24717 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-07 08:41:31 +00:00
diego
c1999c5661 Remove redundant extern variable declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24141 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 12:45:26 +00:00
diego
ba2799502d Create a new MSGT for just the status line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23478 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 16:13:00 +00:00
diego
5c9abf7f9f Gui --> gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 07:42:42 +00:00
uau
208d4343ef "()" to "(void)" function param list fixes
patch from Stefan Huehner, stefan huehner org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 21:59:54 +00:00
diego
36a80a348e mp_msg.c is never built with -DCODECS2HTML.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22535 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 18:35:52 +00:00
diego
77ff00c85f Remove unused variable lev_text, patch by Zuxy Meng, zuxy.meng gmail com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22489 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-08 13:42:34 +00:00
reimar
a188335a33 Add code to detect and convert to console codepage on Windows.
Patch by Zuxy Meng [zuxy.meng at gmail com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22460 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 19:04:08 +00:00
reimar
b642c2280a Handle mp_msg_charset == NULL correctly in filename_recode.
Patch by Vladimir Voroshilov - voroshil gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22024 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 10:11:40 +00:00
reimar
70e10c7436 Cosmetics: remove tabs, almost all added during last patch, from
an otherwise tab-free file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22023 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 10:10:05 +00:00
gpoirier
333436a8aa filename double-conversion, especially usefull for CJK users :-)
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
2007-01-26 09:57:09 +00:00
reimar
1ab5699571 Fix possible crashes with colorized mplayer output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21669 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-18 18:50:46 +00:00
reimar
081b699393 Mixed up from and to charsets in iconv open failure message.
Patch by Zuxy Meng zuxy.meng at gmail com.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19555 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-27 08:10:07 +00:00
reynaldo
3a406e94d7 Get ride of the several if(identify) messy lines and rearangment of some of 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
2006-04-24 07:20:34 +00:00
rfelker
a703fdaa61 more cruft
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18001 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 22:28:32 +00:00
rfelker
8445dc1e96 remove deprecated, never-used gnu gettext cruft.
proper runtime message catalogs will be added with catgets in the
(near?) future.

this resolves complaints about mp_msg printing crap at startup when
gettext was (stupidly) enabled by default even though it was not
useful.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17999 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 22:14:44 +00:00
ods15
27542d02aa 10l missing header for strdup
mp_msg.c:103: warning: assignment makes pointer from integer without a cast


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17973 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 08:38:32 +00:00
albeu
35e90f1556 The fix in mp_msg.c avoids a core dump when iconv_open() fails, the other
just makes it possible to compile if USE_ICONV is undefined.

Patch by Bjorn Sandell (biorn _At_ chalmers _Dot_ se).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17932 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 02:31:29 +00:00
reimar
1519205f24 Automaticall convert message to console charset, use utf8 for GTK2 Gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17773 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 12:45:48 +00:00
diego
4eab536f60 Comment fix: mp_msg_levels[] is inited to -2, not 2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17743 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-05 18:28:20 +00:00
ods15
ddefa84a43 This now works correctly thanks to clear-to-end-of-line patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17673 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-24 14:56:28 +00:00
rathann
e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
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
2006-02-09 14:08:03 +00:00
ods15
6fd34c98b6 MPLAYER_VERBOSE, new enviorment variable to control verbosity before init
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17441 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-20 20:38:46 +00:00
ods15
5cba0a4078 Some more cola for msglevel, codec-cfg can't even call mp_msg_init or it'll
print bogus stuff.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17121 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 05:12:07 +00:00
ods15
f95066fb03 1000l, reverting 2 more unrelated changes with last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17109 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 08:47:32 +00:00
ods15
5aac28ec24 new -msglevel option, constrols msg level for every msg module
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17107 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 08:42:48 +00:00
ods15
fc4d6e617d mp_msg cleanup.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16619 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-29 05:21:12 +00:00
michael
4e4f3f806e improve colorization
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16380 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-03 19:27:48 +00:00
ods15
4d58623130 Remove many annoying GTK includes in every compile line and remove GTK
stuff from mp_msg by using a wrapper function.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16375 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-03 15:19:52 +00:00
reimar
6e450282a6 remove all setlocale calls, they break the behaviour of sscanf and
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
2005-01-20 13:22:53 +00:00
pl
3c154f93b0 force a new line if a message is very long
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10854 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-12 15:46:16 +00:00
alex
136a4127d7 moved some annonying messages to debug mode only
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10416 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-13 14:43:28 +00:00
jkeil
e2d96e7083 codec-cfg cannot be built when the gui is enabled - it fails to link with a
couple of undefined external references.
Problem is that mp_msg.c is included in the codec-cfg binary, but for codec-cfg
the gui code in mp_msg.c shouldn't be compiled in.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8574 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-27 16:17:57 +00:00
arpi
1ff539f678 WARNING message gui windows disabled, the only critical warn message (too
slow) moved to ERROR


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7206 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 16:20:07 +00:00
arpi
dc1ccbc50e - warnings enabled for GUI mode
- color mode (color depends on msg level), disabled by default


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7201 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 14:54:00 +00:00
arpi
90be7cf00c print only fatal/error/warning to stderr, others go to stdout
(actually reversed Nick's r1.10 commit)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7196 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 13:44:03 +00:00
arpi
a5bd36cf4b new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:
- 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
2002-08-21 21:31:20 +00:00
atmos4
49d1397055 Extend maximum mp_msg message size, some translations need it or help message will be cutted.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6307 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-05 02:24:35 +00:00
arpi
662a79ffb0 HAVE_MENCODER->FOR_MENCODER (forgot to commit some weeks ago...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6049 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-12 00:40:22 +00:00
pontscho
33d7a129df some bug fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5920 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-01 09:29:06 +00:00
arpi
ec38f5315b disabling gtk messagebox - fixes gtk crashes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5902 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-29 16:44:42 +00:00
arpi
0019b9d95b 10l - va_start needs teh pointer to stack - not the translated message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5287 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-23 19:29:48 +00:00
alex
032dcc2bb3 splitted mp_msg_init and mp_msg_set_level and added i18n support to init
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5221 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-20 15:14:59 +00:00
alex
d89ed740ad added i18n support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5103 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-15 21:08:14 +00:00
nick
da63498bf9 Use stdout as default mencoder's output if no filename specified
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4889 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-28 08:26:20 +00:00
pontscho
8d184312b0 small gtk bug fix (-display bug, baze gabu, miattad fogok elkarhozni:), and remove gui dependencie in mencoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4177 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-15 17:03:19 +00:00
arpi
94ee8d7079 fflush disappeared? .so?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3781 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-27 00:34:00 +00:00