aboutsummaryrefslogtreecommitdiffhomepage
path: root/vobsub.c
Commit message (Collapse)AuthorAge
* Use libavutil's av_clip* instead of unreadable MIN/MAX chaos.Gravatar reimar2007-03-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Open vobsub output files in binary mode, otherwise the OS mightGravatar reimar2006-12-03
| | | | | | | do all kinds of evil mangling to them (fixes bug #668). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21460 b3059339-0415-0410-9bf9-f77b7e298cf2
* Useless initialization, they will be always set for result != 0Gravatar reimar2006-10-08
| | | | | | | and for result == 0 they make no sense git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20102 b3059339-0415-0410-9bf9-f77b7e298cf2
* removes unused parentheses lefted behind in the r19075 sizeof(char) ↵Gravatar reynaldo2006-07-14
| | | | | | cleanups, noticed by dalias git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19079 b3059339-0415-0410-9bf9-f77b7e298cf2
* more sizeof(char) funGravatar reynaldo2006-07-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19075 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get ride of the several if(identify) messy lines and rearangment of some of ↵Gravatar reynaldo2006-04-24
| | | | | | 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
* avoid conflicting types error on cygwinGravatar faust32006-02-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17528 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix memleak in idx parser. patch by elupus [elupus {at] ecce <dot) se]Gravatar reimar2004-12-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14238 b3059339-0415-0410-9bf9-f77b7e298cf2
* Output more information about vids, aids, sids, alangs and slangs with ↵Gravatar mosu2004-11-25
| | | | | | -identify. Patch by kiriuja <mplayer-patches@en-directo.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14047 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix the crash when seek with 'unknown' subtitles, hopefully...Gravatar luran2004-01-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11710 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix typoGravatar nexus2003-12-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11696 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l found by atmosGravatar alex2003-12-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11595 b3059339-0415-0410-9bf9-f77b7e298cf2
* vobsub seeking support by Lu RanGravatar alex2003-12-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11590 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved searching for VobSubs inside RAR archives even if the names do not ↵Gravatar mosu2003-10-28
| | | | | | match the movie name. Do not display VobSubs whose timecodes are < 0 which would make all VobSubs appear from the start on upon seeking. Patches by "Reder, Uwe" <Uwe.Reder@3SOFT.de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11310 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forced subtitles patch by Arne Driescher <driescher@mpi-magdeburg.mpg.de>Gravatar attila2003-09-21
| | | | | | | | | | | | | | | | | | | | | 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
* binary flag is rquired for win32Gravatar faust32003-09-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10894 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, lot of missing new-lines. In case of an error, all the messages will be ↵Gravatar alex2003-08-31
| | | | | | screwed up git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10759 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove ssize_t messGravatar faust32003-05-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10211 b3059339-0415-0410-9bf9-f77b7e298cf2
* MINGW32 portGravatar faust32003-03-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9773 b3059339-0415-0410-9bf9-f77b7e298cf2
* supdec.h needs libvo/video_out.h. vobsub.c does not.Gravatar kmkaplan2003-02-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9512 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix.Gravatar kmkaplan2003-02-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9510 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>Gravatar arpi2003-01-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8734 b3059339-0415-0410-9bf9-f77b7e298cf2
* Here is the patch to make vobsub subtitle use -slang option, I have not made aGravatar arpi2002-12-23
| | | | | | | | | new option for vobsub. Now mplayer will use the setting of slang first, and then langidx from .idx file, if all failed, no sub. patch by hephooey@fastmail.fm git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8536 b3059339-0415-0410-9bf9-f77b7e298cf2
* When you called mplayer with the absolute path to the video and the VOBSUBGravatar arpi2002-11-16
| | | | | | | | | | subtitle is in a rar archive, mplayer tried to find the files in the archive with the absolute path. The patch fixes the problem by getting rid of the full path just trying the filename. patch by Uwe.Reder@3SOFT.de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8204 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativeGravatar arpi2002-11-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* The first language ripped is set as the default languageGravatar arpi2002-11-01
| | | | | | | | | by writing the langidx tag with the index of this language. patch by Arne Driescher <driescher@mpi-magdeburg.mpg.de> (accepted by Kim Minh Kaplan) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8015 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mplayer can switch between subtitles of different languages duringGravatar kmkaplan2002-10-17
| | | | | | | playing by press 'j', based on a patch by <hephooey@fastmail.fm>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7781 b3059339-0415-0410-9bf9-f77b7e298cf2
* Automatic unrar of vobsub. Does not work with rar v3Gravatar kmkaplan2002-09-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7447 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix support for negative "delay:" directive in .idx file.Gravatar kmkaplan2002-09-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7418 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use RGB for palette from .IDX fileGravatar kmkaplan2002-07-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6832 b3059339-0415-0410-9bf9-f77b7e298cf2
* New function vobsub_get_next_packet for subrip.Gravatar kmkaplan2002-07-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6830 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vobsub palette generation compatible with windows vobsub.Gravatar atmos42002-07-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6828 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove depency on libmpdemux streams, use ANSI IO instead.Gravatar kmkaplan2002-07-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6774 b3059339-0415-0410-9bf9-f77b7e298cf2
* Lots of compatibility fixes for Windows' Vobsub reader.Gravatar kmkaplan2002-07-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6707 b3059339-0415-0410-9bf9-f77b7e298cf2
* MEncoder vobsub ripping support, currently not compatible with windows ↵Gravatar atmos42002-07-08
| | | | | | vobsub, some bugs to be fixed. However it already works with mplayer, so it's a start. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6675 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied 64bit patch from Ulrich Hecht <uli at suse dot de>Gravatar alex2002-05-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6164 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improvment for spu subtitles.Gravatar albeu2002-05-17
| | | | | | | | | | | | 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
* Avoid bogus file not found message if vobsub isn'T forced (autodetect).Gravatar atmos42002-04-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5870 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix bug in LR's patch.Gravatar atmos42002-04-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5840 b3059339-0415-0410-9bf9-f77b7e298cf2
* VobSub updates, custom palette support and other stuff, can't write the name ↵Gravatar atmos42002-04-25
| | | | | | of the chinese(?) patch supplier. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5834 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sorry, fix vobsub duration the arpi way.Gravatar atmos42002-04-11
| | | | | | | Also added origin parsing, those values are to adjust subtitle placement, they should be added to start_row and end_row and start_col and end_col, but haven't yet found the proper place to hook them in. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5564 b3059339-0415-0410-9bf9-f77b7e298cf2
* * New command line switch for mplayer & mencoder:Gravatar kmkaplan2002-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | -ifo <ifo file> Indicate the file that will be used to load palette and frame size for MPEG subtitles. * mencoder.c: Fix cropping when decoding MPEG2. * spudec.c: If scaling is needed only do it once. Change WITH_NO_ANTIALIASING to ANTIALIASING_ALGORITHM. * vobsub.c: Support reading info regarding size and palette from IDX file instead of IFO file. Support streams containing audio or video. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5389 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix automatic vobsub detection and make it silent.Gravatar atmos42002-02-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4788 b3059339-0415-0410-9bf9-f77b7e298cf2
* forgot to commitGravatar atmos42002-02-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4787 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for NULL vob->spudec before using.Gravatar kmkaplan2002-01-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4115 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support vobsub without index files.Gravatar kmkaplan2002-01-10
| | | | | | | Fix off by one bug. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4086 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add vobsub support.Gravatar kmkaplan2002-01-10
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4081 b3059339-0415-0410-9bf9-f77b7e298cf2