Commit Graph

889 Commits

Author SHA1 Message Date
albeu 364ebd2a6f Make the osd command only switch between enabled/disabled when
using the term osd.
Also put a define to test for the term osd without #ifdef.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17022 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-20 23:44:46 +00:00
albeu f99cc19968 Big OSD cleanup. Replace the mess with 100's of counter vars
with a clean and simple interface.
As a bonus osd messages can now be displayed on the console if there
is no vo (or osd is disabled in libvo).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16993 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-16 16:51:48 +00:00
joey 8901ee0b0a add a switch, slave command, and vo control to toggle borderless window.
includes documentation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 22:25:54 +00:00
ptt d44e5c8765 reordered subtitles language OSD display, since it worked bad for ogm...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16956 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-09 23:18:38 +00:00
faust3 4c0cf32f51 there is no sh_video for audio only files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16939 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 18:01:52 +00:00
ranma f6059439b9 10l: osd_show_dvd_nav_highlight is just a flag
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16934 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 16:16:04 +00:00
ranma 649712e405 Number of frames to show the OSD shouldn't be hardcoded, derive from fps instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16930 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 14:44:49 +00:00
ranma 0b5e424c5f Translated strings might be longer than the originals. One unnecessary dependancy on string length fixed; quadrupled buffer size for matroska case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16919 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 17:25:34 +00:00
ptt d291ddf016 Enabled OSD localization / moved msgs to help/help_mp-en.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16912 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 01:27:38 +00:00
albeu 058afda0f8 Autoload vobsub's from ~/.mplayer/sub
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16898 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-03 14:19:25 +00:00
rfelker fa5ace34d8 new message was even worse -- B/s means bytes per second, not sample!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16789 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-17 18:16:28 +00:00
faust3 dbc1f67ca2 allow mencoder to load win32 codecs properly patch by Zuxy <zuxy.meng at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16782 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-16 19:14:09 +00:00
ivo b08efb2077 exit mplayer if audio filter init fails (same as mencoder does)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16759 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-13 22:41:30 +00:00
reimar 7c9fefc776 Missing space in status line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16743 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-12 20:40:05 +00:00
ods15 1e85a471ab change to switch/case for dumpsub
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16741 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-12 14:37:03 +00:00
reimar db4662cdd9 -frames plays one frame too many.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16731 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-11 15:51:46 +00:00
reimar abec4e3d3e Show total time when playing audio-only files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16655 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-04 13:59:25 +00:00
gpoirier c437f82e72 Prints -identify output for:
- video codec of the current file;
- signal numbers;
- demuxer help header.
Patch by  kiriuja <mplayer DATH patches AH en DATH directo POIS net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16523 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-19 16:33:39 +00:00
diego 11b75900a0 Add comments to a few #endif statements in order to make clear which
#ifdef they belong to.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16491 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-15 03:08:35 +00:00
reimar 3bd4205297 consistency fix: OSD bar for gamma changes should only appear when gamma
changing gamma is supported (like all other equalizer controls).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16490 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-14 23:21:44 +00:00
henry b88ca0cd1a screenshot filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16447 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-11 06:42:32 +00:00
reimar e4e6bdb288 clear OSD when playing new file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16403 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-05 12:05:29 +00:00
diego 1540fedb5f Replace bps by B/s when it means bytes per second to avoid ambiguity since
bps can mean any combination of bits/bytes per second/sample.
patch by a.guru - at - sympatico - dot - ca


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16361 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 17:11:00 +00:00
ods15 37d4235b7e Adds -idle, an option to make MPlayer wait for input ('loadfile' or
'loadlist') commands when it's done playing all files or there are no files
on the command line. When used with -fixed-vo, you get a "frozen" vo
window, but it can still accept input commands from there (clicking 'q'
from the xv window will cause MPlayer to close..)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16348 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 08:44:55 +00:00
ods15 d620029e4b Make -identify's 'ID_LENGTH=' print a float and not an integer.. The
accuracey may be totally fake for some demuxers (mpg), but accurate for
others.. (avi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16347 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 08:32:32 +00:00
gpoirier 43844d090c allow multiple help clauses on the command line, Patch by kiriuja " mplayer-patches AH en-directo POUM net "
This one makes

mplayer -vo help -ao help -ac help -vc help -pphelp -af help -vfm help -vf help -afm help -fstype help

produce the desired output.

From the thread:
Date: Jul 16, 2005 8:25 PM
Subject: [MPlayer-dev-eng] [PATCH] allow multiple help clauses on the command line


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16346 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 08:29:30 +00:00
nplourde b872f146e1 add key_down_eventto slave mode, used to inject key down event with mplayer_put_key
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16324 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-31 02:15:03 +00:00
ods15 6385665d3d adds 'ID_DEMUXER=avi' to -identify...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16316 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-27 19:45:11 +00:00
reimar 33cb784664 ensure that audio-only files are decoded till the end by not only
waiting for eof but also checking that the a_in_buffer is empty.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16291 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-23 07:56:29 +00:00
reimar 699e0cc67b loadfile/loadlist can now also add files to the playlist
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16228 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-15 08:30:43 +00:00
rtognimp cd68e1618b Demuxer modularization
Demuxer selection by name with -demuxer command (bakward compatible)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 19:57:47 +00:00
iive 84ec577508 remove unused cache-prefill and create cache-seek-min that controls when seek_long is prefered over waiting for cache to fill
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16153 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-31 00:26:07 +00:00
wight 1d644b7dd5 Remove untranslatable strings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16080 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-24 12:56:07 +00:00
reimar 3c7c21274c define SIGHUP and SIGPIPE for MinGW and catch SIGPIPE also in mplayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16050 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-22 17:11:39 +00:00
iive 25d334c477 Fix few memleaks on exit.
2 lines inspired by Timothy Lee <timothy.lee <at> siriushk.com> patch


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16037 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-21 14:03:52 +00:00
reimar a40429d6ce Do not count skipped/broken frames when using -frames
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15896 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 10:09:09 +00:00
reimar 328a8765dc Missing part of the last commit (got merged in on cvs update :-( )
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15866 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-30 10:22:09 +00:00
reimar 1cbd08cdeb simplify osd-status display, and allow e.g. osd -2 to get the old behaviour
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15864 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-30 10:11:50 +00:00
diego 98f824366f Make the OSD display state information when cycling OSD states with 'o'.
based on a patch by Paul TT < paulltt - at- hackerjournal - dot - it >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15863 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-30 09:38:55 +00:00
reimar d22ae4a4d9 make -srate work again, unify audio filter init and preinit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15812 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-24 10:50:53 +00:00
gpoirier 9dd8f241ac adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM en DASH directo POUM net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:07:35 +00:00
reimar 2f376d1b39 Add sub_load and sub_remove slave commands.
Patch by kiriuja [mplayer-patches at en-directo dot net]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15707 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-09 20:13:53 +00:00
reimar 46630a96a9 strdup subtitle filename at a more appropriate place, fixing memleaks and
double frees.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15604 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-01 09:01:41 +00:00
reimar c1bd86b4cd keep vo_fps and vo_mouse_timer_const in sync with sh_video->fps, otherwise
mouse pointer autohide and the volume OSD from the gui break (with e.g. asf).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15585 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-28 21:28:40 +00:00
reimar 2b1bb59996 new get_time_pos slave mode commando
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15505 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-18 11:38:06 +00:00
nplourde 7e5636f683 use darwin accurate timer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15289 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-29 10:48:32 +00:00
reimar be54f4813f adds a parameter to the switch_audio command to directly select a track.
Patch by kiriuja mplayer-patches at en-directo net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15286 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-28 14:43:19 +00:00
reimar 4d48a0a981 Apply -srate and -channels only to the start of the filter chain, not
to both start and end (made downmixing to 2 channels impossible).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15242 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-22 18:28:10 +00:00
henry b3bd58219b Fix OSD when switching subtitles - set the osd buffer to Subtitle: off
first, and then eventually set it to other values if some kind of subtitles
is on. Otherwise 1) spudec stuff stomps on the buffer after vobsub, 2)
Subtitle: off isn't displayed when cycling text subtitles.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15162 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 12:14:24 +00:00
henry e956780cc0 allow sub_select and vobsub_lang to select particular subtitle
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15129 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-11 21:26:14 +00:00