summaryrefslogtreecommitdiffstats
path: root/test/test.c
Commit message (Collapse)AuthorAgeFilesLines
...
* cli: Fix frame rate mode when not explicitly set.Bradley Sepos2016-06-031-0/+2
|
* CLI: fix behaviour of --subtitle-lang-listJohn Stebbins2016-06-021-2/+4
| | | | It did not default to "first" subittle selection behaviour.
* cli: fix application of subtitle flags when scan enabledJohn Stebbins2016-05-191-9/+25
| | | | | forced, default, and burned flags were getting assigned to the wrong output tracks.
* remove dxva hw decode (#189)John Stebbins2016-05-171-18/+0
| | | | | | | | | * remove dxva hw decode It provides practically no speed increase even on a slow CPU and results in a speed decrease on fast CPUs. And the code is exceptionally fugly. * cli: remove USE_HWD
* cli: fix race during queue processingJohn Stebbins2016-05-051-0/+11
| | | | | | during queue processing, the pre-scan of an encode could trigger an attempt to encode using command line options, which would fail and abort the queue
* CLI: fix incorrect assumption that video quality is always positive.Tim Walker2016-04-031-2/+2
|
* cli: remove unused variables version and buildJohn Stebbins2016-03-121-2/+0
|
* Missed updating an hb_init call for the removal of updates.sr552016-03-121-1/+1
|
* Remove the CLI / LibHB Update Checker. It's been broken since we switched to ↵sr552016-03-121-31/+0
| | | | HTTPS and it's terrible code.
* cli: add support for import of GUI queue fileJohn Stebbins2016-03-121-123/+215
|
* cli: add comb detection optionsJohn Stebbins2016-03-111-2/+83
|
* qsv: fix buildJohn Stebbins2016-03-111-13/+1
| | | | I missed some of the qsv filter settings bits that needed changing.
* filters: make job filter settings an hb_dict_tJohn Stebbins2016-03-091-68/+240
| | | | | | This simplifies accessing and changing filter parameters programatically. It also changes the custom filter string format to a ':' separated list of key/value pairs.
* cli: fix constant framerateJohn Stebbins2016-03-051-1/+1
|
* deinterlace: use avfilter yadif deinterlacerJohn Stebbins2016-02-151-2/+8
|
* libhb: Add libavfilter support and pad filterJohn Stebbins2016-01-211-197/+118
| | | | | | | | | | | | | | New filter types HB_FILTER_AVFILTER and HB_FILTER_PAD. Settings for HB_FILTER_AVFILTER are the same as you would pass to avconv from the command line -vf option, except that we do not support multi-input or multi-output filters. Settings for HB_FILTER_PAD are "width:height:color:x_offset:y_offset". width x height is the size of the output frame after padding. color may be a w3c color name or RGB value (default black). x_offset, y_offset is the position of the video within the padded area (default centered). Any of the values may be omitted or "auto".
* CLI: fix data type of json key NormalizeMixLevelJohn Stebbins2016-01-151-2/+2
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/53
* Update copyright dates to 2016.Bradley Sepos2016-01-011-1/+1
|
* CLI: silence uninitialized variable warningsJohn Stebbins2015-10-201-8/+8
| | | | | None of these variables are actually unintialized, but the compiler couldn't figure this out.
* Make deinterlace/decomb behave similar to nlmeans/hqdn3dJohn Stebbins2015-10-091-13/+14
| | | | | I.e. use a dropdown to select between the filters instead of a radio button.
* cli: always check result from *alloc() functionsSean McGovern2015-10-051-1/+12
|
* 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 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
* 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-011-1/+1
| | | | 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