Commit Graph

756 Commits

Author SHA1 Message Date
mosu adcae3e051 Support for the "custom colors" and "forced subtitles" entries in the VobSub idx. Made the parser handle whitespaces better.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12551 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-10 11:16:44 +00:00
faust3 4926bfdabb 10l on cygwin WIN32 gets defined in config.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12361 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-30 20:05:54 +00:00
faust3 0af4151b05 Make it compile on mingw again. Now it is finally possible to include windows.h in mplayer.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12359 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-30 16:56:00 +00:00
alex 791008230d play the audio buffer in case of normal eof (i know the change is rude, but mplayer.c is hopelessly obfuscated)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12333 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-27 23:38:52 +00:00
nicodvb 03ca8a9eb8 slave command dvb_set_channel now takes 2 arguments: channel card
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12307 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 21:15:14 +00:00
rtognimp 6b19bea6e1 Fix segfault if EDL is used without video
Based on a patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12208 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-14 20:50:15 +00:00
alex 504270e549 uninit immed flag
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12146 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 17:55:36 +00:00
rfelker 70d700b8cd remove stupid misadvice
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12065 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-25 06:40:04 +00:00
ranma b9bde11d1c Use system clock for xscreensaver pings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12000 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-26 20:42:52 +00:00
michael 14c5a7c333 flushing stuff after seeking (finally we can view MPEG without thouse blocks after seeking with -vc ffmpeg12)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11978 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-18 15:23:41 +00:00
diego f1a51e5ca7 Display Framedropping state on the OSD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11937 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-09 20:20:24 +00:00
attila 333832e130 * changes mencoder's exit code on explicit kill to 2
* add quiet/noquiet to mencoder
* dont depend targets on themselfs
patch by Oswald Buddenhagen <ossi@kde.org>
additionaly moved quiet/noquiet and v/verbose to cfg-common.h


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11876 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-29 12:01:26 +00:00
diego f603b6dc93 Happy new year to all from Argentina :-)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11779 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-12 03:47:49 +00:00
attila 1a79e7878c prevent sig11 when $HOME is not set
patch by From: Martin Oberzalek <kingleo@gmx.at>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11768 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-10 11:23:42 +00:00
attila fab8cc090f add -codecs-file for selecting a specific codecs.conf on the comand line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11760 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-08 18:02:31 +00:00
alex 922162fb5d removed the historic libcss support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11593 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-08 21:34:05 +00:00
alex 0955d23934 vobsub seeking support by Lu Ran
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11590 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-08 18:35:39 +00:00
alex 85f98092f5 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11585 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-08 13:30:30 +00:00
alex e7d9078afc Fontconfig support based on patch by Arwed von Merkatz <v.merkatz@gmx.net>, but slightly reworked
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11581 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-08 12:14:32 +00:00
joey 640f93d018 runtime 'stay-on-top' functionality
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-30 16:36:10 +00:00
attila 4b1211d2d0 Patch by Nico <nsabbi@libero.it>
this patch fixes a recently discovered bug for which DVB-C users
couldn't tune
(wrong parsing of the config file and incorrect parameter passing to
tune_it())
and includes the still unapplied patch posted in date 6/9/2003:

-  it works correctly with and without caches; in the former case it
doesn't take anymore a lot of time to empty the cache before changing channel;
the uninit_cache() function is called in mplayer.c just after
the new tuning operation
- initialized a variable identifying the tuner type, and exit if it
isn't supported


- doesn't crash anymore when
1) the channels file doesn't exists
2) the tuner is used by another application
3) in the menu, when trying to select a channel before the first
4) some mp_msg() called in case of error


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11353 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-01 15:17:01 +00:00
mosu d5658320c1 Do not display VobSubs whose timecodes are < 0 which would make all VobSubs appear from the start on upon seeking. Patch by "Reder, Uwe" <Uwe.Reder@3SOFT.de>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11332 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-30 15:02:16 +00:00
iive 39f8fbff6f make 'your system is too slow' appear only once
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11255 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-23 22:44:25 +00:00
arpi 0ea49d935e 100000l again
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11244 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 22:58:42 +00:00
mosu ba57485970 Support for VobSub-in-Matroska; parts outside of demux_mkv.cpp.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11154 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-16 21:06:43 +00:00
rfelker 0c9ecbc6a4 1000l to pl, this made mplayer crash when playing playlists longer
than 2 entries. I'm too lazy to debug so I'm just reverting the code.
Someone who cares about the memleak can fix it properly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10998 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-04 01:24:50 +00:00
pl 69e7b17327 fix a memory leak when playing several files in a row (playlist for instance)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10960 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-29 09:53:27 +00:00
rfelker 5f7b31fede disable code that DOES NOT WORK (it won't load real playlists and
makes mplayer hang forever on unrecognized files), and probably avoid
vulnerabilities at the same time


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10954 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-27 20:01:46 +00:00
faust3 e27e245ffe add a read function for slave mode on mingw
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10929 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-22 11:31:51 +00:00
attila 943904865f Forced subtitles patch by Arne Driescher <driescher@mpi-magdeburg.mpg.de>
For a given subtitle language you can now chose to display
  only the forced subtitles. Defaut is set to "show all subtitles"
  so that current mplayer behaviour is not changed.

