summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* libhb: Clock/frame rate handling improvements.Bradley Sepos2015-09-101-2/+6
| | | | | | | | Allows for arbitrary frame rates between 1 and 1000 fps. Adds min/max frame rates to CLI help. Removes hardcoded instances of the internal clock rate in favor of hb_video_framerate_get_limits(). Unfortunately, much of the codebase generally refers to clock rate as frame rate, so a little extra care is still necessary going forward.
* CLI: Fix frame rate not being set without specifying --cfr/--pfr, and make ↵Bradley Sepos2015-09-101-4/+5
| | | | | | --pfr the default. This behavior matches the GUIs. The CLI help previously stated --cfr was the default when -r is set, but it didn't work.
* CLI: Fix selection of default, burned, and forced subtitle tracksJohn Stebbins2015-09-011-3/+4
| | | | | The selection needs to be based on the output track number, not the source track number.
* build: use git version info instead of svnJohn Stebbins2015-08-251-0/+10
| | | | | | Migrate from svn to git. Since our build system automatically generates version info from the svn repo, this needs to change when we move the repo to git.
* nlmeans: fix the default valuesjstebbins2015-08-171-1/+1
| | | | | | | Make the nlmeans default (when no string supplied) match "medium" preset. And make the CLI default the medium preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7402 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: fix nlmeans preset and tunejstebbins2015-08-101-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7398 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: fix some typos in ParseOptions().Rodeo2015-06-281-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7331 b64f7644-9d1e-0410-96f1-a4d463321fa5
* DXVA2: cleanup decode support checks.Rodeo2015-06-231-5/+0
| | | | | | | This should fix https://forum.handbrake.fr/viewtopic.php?f=11&t=32520 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7310 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Allow log level changes and update checks *after* hb_init()jstebbins2015-06-121-2/+6
| | | | | | | | | | | - In the CLI, this allows calling hb_init() before parsing args, which permits us to see any libhb log messages that are generated during option parsing. These messages were hidden before. - In the GUIs, this allows dynamic changes to log level. Previously an application restart was required. I have only updated the LinGui to take advantage of this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7295 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Use json job instead of jobjstebbins2015-06-091-5/+6
| | | | | | This allows libhb to log the json job for the CLI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7282 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix another dead assignment.ritsuka2015-06-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7265 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix three dead assignment found by the clang static analyzer, including the ↵ritsuka2015-06-031-4/+2
| | | | | | validation of the end chapter range. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7264 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: fix --crop optionjstebbins2015-06-011-0/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7260 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix issues with video optionsjstebbins2015-05-281-0/+20
| | | | | | | | | | Fixes: https://forum.handbrake.fr/viewtopic.php?f=10&t=32535&sid=321e6d1092fd09c8d380e13e86d1a9ee - Sanitize empty video encoder settings strings to NULL. - In the CLI, use encoder defaults if user changes the preset's video encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7237 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix display of fps in title summaryjstebbins2015-05-241-1/+1
| | | | | | | Fixes https://forum.handbrake.fr/viewtopic.php?f=12&t=32507 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7220 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix return value check for hb_presets_add_path()jstebbins2015-05-151-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7191 b64f7644-9d1e-0410-96f1-a4d463321fa5
* rotate: Use more intuitive rotation parametersjstebbins2015-05-151-11/+6
| | | | | | Instead of cryptic bit flags, allow "angle:mirror" parameter git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7189 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: use libhb preset management from linux guijstebbins2015-05-141-4/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7179 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix initialization of encode rangesjstebbins2015-05-131-0/+4
| | | | | | | | | | | The default chapter start or end was used if one but not the other of start-at/stop-at were used. Also don't overwrite current pass and pass_count status in hb_state_t while searching for the position to start encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7177 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: restore -O, -I, -P, -U, and -g optionsjstebbins2015-05-131-5/+20
| | | | | | | I inadvertainly disabled them when "simplifying" things. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7176 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix missing subtitle "Default" flag when --all-subtitles is usedjstebbins2015-05-111-0/+36
| | | | | | | Also fix case that can cause all subtitles to be added twice. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7169 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix audio codec selection when one codec specified on the command linejstebbins2015-05-091-1/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7166 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix off-by-one error in subtitle track selectionjstebbins2015-05-091-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7165 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix off-by-one audio track selectionjstebbins2015-05-061-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7160 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb,cli: add preset management to libhb, use it in clijstebbins2015-05-061-2780/+2489
| | | | | | | | This results in custom preset support in the CLI and additional command line options to fully support all preset keys. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7158 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix mingw link, undefined symbol CoTaskMemFreejstebbins2015-05-011-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7141 b64f7644-9d1e-0410-96f1-a4d463321fa5
* ports: add functions for looking up user config directoryjstebbins2015-04-191-2/+2
| | | | | | | These will be used by the CLI for loading custom user presets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7105 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: fix hb_get_cpu_count call.Rodeo2015-04-051-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7060 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Eliminate global variable hb_gui_use_hwd_flagjstebbins2015-03-291-4/+6
| | | | | | | | | | | | This global was shared between the CLI and libhb and used as a back door to force scan and encode passes to use the same ffmpeg context for hardware decoding. Aside from the fact that this context sharing should not be necessary and needs fixing, this information belongs in the hb_handle_t that is shared between the scan and the encode. So put it there and make sure the hb_handle_t get propagated to where the flag is needed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7028 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: automatically scan title when processing json jobsjstebbins2015-03-071-2/+2
| | | | | | | | | | | | | | | Simplifies the WinGui. This also changes how jobs are processed. Creating the sub-jobs for multiple passes is delayed until after scanning and immediately before running the job. Working status has also changed. Sub-job passes are identified in status with an ID that allows the frontend to definitively identify what pass is in progress. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6976 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update year to 2015.bradleys2015-02-013-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6852 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: fix turbo first pass.Rodeo2015-01-271-2/+3
| | | | | | | It was broken in revision 6738. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6819 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Work around fedora mingw pthread library requirementjstebbins2015-01-181-1/+6
| | | | | | | | | | Fedora mingw seems to require it's own pthread library which causes build conflicts with our pthread lib. So this patch distinguishes whether libpthread or libpthreadGC2 is already installed on the system and uses the appropriate system lib when found. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6766 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Simplify frontend useage of hb_add()jstebbins2015-01-121-66/+3
| | | | | | | | | Modify hb_add() to automatically add all necessary passes, so hb_add() only needs to be called once per job. It now automatically adds subtitle scan and 2-pass encoding passes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6738 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: simplify setting geometryjstebbins2014-12-231-3/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6650 b64f7644-9d1e-0410-96f1-a4d463321fa5
* eliminate job->largeFileSizejstebbins2014-12-231-15/+0
| | | | | | | It is no longer needed since we eliminated mp4v2 support git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6647 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add json APIsjstebbins2014-12-161-61/+48
| | | | | | | | | | There are several changes to job and title structs that break current windows interop code. The interop code should be changed such that it only uses json APIs. So if there is any missing features (or bugs) in these APIs, please let me know. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6602 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: build and link new jansson libjstebbins2014-12-051-1/+1
| | | | | | | No new functionality yet. To be used for new json APIs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6590 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLL: Remove -4 option as it is no longer used.sr552014-11-291-8/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6569 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Tabs -> Spacessr552014-11-181-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6529 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: add use_hwd code that went missing back into test.csr552014-11-181-0/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6528 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Tabs -> Spacessr552014-10-181-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6449 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Adding --srt-burn to help outputsr552014-10-181-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6448 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Add filter parameter validation.bradleys2014-10-151-5/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6447 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: Add libgnurx to provide POSIX regex on Windows.bradleys2014-10-151-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6445 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: update help for --rotate option to mention the new modes introduced ↵Rodeo2014-10-011-2/+6
| | | | | | before 0.9.9 ;-) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6428 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: update help for --deinterlace option after mcdeint removal.Rodeo2014-10-011-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6427 b64f7644-9d1e-0410-96f1-a4d463321fa5
* test: fix linking on kfreebsd systemsjstebbins2014-09-301-0/+2
| | | | | | | Thanks to Sebastian Ramacher for the patch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6424 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: fix dimensions problem when both width and height are specifiedjstebbins2014-08-271-0/+11
| | | | | | | | | | | | | The GUI will precompute both width and height and specify both on the command line. But then the CLI recomputes width based on height which can result in the width being changed. So, in non-anamorphic mode, disable keep_aspect so that width and heigh are both kept. And in other anamorphic modes, use custom ana when computing dimensions so that both width and height are kept (i.e. recompute par). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6369 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: make string split function aware of escaping and quotingjstebbins2014-08-211-8/+53
| | | | | | | Fixes problem with audio track names that contain commas git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6331 b64f7644-9d1e-0410-96f1-a4d463321fa5