summaryrefslogtreecommitdiffstats
path: root/vobsub.c
Commit message (Collapse)AuthorAgeFilesLines
* Add detection code for abnormal pts jump when seeking previous.ulion2008-05-141-0/+14
| | | | | | | This patch make the vobsub works more accurately according to the requested pts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26765 b3059339-0415-0410-9bf9-f77b7e298cf2
* Seek by pts accurately.ulion2008-05-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26764 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix vobsub_seek use same reseek method as vobsub_get_packet did.ulion2008-01-201-12/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25819 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix code to prevent from accessing queue->packets[-1].pts that causes a crash.ulion2008-01-171-2/+1
| | | | | | | Found and patched by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25774 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix comment from unrarlib to unrar_execulion2007-12-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25471 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant code since unrarlib was removed.ulion2007-12-201-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25470 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove internal unrarlib copy, the new unrarexec code is a strict superset.diego2007-12-201-27/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25468 b3059339-0415-0410-9bf9-f77b7e298cf2
* Vobsub support tridx setting in .idx file.ulion2007-12-191-7/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25460 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use calloc instead of malloc when allocate vobsub_t.ulion2007-12-191-11/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25459 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support using unrar executable to access rar-compressed vobsub files.ulion2007-12-141-7/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25389 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix spudec to display current vobsub immediately after a seek.ulion2007-12-111-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25350 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert vobsub custom colors from rgb to yuv using a common function.ulion2007-12-091-8/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25326 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless include added in last commit by mistake.ulion2007-12-081-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25322 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move vobsub palette->yuv convert code into a common function.ulion2007-12-081-9/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25320 b3059339-0415-0410-9bf9-f77b7e298cf2
* Restore y of palette into the same value range as it was in the .ifo file.ulion2007-12-081-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25317 b3059339-0415-0410-9bf9-f77b7e298cf2
* Skip empty vobsub streams when selecting subtitles.ulion2007-12-031-2/+42
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25279 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix custom palette format from rgb to yuv, we use it as yuv in the spudec.ulion2007-12-031-2/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25277 b3059339-0415-0410-9bf9-f77b7e298cf2
* Even when vobsub is forced, .ifo file is still not necessary,ulion2007-11-291-1/+1
| | | | | | | so change the log level from error to warning. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25197 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check boundary for queue's current_index.ulion2007-11-231-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25147 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use libavutil's av_clip* instead of unreadable MIN/MAX chaos.reimar2007-03-011-9/+7
| | | | 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 mightreimar2006-12-031-2/+2
| | | | | | | 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 != 0reimar2006-10-081-3/+0
| | | | | | | 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) ↵reynaldo2006-07-141-1/+1
| | | | | | cleanups, noticed by dalias git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19079 b3059339-0415-0410-9bf9-f77b7e298cf2
* more sizeof(char) funreynaldo2006-07-131-1/+1
| | | | 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 ↵reynaldo2006-04-241-6/+3
| | | | | | 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 cygwinfaust32006-02-021-2/+2
| | | | 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]reimar2004-12-251-3/+3
| | | | 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 ↵mosu2004-11-251-0/+6
| | | | | | -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...luran2004-01-011-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11710 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix typonexus2003-12-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11696 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l found by atmosalex2003-12-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11595 b3059339-0415-0410-9bf9-f77b7e298cf2
* vobsub seeking support by Lu Ranalex2003-12-081-0/+16
| | | | 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 ↵mosu2003-10-281-3/+30
| | | | | | 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>attila2003-09-211-0/+36
| | | | | | | | | | | | | | | | | | | | | 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 win32faust32003-09-201-1/+1
| | | | 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 ↵alex2003-08-311-8/+8
| | | | | | screwed up git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10759 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove ssize_t messfaust32003-05-301-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10211 b3059339-0415-0410-9bf9-f77b7e298cf2
* MINGW32 portfaust32003-03-311-0/+3
| | | | 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.kmkaplan2003-02-281-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9512 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix.kmkaplan2003-02-281-1/+1
| | | | 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>arpi2003-01-031-1/+1
| | | | 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 aarpi2002-12-231-0/+19
| | | | | | | | | 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 VOBSUBarpi2002-11-161-1/+7
| | | | | | | | | | 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 negativearpi2002-11-011-6/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* The first language ripped is set as the default languagearpi2002-11-011-1/+4
| | | | | | | | | 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 duringkmkaplan2002-10-171-0/+14
| | | | | | | 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 v3kmkaplan2002-09-201-41/+202
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7447 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix support for negative "delay:" directive in .idx file.kmkaplan2002-09-161-3/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7418 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use RGB for palette from .IDX filekmkaplan2002-07-281-3/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6832 b3059339-0415-0410-9bf9-f77b7e298cf2
* New function vobsub_get_next_packet for subrip.kmkaplan2002-07-281-0/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6830 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vobsub palette generation compatible with windows vobsub.atmos42002-07-281-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6828 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove depency on libmpdemux streams, use ANSI IO instead.kmkaplan2002-07-231-37/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6774 b3059339-0415-0410-9bf9-f77b7e298cf2
* Lots of compatibility fixes for Windows' Vobsub reader.kmkaplan2002-07-111-35/+110
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6707 b3059339-0415-0410-9bf9-f77b7e298cf2
* MEncoder vobsub ripping support, currently not compatible with windows ↵atmos42002-07-081-6/+156
| | | | | | 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>alex2002-05-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6164 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improvment for spu subtitles.albeu2002-05-171-80/+80
| | | | | | | | | | | | 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).atmos42002-04-271-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5870 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix bug in LR's patch.atmos42002-04-261-2/+2
| | | | 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 ↵atmos42002-04-251-2/+103
| | | | | | 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.atmos42002-04-111-3/+24
| | | | | | | 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:kmkaplan2002-03-291-54/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | -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.atmos42002-02-211-10/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4788 b3059339-0415-0410-9bf9-f77b7e298cf2
* forgot to commitatmos42002-02-211-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4787 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for NULL vob->spudec before using.kmkaplan2002-01-121-10/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4115 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support vobsub without index files.kmkaplan2002-01-101-7/+16
| | | | | | | Fix off by one bug. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4086 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add vobsub support.kmkaplan2002-01-101-0/+775
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4081 b3059339-0415-0410-9bf9-f77b7e298cf2