summaryrefslogtreecommitdiffstats
path: root/contrib/libdvdnav
Commit message (Collapse)AuthorAgeFilesLines
* add dvd main feature title detectionjstebbins2010-04-201-0/+137
| | | | | | | | | | | | scans the dvd menus and presses buttons to see where they might lead. when a button press leads to a title, i check to see if it is the longest seen thus far and save it's index. this only applies when dvdnav is enabled. when dvdread is in use, the longest title of all the titles is flagged as the "main feature" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3245 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix some dvdnav hangsjstebbins2010-04-171-0/+25
| | | | | | | | | | title changes seem to confuse the vm sometimes. so do a dvdnav_reset whenever a title change is going to happen. Also, fix dvdnav_reset since it would deadlock on a mutex when called. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3240 b64f7644-9d1e-0410-96f1-a4d463321fa5
* disable asserts in libdvdnav except when configured with --debug=maxjstebbins2010-03-111-0/+4
| | | | | | | | dvdnav asserts on things are are almost never fatal. so lets not crash on them. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3159 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix another MTR feature title extraction issuejstebbins2009-11-271-7/+54
| | | | | | | | jump instructions to titles which were removed by MTR caused asserts. now such jump instructions just transition to the Exit state. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2988 b64f7644-9d1e-0410-96f1-a4d463321fa5
* a better patch for handling MTR missing menu scenariojstebbins2009-11-162-17/+110
| | | | | | | | | | | The previous method was not very robust and we found corner cases that broke. This new method explicitly checks for the existance of a menu whenever the vm attempts to transition to a menu. If there is no menu, it enters the Exit state. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2940 b64f7644-9d1e-0410-96f1-a4d463321fa5
* dvdnav: fix crash when poorly masterd disc has no menusjstebbins2009-10-121-0/+17
| | | | | | | | | Mac The Ripper, when in "Main Feature Extraction" mode, likes to create an image with no menus, but leaves navigation commands in place that jump to the non-existing menu. libdvdnav doesn't like this much. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2877 b64f7644-9d1e-0410-96f1-a4d463321fa5
* dvdnav: improved patch that guarantees forward seek moves position forwardjstebbins2009-09-141-20/+50
| | | | | | | The previous patch worked only for SEEK_CUR. This patch is more general. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2821 b64f7644-9d1e-0410-96f1-a4d463321fa5
* dvdnav: read error recoveryjstebbins2009-09-121-0/+70
| | | | | | | | | - patch libdvdnav seek to guarantee the position will move forward when making a seek request to a position that is after the current position - when a read error is detected, seek forward and retry. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2815 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build system: some changes that simplify things for packaging toolsjstebbins2009-08-241-0/+28
| | | | | | | | | | | | - Add DESTDIR to install path for HandBrakeCLI - Modify linux packaging rules for deb and rpm packages to use DESTDIR - lingui: only update icon cache during install if DESTDIR is not set - patch out the hardcoded install path for m4 macros in libdvdread and libdvdnav when uid==0 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2774 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libdvdnav: add patch that moves reading title label below validity checksjstebbins2009-06-021-0/+21
| | | | | | | | this eliminates the garbage title information libdvdnav spewed to stderr git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2473 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Handle titles that use more than one PGC (like the one in this thread: ↵van2009-05-161-0/+22
| | | | | | | | | | http://forum.handbrake.fr/viewtopic.php?f=5&t=10678&p=55575&hilit=genesis#p55620). - Make pgcn_map local rather than static since there can be simultaneous scans from both GUI and queue service threads and statics aren't thread safe. Also make map 32 bytes since standard allows only 255 PGCs per title. - Fix minor bugs in NextPgcn (used pgcn rather than next_pgcn so tested wrong bit) and dvdnav_seek (missing 'break' & extraneous 'while'). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2420 b64f7644-9d1e-0410-96f1-a4d463321fa5
* dvdnav: improve title scanningjstebbins2009-05-011-0/+214
| | | | | | | | | | | - looks for ptt with longest pgc sequence instead of just picking first ptt solves many 'short title' problems - constructs chapters from the pg's within the pgc's instead of using ptt's solve the problem of ptt's that point to an intro pgc instead of to the actual chapter position in the title. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2361 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add libdvdnav supportjstebbins2009-04-274-0/+44
emulates the vm of a dvd player in order to navigate the disc more reliably it is optional and disabled by default CLI option '--dvdnav' enables. GUI's have a new option in preferences. When dvdnav is enabled, you can also select angles (cli '--angle') git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2355 b64f7644-9d1e-0410-96f1-a4d463321fa5