]> granicus.if.org Git - handbrake/log
handbrake
9 years agoLinGui: add snapshot build for ubuntu 15.04
jstebbins [Fri, 1 May 2015 17:36:32 +0000 (17:36 +0000)]
LinGui: add snapshot build for ubuntu 15.04

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

9 years agofdk-aac: bump to version 0.1.4
jstebbins [Fri, 1 May 2015 16:17:15 +0000 (16:17 +0000)]
fdk-aac: bump to version 0.1.4

And enable compiler optimizations.  It's much fater that way.

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

9 years agoMacGui: fix autocrop.
ritsuka [Fri, 1 May 2015 15:13:00 +0000 (15:13 +0000)]
MacGui: fix autocrop.

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

9 years agolibhb: Use a buffer flat to indicate EOF
jstebbins [Fri, 1 May 2015 14:47:35 +0000 (14:47 +0000)]
libhb: Use a buffer flat to indicate EOF

... instead of a 0 length buffer.
This fixes this issue:
https://forum.handbrake.fr/viewtopic.php?f=12&t=31959

Theora can create 0 length output. These 0 length frames indicate
duplicate frames. So we can't use 0 length buffers to indicate the end
of the stream.

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

9 years agoMacGui: fix built in presets update on earlier os x versions. The dot is not needed...
ritsuka [Fri, 1 May 2015 07:38:01 +0000 (07:38 +0000)]
MacGui: fix built in presets update on earlier os x versions. The dot is not needed in the extension, it worked anyway on 10.10 but not un earlier versions.

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

9 years agolibhb: fix mingw link, undefined symbol CoTaskMemFree
jstebbins [Fri, 1 May 2015 00:01:23 +0000 (00:01 +0000)]
libhb: fix mingw link, undefined symbol CoTaskMemFree

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

9 years agohb_get_user_config_directory: improvements.
Rodeo [Thu, 30 Apr 2015 19:18:19 +0000 (19:18 +0000)]
hb_get_user_config_directory: improvements.

Fix build with older MinGW-w64 toolchains.
Fix potential memory leak and crashes.

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

9 years agolibbluray: use official 0.8.0 release
jstebbins [Thu, 30 Apr 2015 18:06:05 +0000 (18:06 +0000)]
libbluray: use official 0.8.0 release

And add MINGW_HAS_SECURE_API to defines during build

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

9 years agoMacGui: fix the multiple instances alert.
ritsuka [Thu, 30 Apr 2015 16:57:16 +0000 (16:57 +0000)]
MacGui: fix the multiple instances alert.

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

9 years agoLinGui: Fix issue with editing audio or subtitles
jstebbins [Thu, 30 Apr 2015 16:28:49 +0000 (16:28 +0000)]
LinGui: Fix issue with editing audio or subtitles

The edited settings were having unpredictable effects on loading
default audio or subtitle settings when a new source was scanned.

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

9 years agolibbluray: bump to version with UDF support
jstebbins [Thu, 30 Apr 2015 16:28:44 +0000 (16:28 +0000)]
libbluray: bump to version with UDF support

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

9 years agoMacGui: fix scan progress bar.
ritsuka [Thu, 30 Apr 2015 16:17:06 +0000 (16:17 +0000)]
MacGui: fix scan progress bar.

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

9 years agoMacGui: add a new formatter to convert a hb_state_t to a textual representation.
ritsuka [Thu, 30 Apr 2015 16:04:37 +0000 (16:04 +0000)]
MacGui: add a new formatter to convert a hb_state_t to a textual representation.

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

9 years agoMacGui: cosmetics
ritsuka [Thu, 30 Apr 2015 16:02:11 +0000 (16:02 +0000)]
MacGui: cosmetics

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

9 years agoLinGui: fix dest file generateion for block devices
jstebbins [Tue, 28 Apr 2015 22:55:24 +0000 (22:55 +0000)]
LinGui: fix dest file generateion for block devices

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

9 years agoWinGui: left in a empty static style. now removed.
sr55 [Mon, 27 Apr 2015 18:31:28 +0000 (18:31 +0000)]
WinGui: left in a empty static style. now removed.

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

