]> granicus.if.org Git - handbrake/log
handbrake
9 years agoWinGui: For default user presets, make sure the advanced tab shows correctly on...
sr55 [Fri, 10 Apr 2015 21:03:46 +0000 (21:03 +0000)]
WinGui:  For default user presets, make sure the advanced tab shows correctly on load when enabled.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7081 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agotext subtitles: make font height independent of cropping
jstebbins [Fri, 10 Apr 2015 16:26:53 +0000 (16:26 +0000)]
text subtitles: make font height independent of cropping

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7078 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agodecccsub608: make font size independent on the amount of cropping
jstebbins [Fri, 10 Apr 2015 16:12:40 +0000 (16:12 +0000)]
decccsub608: make font size independent on the amount of cropping
And use alignment tag \an1 instead of \a1

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7077 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMove strtok_r fallback to dedicated "compat" files.
Rodeo [Fri, 10 Apr 2015 14:56:27 +0000 (14:56 +0000)]
Move strtok_r fallback to dedicated "compat" files.

Also, check whether the toolchain already provides strtok_r instead of building it unconditionally.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7076 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: run the Xcode "convert to modern objective-c" on the entire project.
ritsuka [Thu, 9 Apr 2015 19:43:33 +0000 (19:43 +0000)]
MacGui: run the Xcode "convert to modern objective-c" on the entire project.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7075 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: fix libhb work state tracking
jstebbins [Thu, 9 Apr 2015 18:45:23 +0000 (18:45 +0000)]
LinGui: fix libhb work state tracking
I never updated this after the work state defines were updated
to bitfields.  It mostly worked, but sometimes missed transitions in state.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7074 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoreader: fix subtitle start time not advancing
jstebbins [Tue, 7 Apr 2015 23:33:14 +0000 (23:33 +0000)]
reader: fix subtitle start time not advancing