For DVD:
  Use -forced_subs_only additionally to e.g. -slang en
  if you are only interested in the forced subtitles.

For VobSub:
  The idx file is now parsed for the "forced subs: ON/OFF" tag
   and used according to its settings.

Key:
  You can toggle the display of forced subtitles by pressing
   "F"  (upper case letter).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10918 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-21 14:21:43 +00:00
faust3 26afe0c58c slave mode commands to print out vo_fs and sub_visibility globals, patch by Mike Swieton <swietonm at student.gvsu.edu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10885 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-19 20:44:30 +00:00
alex c81e374ce1 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10719 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-29 21:42:51 +00:00
alex 78c69838c0 This patch fixes:
1) if channels (in the list) are invalid excludes them
2) on encrypted/unreadable channels mplayer goes to the next/previous
3) when changing channel uninit all components but stream and input.

Nico <nsabbi@libero.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10709 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-27 17:08:58 +00:00
alex 9bbeb0f652 dvb channel changing vs input system (lirc) fix by David Kuehling <dvdkhlng@gmx.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10708 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-27 16:44:09 +00:00
ranma de38c06bee fabs needs math.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10692 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-25 09:08:06 +00:00
alex 4eb73ff345 X11_FULLSCREEN vs HAVE_X11 definitions and some warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10662 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-18 14:05:30 +00:00
faust3 b2e24300c9 dll loading from codecs dir support for windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10647 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-17 19:18:29 +00:00
alex e6921fc2ed there were no checks in MP_CMD_SUB for sh_video, so mplayer immediately segfaulted when such keys were pressed on non-video files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10610 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-14 21:29:39 +00:00
alex 0ceae373cf warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10603 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-14 00:36:25 +00:00
albeu 978dd0fc27 "when I run "mplayer -slave <audiofile> " then, while playing, I send the
following command "loadfile <anyfile>" I get a crash ... "

Report and patch by ROSEN Jeremy


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10597 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 17:03:36 +00:00
alex 2283b6305f Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10595 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 16:29:32 +00:00
gabucino 89d2f5be6c reverse of accidently twice commited patch (non-unified patch suxx)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10581 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-12 13:22:35 +00:00
gabucino 3a9b03dea0 From: Kir Kostuchenko <kir@users.sourceforge.net>
Hi, I found that command line options brightness, hue, contrast and
saturation does not works, becouse mplayer apply it, before open tv
(kernel says invalid ioctl). Here are simple fix. Please apply.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10580 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-12 11:32:51 +00:00
gabucino e8a173deec Hi, here are slave commands:
tv_set_brightness
tv_set_contrast
tv_set_hue
tv_set_color

Patch by Kir Kostuchenko <kir@users.sourceforge.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10578 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-12 07:38:49 +00:00
arpi d891bc11cc this patch fixes
1)  some bugs introduced in the tuner autodetection and in the channel-parsing functions,
3) retries reading when the mplayer/mencoder don't read fast enough (sooner it exited)
but especially
4) makes the stream compliant with the new, modular stream api (the one
currently in CVS is not and is totally unreachable).
[and maybe more, next time please include cvslog in patch! -- A'rpi]
patch by Nico <nsabbi@libero.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10561 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-11 00:02:46 +00:00
ranma 3142d28ed1 Prevent missing subtitles at pts reset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10558 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-10 17:58:22 +00:00
gabucino e2e2d40437 For a request by Gabu, i've cut & fix a part of Joey's dvd aid switching
patch, to always use the first audio track of DVD, unless -alang or -aid is
used. I think it will be almost always teh id 128. (actual number comes from
the .IFO)

(reported ok - Gabu)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10551 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-09 14:23:16 +00:00
gabucino bff4b3ee5e I'd like to change tv tuner frequency in the slave mode. So this patch
helps me.

Patch by Kir Kostuchenko <kir@users.sourceforge.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10522 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-04 09:13:10 +00:00
alex 1c5251d47f sync the basic mplayer and mencoder outputs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10454 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-22 10:46:22 +00:00
alex 8dbd85b924 copyright message rework, try 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10418 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-13 15:39:52 +00:00