9 years agoWinGui: Further Minor UI tweaks. F1 Keyboard shortcut for Help.
sr55 [Mon, 27 Apr 2015 18:30:46 +0000 (18:30 +0000)]
WinGui: Further Minor UI tweaks.  F1 Keyboard shortcut for Help.

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

9 years agojson: fix packig audio track in title
jstebbins [Mon, 27 Apr 2015 14:38:59 +0000 (14:38 +0000)]
json: fix packig audio track in title

ChannelLayout was getting dropped due to missing format specifier

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

9 years agojson: fix "End" parsing of p-to-p frame range
jstebbins [Sun, 26 Apr 2015 02:08:58 +0000 (02:08 +0000)]
json: fix "End" parsing of p-to-p frame range

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

9 years agoLinGui: Allow setting p-to-p end frame beyond guessed duration
jstebbins [Sun, 26 Apr 2015 01:05:36 +0000 (01:05 +0000)]
LinGui: Allow setting p-to-p end frame beyond guessed duration

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

9 years agoLinGui: Allow setting p-to-p end time beyond guessed duration
jstebbins [Sun, 26 Apr 2015 01:02:54 +0000 (01:02 +0000)]
LinGui: Allow setting p-to-p end time beyond guessed duration

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

9 years agoWinGui: Further UI / UX Tweaks. Main body of settings disabled until the user perfor...
sr55 [Sat, 25 Apr 2015 16:35:43 +0000 (16:35 +0000)]
WinGui: Further UI / UX Tweaks.  Main body of settings disabled until the user performs a scan.
Keyboard shortcut changes:
Alt+O  -> Open Source Panel   (New)
Ctrl+O -> Open FileScan (Unchanged)
Ctrl+Shift+O  -> Open Folder  (Was Ctrl+R)
Ctrl+F (Removed)

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

9 years agop-to-p: fix seek to start pts source initial PTS != 0
jstebbins [Fri, 24 Apr 2015 22:31:47 +0000 (22:31 +0000)]
p-to-p: fix seek to start pts source initial PTS != 0

When a file demuxed by libav does not start to time 0, our seek
to the initial start pts tried to seek too far forward.

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

9 years agolibhb: Build local pkgconfig when building local autotools.
bradleys [Fri, 24 Apr 2015 16:16:14 +0000 (16:16 +0000)]
libhb: Build local pkgconfig when building local autotools.

Prevents missing pkgconfig macros causing build failures on some systems when using local autotools with system pkgconfig.

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

9 years agoports: use standardized sched_yield instead of pthread_yield
jstebbins [Thu, 23 Apr 2015 15:15:41 +0000 (15:15 +0000)]
ports: use standardized sched_yield instead of pthread_yield

Fixes build on osx

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

9 years agodemuxmpeg: Don't drop frames with bad timestamps
jstebbins [Wed, 22 Apr 2015 21:59:31 +0000 (21:59 +0000)]
demuxmpeg: Don't drop frames with bad timestamps

Just invalidate the timestamps and let the decoders interpolate.

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

9 years agostream: Improve transport stream PCR handling
jstebbins [Wed, 22 Apr 2015 21:12:21 +0000 (21:12 +0000)]
stream: Improve transport stream PCR handling

When a new PCR is seen, emit all currently cached data.  This prevents
data that was referenced to the previous PCR from being associated with
the new PCR.

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

9 years agosync: fix frame p-to-p extra audio after end frame
jstebbins [Wed, 22 Apr 2015 21:11:30 +0000 (21:11 +0000)]
sync: fix frame p-to-p extra audio after end frame

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

9 years agoLinGui: Add pending count to "Queue" toolbar button
jstebbins [Wed, 22 Apr 2015 21:01:20 +0000 (21:01 +0000)]
LinGui: Add pending count to "Queue" toolbar button

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

9 years agoWinGui: Some minor UI Improvements. Including Waiting Queue Count on the "Show Queue...
sr55 [Wed, 22 Apr 2015 19:48:04 +0000 (19:48 +0000)]
WinGui: Some minor UI Improvements. Including Waiting Queue Count on the "Show Queue" toolbar icon.

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

9 years agoLinGui: adjust tooltip line alignments
jstebbins [Wed, 22 Apr 2015 18:52:50 +0000 (18:52 +0000)]
LinGui: adjust tooltip line alignments

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