We must set a start time for subtitles or the vobsub decoder (and probably
other subtitle decoders) will assign duplicate timestamps. So when a
discontinuity occurs, make the closest guess that we can.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7072 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agodeccc608sub: don't ignore text attributes in PAC
jstebbins [Tue, 7 Apr 2015 19:38:26 +0000 (19:38 +0000)]
deccc608sub: don't ignore text attributes in PAC

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7071 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agojson: fix copy_mask (again) :(
jstebbins [Tue, 7 Apr 2015 18:56:10 +0000 (18:56 +0000)]
json: fix copy_mask (again) :(

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7070 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Fix the copy mask list.
sr55 [Tue, 7 Apr 2015 18:50:38 +0000 (18:50 +0000)]
WinGui: Fix the copy mask list.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7069 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agojson: fix audio autopassthru copy_mask and fallback
jstebbins [Tue, 7 Apr 2015 18:47:12 +0000 (18:47 +0000)]
json: fix audio autopassthru copy_mask and fallback

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7068 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agodeccc608sub: fix range for tab offsets
jstebbins [Tue, 7 Apr 2015 16:59:08 +0000 (16:59 +0000)]
deccc608sub: fix range for tab offsets

taboffset3 command was getting ignored so alignment was incorrect

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7067 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: disabled the alternate row background in the presets drawer. It didn't add...
ritsuka [Tue, 7 Apr 2015 16:16:33 +0000 (16:16 +0000)]
MacGui: disabled the alternate row background in the presets drawer. It didn't add any useful visual cue.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7066 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: changed the Preview Window and Picture Panel behaviour to avoid the hide...
ritsuka [Tue, 7 Apr 2015 16:14:30 +0000 (16:14 +0000)]
MacGui: changed the Preview Window and Picture Panel behaviour to avoid the hide and show thing when loading a new title, now they can always be opened even if no title is loaded.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7065 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agojson: fix potential crash when source file or title number doesn't exist
jstebbins [Tue, 7 Apr 2015 15:33:55 +0000 (15:33 +0000)]
json: fix potential crash when source file or title number doesn't exist

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7064 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agodeccc608sub: improve CC positioning
jstebbins [Sun, 5 Apr 2015 23:21:09 +0000 (23:21 +0000)]
deccc608sub: improve CC positioning

The safe zone margin was not wide enough and the font size was a little
too small.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7063 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agohb_dict: fix prototypes for functions that take no params
jstebbins [Sun, 5 Apr 2015 20:59:11 +0000 (20:59 +0000)]
hb_dict: fix prototypes for functions that take no params

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7062 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agodeccc608sub: fix column alignment issues
jstebbins [Sun, 5 Apr 2015 20:20:28 +0000 (20:20 +0000)]
deccc608sub: fix column alignment issues

Use a fixed width font, and insert hard spaces where necessary to allign
columns correctly in multi-line CCs.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7061 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoCLI: fix hb_get_cpu_count call.
Rodeo [Sun, 5 Apr 2015 19:33:25 +0000 (19:33 +0000)]
CLI: fix hb_get_cpu_count call.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7060 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoPropagate an error when hb_json_to_job fails.
Rodeo [Sun, 5 Apr 2015 19:25:20 +0000 (19:25 +0000)]
Propagate an error when hb_json_to_job fails.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7059 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoencx264: fix hb_dict_init call.
Rodeo [Sun, 5 Apr 2015 19:18:49 +0000 (19:18 +0000)]
encx264: fix hb_dict_init call.

Was broken since revision 6981.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7058 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: fix json job creation
jstebbins [Sun, 5 Apr 2015 19:06:10 +0000 (19:06 +0000)]
LinGui: fix json job creation
Forgot required "Enable" boolean in subtitle "Search"

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7057 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agox265: fix a conflict between Live Preview and the current job.
Rodeo [Sun, 5 Apr 2015 18:18:01 +0000 (18:18 +0000)]
x265: fix a conflict between Live Preview and the current job.

x265_cleanup would happily let x265_encoder_open overwrite the global CTU settings. Now it does nothing if an encode is in progress; any new encode will fail (if the CTU size differs), but the current encode will be unaffected.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7056 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibav: Fix failure on mingw to write date tag to mp4 files
jstebbins [Sun, 5 Apr 2015 15:32:38 +0000 (15:32 +0000)]
libav: Fix failure on mingw to write date tag to mp4 files

Replace strptime with av_small_strptime

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7054 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Updates to the latest JSON API. This enables hardware decode / encode options...
sr55 [Sun, 5 Apr 2015 13:40:13 +0000 (13:40 +0000)]
WinGui: Updates to the latest JSON API. This enables hardware decode / encode options once again.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7053 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Adding Subtitle Burn-in Behaviour Support.
sr55 [Sat, 4 Apr 2015 21:09:12 +0000 (21:09 +0000)]
WinGui: Adding Subtitle Burn-in Behaviour Support.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7052 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: fix parent of preset delete dialog
jstebbins [Sat, 4 Apr 2015 19:35:01 +0000 (19:35 +0000)]
LinGui: fix parent of preset delete dialog

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7051 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibhb: Add filter preset/tune lookup and setting validation for more filter types
jstebbins [Sat, 4 Apr 2015 14:43:39 +0000 (14:43 +0000)]
libhb: Add filter preset/tune lookup and setting validation for more filter types

All filters except for crop_scale now have preset/tune support and basic
validation.

This code could also be used by the other frontends to simplify some things.
For example, it can be used to query libhb for a list of available presets
and tunes for each filter.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7050 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibhb: Improvements and key changes to json/hb_dict_t job definitions
jstebbins [Sat, 4 Apr 2015 14:41:19 +0000 (14:41 +0000)]
libhb: Improvements and key changes to json/hb_dict_t job definitions

MetaData -> Metadata
Video {Codec} -> Video {Encoder}
Filter -> Filters
AudioList [Force] -> AudioList [Forced]

Added audio key DitherMethod

Simplified encoding range spec
Was: Range {ChapterStart, ChapterEnd, PtsToStart, PtsToStop,
            FrameToStart, FrameToStop, StartAtPreview, SeekPoints}
Now: Range {Type, Start, End, SeekPoints}

Type is "chapter", "time", "frame", or "preview".
Start and End units depend on Type. SeekPoints is only used for live preview.

Added keys for control of hardware encode/decode
OpenCL, HWDecode, QSV {Decode, AsyncDepth}

Changed the data type of CopyMask. Was an int bitmask.
Now it is an array of strings, each string describes a passthru option.
e.g. "copy:ac3"

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7049 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: remove unused function
jstebbins [Fri, 3 Apr 2015 21:18:16 +0000 (21:18 +0000)]
LinGui: remove unused function

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7048 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: more refactoring
jstebbins [Fri, 3 Apr 2015 21:12:28 +0000 (21:12 +0000)]
LinGui: more refactoring
mostly moving "settings" stuff to "values"

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7047 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: refactor dict values
jstebbins [Fri, 3 Apr 2015 17:44:19 +0000 (17:44 +0000)]
LinGui: refactor dict values
makes most dict methods a simple passthru to hb_dict

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7046 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agohb_dict: add 'const' to a few prototypes and add a couple new helper funcs
jstebbins [Fri, 3 Apr 2015 17:43:13 +0000 (17:43 +0000)]
hb_dict: add 'const' to a few prototypes and add a couple new helper funcs

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7045 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoBump libx265 to version 1.6
Rodeo [Fri, 3 Apr 2015 14:19:28 +0000 (14:19 +0000)]
Bump libx265 to version 1.6

Miscellaneous bugfixes and performance improvements.

Also, x265_cleanup lets us drop both patches.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7044 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoBump fontconfig to release 2.11.93
Rodeo [Fri, 3 Apr 2015 14:01:40 +0000 (14:01 +0000)]
Bump fontconfig to release 2.11.93

Fixes build failure with some MinGW-w64 toolchains.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7043 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: fix activation of queue pulser
jstebbins [Thu, 2 Apr 2015 18:54:34 +0000 (18:54 +0000)]
LinGui: fix activation of queue pulser

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7042 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: use hb_dict_t, hb_value_array_t, hb_value_t instead direct to json_t
jstebbins [Thu, 2 Apr 2015 17:36:06 +0000 (17:36 +0000)]
LinGui: use hb_dict_t, hb_value_array_t, hb_value_t instead direct to json_t

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7041 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibhb: use hb_dict_t, hb_value_array_t, and hb_value_t in hb_json.c
jstebbins [Thu, 2 Apr 2015 17:00:50 +0000 (17:00 +0000)]
libhb: use hb_dict_t, hb_value_array_t, and hb_value_t in hb_json.c
...instead of going direct to json_t

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7040 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibhb: log "default" filter settings when settings string is 0 length
jstebbins [Thu, 2 Apr 2015 16:11:20 +0000 (16:11 +0000)]
libhb: log "default" filter settings when settings string is 0 length

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7039 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibhb: add language lookup based on any of iso639_1/2/2b, eng_name, or native
jstebbins [Thu, 2 Apr 2015 16:08:26 +0000 (16:08 +0000)]
libhb: add language lookup based on any of iso639_1/2/2b, eng_name, or native

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7038 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibhb: add functions to lookup details of mixdown, video, audio, container
jstebbins [Thu, 2 Apr 2015 16:04:08 +0000 (16:04 +0000)]
libhb: add functions to lookup details of mixdown, video, audio, container
... from int id.
And add defines to eliminate some magic numbers.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7037 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibhb: add conversions hb_value_t <-> json
jstebbins [Thu, 2 Apr 2015 15:58:02 +0000 (15:58 +0000)]
libhb: add conversions hb_value_t <-> json

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7036 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Rename some of the models in the JSON encode folder.
sr55 [Wed, 1 Apr 2015 20:34:27 +0000 (20:34 +0000)]
WinGui: Rename some of the models in the JSON encode folder.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7035 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Refactor the JSON scan model names to be a bit clearer.
sr55 [Wed, 1 Apr 2015 20:23:13 +0000 (20:23 +0000)]
WinGui: Refactor the JSON scan model names to be a bit clearer.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7034 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Some initial re-modelling in the JSON folder. Created a "Shared" folder which...
sr55 [Wed, 1 Apr 2015 20:08:46 +0000 (20:08 +0000)]
WinGui: Some initial re-modelling in the JSON folder. Created a "Shared" folder which contains models that are used by anamorphic, encode and scan calls but are not different. Based on a patch by RandomEngy.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7033 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Enable the Auto Passthru behaviours though the JSON api copymask
sr55 [Wed, 1 Apr 2015 19:52:49 +0000 (19:52 +0000)]
WinGui: Enable the Auto Passthru behaviours though the JSON api copymask

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7032 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: fix unused variable warning.
jstebbins [Mon, 30 Mar 2015 21:14:03 +0000 (21:14 +0000)]
LinGui: fix unused variable warning.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7031 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: fix error messages
jstebbins [Mon, 30 Mar 2015 21:13:36 +0000 (21:13 +0000)]
LinGui: fix error messages
They should be going to stderr instead of stdout.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7030 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoffmpeg: remove obsolete configure option.
Rodeo [Sun, 29 Mar 2015 18:03:53 +0000 (18:03 +0000)]
ffmpeg: remove obsolete configure option.

Fixes the following:
"WARNING: avserver has been removed, the --disable-avserver option is only provided for compatibility and will be removed in the future"

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7029 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibhb: Eliminate global variable hb_gui_use_hwd_flag
jstebbins [Sun, 29 Mar 2015 16:22:30 +0000 (16:22 +0000)]
libhb: Eliminate global variable hb_gui_use_hwd_flag

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

9 years agoWinGui: Add TrueHD, Flac and EAC3 Passthru, and EAC3 encoder options. Fixed No Audio...
sr55 [Sun, 29 Mar 2015 15:57:53 +0000 (15:57 +0000)]
WinGui:  Add TrueHD, Flac and EAC3 Passthru, and EAC3 encoder options. Fixed No Audio Behaviour. Misc other experimental UX/UI code.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7027 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoRemove unused hb_get_scancount function
ritsuka [Sun, 29 Mar 2015 07:02:00 +0000 (07:02 +0000)]
Remove unused hb_get_scancount function

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7026 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: refresh mingw build of gtk UI
jstebbins [Sat, 28 Mar 2015 02:02:37 +0000 (02:02 +0000)]
LinGui: refresh mingw build of gtk UI

Fixes a couple issues.  adds qsv support.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7025 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: move ui xml to GResource
jstebbins [Fri, 27 Mar 2015 19:18:30 +0000 (19:18 +0000)]
LinGui: move ui xml to GResource

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7024 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: build icon resources from icons
jstebbins [Thu, 26 Mar 2015 23:08:36 +0000 (23:08 +0000)]
LinGui: build icon resources from icons
...instead of committing 22MB icon resource file to svn

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7023 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: move data resources into GResource
jstebbins [Thu, 26 Mar 2015 22:56:25 +0000 (22:56 +0000)]
LinGui: move data resources into GResource

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7022 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: move icons into a GResource
jstebbins [Thu, 26 Mar 2015 22:13:24 +0000 (22:13 +0000)]
LinGui: move icons into a GResource

This allows me to eliminate a warning from gtk+-3.14 about deprecated
gtk_icon_theme_add_builtin_icon().

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7021 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: fix queue file open dialog filters
jstebbins [Thu, 26 Mar 2015 19:17:01 +0000 (19:17 +0000)]
LinGui: fix queue file open dialog filters

Forgot to change these to json from xml/plist

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7020 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: fix activity window scrolling
jstebbins [Thu, 26 Mar 2015 16:55:02 +0000 (16:55 +0000)]
LinGui: fix activity window scrolling

Yet another work-around for a gtk+-3 problem.  They now delay updating
the scrollbar adjustment to an idle loop callback.  So I must delay
my scroll-to-bottom code so that it occurrs after their update.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7014 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: work around yet another gtk+-3 bug
jstebbins [Wed, 25 Mar 2015 21:32:07 +0000 (21:32 +0000)]
LinGui: work around yet another gtk+-3 bug
GtkTextView gets confused if you try to set it's contents again while
in a callback for a change to the TextView.  So prevent such behavior
by the app.  Requires updating the x264Option TextView in the background
(idle loop) rather than immediately.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7013 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: fix UI issue with x264Option updates
jstebbins [Wed, 25 Mar 2015 21:26:37 +0000 (21:26 +0000)]
LinGui: fix UI issue with x264Option updates

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7012 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: init VideoPreset with valid value
jstebbins [Wed, 25 Mar 2015 19:39:00 +0000 (19:39 +0000)]
LinGui: init VideoPreset with valid value

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7011 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: add an alert window to show the exceptions not handled. Hopefully it will...
ritsuka [Tue, 24 Mar 2015 07:32:31 +0000 (07:32 +0000)]
MacGui: add an alert window to show the exceptions not handled. Hopefully it will make it easier for users to report this kind of issue.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7010 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibav: bump to v11.3
jstebbins [Mon, 23 Mar 2015 17:56:56 +0000 (17:56 +0000)]
libav: bump to v11.3

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7009 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: bind angle popup to the angle property of HBJob.
ritsuka [Thu, 19 Mar 2015 19:44:22 +0000 (19:44 +0000)]
MacGui: bind angle popup to the angle property of HBJob.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7007 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: fix the error variable in canScan:error: , it was dereferenced one time too...
ritsuka [Thu, 19 Mar 2015 16:28:09 +0000 (16:28 +0000)]
MacGui: fix the error variable in canScan:error: , it was dereferenced one time too many.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7006 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: add a missing ownership qualifier needed by ARC.
ritsuka [Thu, 19 Mar 2015 16:12:45 +0000 (16:12 +0000)]
MacGui: add a missing ownership qualifier needed by ARC.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7005 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: add defaults for new copy mask options
jstebbins [Wed, 18 Mar 2015 21:21:31 +0000 (21:21 +0000)]
LinGui: add defaults for new copy mask options

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7004 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: fix off-by-one error in subtitle track selection
jstebbins [Wed, 18 Mar 2015 21:20:06 +0000 (21:20 +0000)]
LinGui: fix off-by-one error in subtitle track selection

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7003 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: update generation of audio copy mask with new copy options
jstebbins [Wed, 18 Mar 2015 21:18:34 +0000 (21:18 +0000)]
LinGui: update generation of audio copy mask with new copy options

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7002 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agorendersub: remove unnecessary filter settings
jstebbins [Wed, 18 Mar 2015 15:28:47 +0000 (15:28 +0000)]
rendersub: remove unnecessary filter settings

crop comes from job during post_init so isn't necessary.
also, fix frame size (again) :(

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7001 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: fix a crash in the add preset and add titles to queue sheets introduced by...
ritsuka [Tue, 17 Mar 2015 19:02:47 +0000 (19:02 +0000)]
MacGui: fix a crash in the add preset and add titles to queue sheets introduced by the ARC conversion.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7000 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: fix live preview crash caused by the ARC conversion.
ritsuka [Tue, 17 Mar 2015 18:27:39 +0000 (18:27 +0000)]
MacGui: fix live preview crash caused by the ARC conversion.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6999 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: clean up the preview controller, and fix the preview not updating when a...
ritsuka [Tue, 17 Mar 2015 18:04:22 +0000 (18:04 +0000)]
MacGui: clean up the preview controller, and fix the preview not updating when a new title is selected.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6998 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agorendersub: fix text rendering frame size
jstebbins [Tue, 17 Mar 2015 17:11:28 +0000 (17:11 +0000)]
rendersub: fix text rendering frame size

Rendered text was in wrong position and sometimes dropped due to being
out of frame.

This got broken when I added filter post_init to set cropping *after*
it is determined by the cropscale filter.  I forgot to check text rendering
initialization when I made this change.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6997 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: convert the mac gui to Objective-C ARC.
ritsuka [Tue, 17 Mar 2015 13:56:21 +0000 (13:56 +0000)]
MacGui: convert the mac gui to Objective-C ARC.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agodecomb: oops, fix overread when height is mod 4
jstebbins [Mon, 16 Mar 2015 15:48:55 +0000 (15:48 +0000)]
decomb: oops, fix overread when height is mod 4

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6994 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: add widgets for eac3, truehd, and flac autopassthru
jstebbins [Sun, 15 Mar 2015 22:10:53 +0000 (22:10 +0000)]
LinGui: add widgets for eac3, truehd, and flac autopassthru

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6993 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agomuxavformat: add "creation_time" metadata
jstebbins [Sun, 15 Mar 2015 15:45:16 +0000 (15:45 +0000)]
muxavformat: add "creation_time" metadata

Tags mp4 files with current time.  This was previously done by mp4v2 for us.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6991 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agodecomb: fix green line when source hight is modulus 2
jstebbins [Sat, 14 Mar 2015 21:23:03 +0000 (21:23 +0000)]
decomb: fix green line when source hight is modulus 2

decomb requires mod 4 height.  we pad our frame buffer heights to allow
for this kind of thing, but need to allow decomb to operate on those extra
blank lines.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6989 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Make the anamorphic objects in the services library public.
sr55 [Sat, 14 Mar 2015 19:45:53 +0000 (19:45 +0000)]
WinGui: Make the anamorphic objects in the services library public.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6988 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Fixed the temp Property Changed Base Impl.
sr55 [Sat, 14 Mar 2015 17:34:12 +0000 (17:34 +0000)]
WinGui: Fixed the temp Property Changed Base Impl.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6987 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Remove the Caliburn Micro / Castle dependency in The services library, and...
sr55 [Sat, 14 Mar 2015 17:16:58 +0000 (17:16 +0000)]
WinGui: Remove the Caliburn Micro / Castle dependency in The services library, and make the low-level json api public.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6986 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibhb: fix building with QSV enabled.
Rodeo [Fri, 13 Mar 2015 19:29:20 +0000 (19:29 +0000)]
libhb: fix building with QSV enabled.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6985 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Add the word "sources" to the quality tooltip to make it marginally clearer.
sr55 [Thu, 12 Mar 2015 20:44:14 +0000 (20:44 +0000)]
WinGui: Add the word "sources" to the quality tooltip to make it marginally clearer.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6984 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agojson: fix crash when foreign audio search is *not* enabled
jstebbins [Wed, 11 Mar 2015 14:42:33 +0000 (14:42 +0000)]
json: fix crash when foreign audio search is *not* enabled

Also, prevent crashes that occur when the json is not properly parsed.
It will still fail to encode, but we will capture the parse failure in
the log.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6983 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Fix the Encoder Tune option.
sr55 [Mon, 9 Mar 2015 15:33:05 +0000 (15:33 +0000)]
WinGui: Fix the Encoder Tune option.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6982 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agolibhb: use jansson for hb_dict
jstebbins [Mon, 9 Mar 2015 15:05:47 +0000 (15:05 +0000)]
libhb: use jansson for hb_dict

This paves the way to doing preset processing in libhb.  Initially for the CLI
but other frontends may benefit eventually.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6981 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoMacGui: simplify the encoding state string creation code
ritsuka [Sun, 8 Mar 2015 06:04:14 +0000 (06:04 +0000)]
MacGui: simplify the encoding state string creation code

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6978 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Updating the app to handle the latest JSON API change regarding the Automatic...
sr55 [Sat, 7 Mar 2015 22:54:38 +0000 (22:54 +0000)]
WinGui: Updating the app to handle the latest JSON API change regarding the Automatic title scan on encode. This Simplifies the API in the services library.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6977 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agojson: automatically scan title when processing json jobs
jstebbins [Sat, 7 Mar 2015 22:25:48 +0000 (22:25 +0000)]
json: automatically scan title when processing json jobs

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

9 years agoLinGui: remove unused function
jstebbins [Sat, 7 Mar 2015 20:53:21 +0000 (20:53 +0000)]
LinGui: remove unused function

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6975 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: convert resource files to json
jstebbins [Sat, 7 Mar 2015 17:13:28 +0000 (17:13 +0000)]
LinGui: convert resource files to json

Default presets, internal settings defaults, and widget dependency
files are now all json.  No more plists!

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6974 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: rename resource file since it's no longer a plist
jstebbins [Sat, 7 Mar 2015 17:00:34 +0000 (17:00 +0000)]
LinGui: rename resource file since it's no longer a plist

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6973 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: clean settings better before writing to presets file
jstebbins [Sat, 7 Mar 2015 16:48:41 +0000 (16:48 +0000)]
LinGui: clean settings better before writing to presets file

Some internal settings were getting written out to the presets file.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6972 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Stripping out a lot of legacy abstraction code for the scan service.
sr55 [Fri, 6 Mar 2015 22:36:10 +0000 (22:36 +0000)]
WinGui: Stripping out a lot of legacy abstraction code for the scan service.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6971 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: add methods for reading and writing json config files
jstebbins [Fri, 6 Mar 2015 22:17:34 +0000 (22:17 +0000)]
LinGui: add methods for reading and writing json config files

queue, preferences and app resources are now stored in json.
presets are not yet stored as json, pending sync with other platforms

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6970 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Restore the preview functionality after refactoring.
sr55 [Fri, 6 Mar 2015 19:40:08 +0000 (19:40 +0000)]
WinGui: Restore the preview functionality after refactoring.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6969 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoLinGui: change settings dict from glib to jansson
jstebbins [Fri, 6 Mar 2015 18:12:27 +0000 (18:12 +0000)]
LinGui: change settings dict from glib to jansson

This will allow for preferences, presets, and queue files to be
written as json instead of plists (currently still plists).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6968 b64f7644-9d1e-0410-96f1-a4d463321fa5

9 years agoWinGui: Moving some more namespaces.
sr55 [Thu, 5 Mar 2015 21:05:26 +0000 (21:05 +0000)]
WinGui: Moving some more namespaces.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6967 b64f7644-9d1e-0410-96f1-a4d463321fa5