9 years agoLinGui: fix setting forces subtitles in job
jstebbins [Wed, 22 Apr 2015 17:49:18 +0000 (17:49 +0000)]
LinGui: fix setting forces subtitles in job

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

9 years agoLinGui: Remove "reload queue" dialog. The queue is always reloaded.
jstebbins [Wed, 22 Apr 2015 17:31:01 +0000 (17:31 +0000)]
LinGui: Remove "reload queue" dialog. The queue is always reloaded.

And add a new "Delete All" button to the queue to simplify clearing the queue.

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

9 years agoMacGui: Remove the "Reload queue" alert. The queue is always reloaded and the queue...
ritsuka [Wed, 22 Apr 2015 16:58:07 +0000 (16:58 +0000)]
MacGui: Remove the "Reload queue" alert. The queue is always reloaded and the queue window is shown if there are pending jobs.

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

9 years agoMacGui: implemented the NSSecureCoding protocol in HBJob. Added a compatibility class...
ritsuka [Wed, 22 Apr 2015 16:49:30 +0000 (16:49 +0000)]
MacGui: implemented the NSSecureCoding protocol in HBJob. Added a compatibility class to fall back on NSCoding on 10.7 and earlier.

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

9 years agoparam: Allow ',' as decimal separator in filter values
jstebbins [Tue, 21 Apr 2015 15:49:34 +0000 (15:49 +0000)]
param: Allow ',' as decimal separator in filter values

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

9 years agoWinGui: Minor design tweaks to the No Titles found dialog.
sr55 [Mon, 20 Apr 2015 20:54:35 +0000 (20:54 +0000)]
WinGui: Minor design tweaks to the No Titles found dialog.

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

9 years agoWinGui: Restore the "No Titles Found" dialog from previous versions of HandBrake.
sr55 [Mon, 20 Apr 2015 18:46:33 +0000 (18:46 +0000)]
WinGui: Restore the "No Titles Found" dialog from previous versions of HandBrake.

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

9 years agoMacGui: update the tooltips of the new auto passthru options.
ritsuka [Mon, 20 Apr 2015 10:44:20 +0000 (10:44 +0000)]
MacGui: update the tooltips of the new auto passthru options.

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

9 years agoports: add functions for looking up user config directory
jstebbins [Sun, 19 Apr 2015 14:38:38 +0000 (14:38 +0000)]
ports: add functions for looking up user config directory

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

9 years agoWinGui: Further UI design updates to Queue selection and Task action countdown.
sr55 [Sat, 18 Apr 2015 19:35:08 +0000 (19:35 +0000)]
WinGui: Further UI design updates to Queue selection and Task action countdown.

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

9 years agoWinGui: Adding Del shortcut to preset pane, and better warnings when deleting.
sr55 [Sat, 18 Apr 2015 19:03:56 +0000 (19:03 +0000)]
WinGui: Adding Del shortcut to preset pane, and better warnings when deleting.

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

9 years agoLinGui: Check for NULL filter settings string
jstebbins [Sat, 18 Apr 2015 18:34:40 +0000 (18:34 +0000)]
LinGui: Check for NULL filter settings string

And add more warnings where appropriate

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

9 years agofilters: Fix generation of filter string
jstebbins [Sat, 18 Apr 2015 18:34:38 +0000 (18:34 +0000)]
filters: Fix generation of filter string

When there is no "tune" and extra ':' was added to the end of the string
and caused a failure to validate the filter settings.

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

9 years agoLinGui: Use real sample rate when creating job
jstebbins [Sat, 18 Apr 2015 17:32:11 +0000 (17:32 +0000)]
LinGui: Use real sample rate when creating job

The computation of the "best" bitrate was wrong because it requires
the real samplerate and not 0 - "same as source"

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

9 years agoWinGui: Minor UI tweaks to the preset window.
sr55 [Sat, 18 Apr 2015 15:59:12 +0000 (15:59 +0000)]
WinGui: Minor UI tweaks to the preset window.

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

9 years agoWinGui: Small bug fix to handling of queue recovery when running mulitple instances...
sr55 [Sat, 18 Apr 2015 15:43:57 +0000 (15:43 +0000)]
WinGui: Small bug fix to handling of queue recovery when running mulitple instances. The GUI should not load the other app instances queue.

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

9 years agoWinGui: Add "Delete" key shortcut to the queue to delete selected items.
sr55 [Sat, 18 Apr 2015 15:36:25 +0000 (15:36 +0000)]
WinGui: Add "Delete" key shortcut to the queue to delete selected items.

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

9 years agoLinGui: Modify how dest filename is constructed for iso images
jstebbins [Sat, 18 Apr 2015 15:13:47 +0000 (15:13 +0000)]
LinGui: Modify how dest filename is constructed for iso images

Use base filename instead of iso volume label when constructing the
default destination filename.

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

9 years agoWinGui: Some further UI design tweaks.
sr55 [Sat, 18 Apr 2015 14:45:33 +0000 (14:45 +0000)]
WinGui: Some further UI design tweaks.

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

9 years agoWinGui: Misc UI fixes and fixes to the logging code for scanning that could sometimes...
sr55 [Sat, 18 Apr 2015 14:08:09 +0000 (14:08 +0000)]
WinGui: Misc UI fixes and fixes to the logging code for scanning that could sometimes cause a crash.

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

9 years agoMacGui: Add TrueHD, Flac and EAC3 auto passthru options in the default sheet.
ritsuka [Sat, 18 Apr 2015 11:28:25 +0000 (11:28 +0000)]
MacGui: Add TrueHD, Flac and EAC3  auto passthru options in the default sheet.

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

9 years agoMacGui: fix HBPicture copy method.
ritsuka [Fri, 17 Apr 2015 13:34:02 +0000 (13:34 +0000)]
MacGui: fix HBPicture copy method.

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

9 years agoMacGui: remove HBPicture dependency on HBTitle.
ritsuka [Fri, 17 Apr 2015 13:21:30 +0000 (13:21 +0000)]
MacGui: remove HBPicture dependency on HBTitle.

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

9 years agoMacGui: update the UI correctly for custom denoise preset.
ritsuka [Fri, 17 Apr 2015 12:34:52 +0000 (12:34 +0000)]
MacGui: update the UI correctly for custom denoise preset.

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

9 years agoMacGui: use the new the filter preset/tune lookup and setting validation functions.
ritsuka [Fri, 17 Apr 2015 12:32:41 +0000 (12:32 +0000)]
MacGui: use the new the filter preset/tune lookup and setting validation functions.

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

9 years agojson: fix another cut/paste error. incorrect dither parsing.
jstebbins [Mon, 13 Apr 2015 21:54:40 +0000 (21:54 +0000)]
json: fix another cut/paste error.  incorrect dither parsing.

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

9 years agoWinGui: Misc IScan API tweaks.
sr55 [Sun, 12 Apr 2015 15:03:25 +0000 (15:03 +0000)]
WinGui: Misc IScan API tweaks.

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

9 years agoWinGui: Some further refactoring of the services library. Moving all the queueing...
sr55 [Sun, 12 Apr 2015 14:25:56 +0000 (14:25 +0000)]
WinGui: Some further refactoring of the services library. Moving all the queueing functionality up to app layer for now.

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

9 years agodeccc608sub: tweak font size once again
jstebbins [Sat, 11 Apr 2015 21:50:21 +0000 (21:50 +0000)]
deccc608sub: tweak font size once again

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

9 years agoWinGui: Add a basic outline of a logging system to allow logging of the JSON and...
sr55 [Fri, 10 Apr 2015 22:29:57 +0000 (22:29 +0000)]
WinGui: Add a basic outline of a logging system to allow logging of the JSON and other types of messages.

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

9 years agoLinGui: fix pause button/resume
jstebbins [Fri, 10 Apr 2015 22:25:55 +0000 (22:25 +0000)]
LinGui: fix pause button/resume
pressing pause put the resume button into an inactive state

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

9 years agoWinGui: When Switching from x264 to another encoder, the video tab options would...
sr55 [Fri, 10 Apr 2015 21:13:16 +0000 (21:13 +0000)]
WinGui: When Switching from x264 to another encoder, the video tab options would be disabled if "Use Advanced Tab" was turned on. This is now fixed.

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

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