ritsuka [Fri, 8 Aug 2014 05:55:01 +0000 (05:55 +0000)]
MacGui: removed a old check on the scan count from the era when the MacGui used a single libhb instance to encode and scan, and fixed a bug it was hiding: spurious calls to hb_get_state outside the updateUI loop were masking the HB_STATE_WORKDONE and HB_STATE_SCANDONE states, replaced them with hb_get_state2.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6274
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Thu, 7 Aug 2014 13:54:14 +0000 (13:54 +0000)]
MacGui: improved the presets management
Added a class to manage the presets (HBPresetsManager) and moved the presets drawer code to a new view controller (HBPresetsViewController).
Removed the limitation of two nested folders and added a way to add to custom folders.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6273
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 6 Aug 2014 20:24:23 +0000 (20:24 +0000)]
libav: fix decoding of mpeg4 in transport streams
There was a chicken & egg problem in the initialization sequence. mpeg4 only
worked in non-transport streams because we use libav for demuxing these.
The initializion of libav demux causes an additional initialization of the
codec which hides the problem.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6272
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 6 Aug 2014 17:38:05 +0000 (17:38 +0000)]
libav: fix mp4 chapter character encoding
The encoding was not being flagged as UTF8
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6271
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 6 Aug 2014 17:34:08 +0000 (17:34 +0000)]
libhb: fix mp4 audio track titles
mp4 audio track titles were not being applied by libavformat
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6270
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 6 Aug 2014 17:11:41 +0000 (17:11 +0000)]
libhb: fix mp4 post tagging problems
A couple common mp4 taggers (mp3Tag and iTunes) fail to tag files
that have the Nero chapter atom (chpl). This atom was added when
we switched to libavformat for muxing. I haven't found any players
yet that rely on this for chapters. If we ever find any, we can
consider adding an option somewhere to enable chpl.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6269
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Tue, 5 Aug 2014 07:49:22 +0000 (07:49 +0000)]
MacGui: Modernized the objc syntax of HBAudio/HBAudioController and avoided the use of KVO to observer changes inside the same class.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6268
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Mon, 4 Aug 2014 16:46:17 +0000 (16:46 +0000)]
MacGui: simplified the way the audio tracks are stored in the queue.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6267
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 4 Aug 2014 15:05:43 +0000 (15:05 +0000)]
LinGui: Don't allow adding embedded subtitls when there are none
Fixes a crash when attempting to switch subtitle dialog to embedded
subtitle view.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6266
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 4 Aug 2014 14:45:53 +0000 (14:45 +0000)]
LinGui: fix width of deblock slider
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6265
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Mon, 4 Aug 2014 07:12:12 +0000 (07:12 +0000)]
MacGui: Adds a new sheet for audio defaults (presets), uses the same preset keys as the LinGui.
The built-in presets still use the languages from the Audio preferences.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6264
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Mon, 4 Aug 2014 07:05:06 +0000 (07:05 +0000)]
MacGui: fixed a number of missing release.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6263
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sun, 3 Aug 2014 11:24:20 +0000 (11:24 +0000)]
MacGui: updated Preferences.xib to the new format.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6262
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sun, 3 Aug 2014 11:00:34 +0000 (11:00 +0000)]
MacGui: enabled type select in the languages table view.
Improved the subtitles defaults selection to avoid adding the same track twice.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6261
b64f7644-9d1e-0410-96f1-
a4d463321fa5
randomengy [Sun, 3 Aug 2014 04:33:09 +0000 (04:33 +0000)]
Interop: Added support for NL-Means denoise.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6260
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sat, 2 Aug 2014 16:18:20 +0000 (16:18 +0000)]
MacGui: set the import/export chapters buttons size to small in an effort to use the same button size in the whole app (and the mini size on Yosemite is hard to read)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6259
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sat, 2 Aug 2014 16:14:16 +0000 (16:14 +0000)]
MacGui: add drag & drop to rearrange languages in the subtitles default panel.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6258
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 2 Aug 2014 15:48:55 +0000 (15:48 +0000)]
WinGui: Force 2dp on Preview %
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6257
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 2 Aug 2014 15:18:50 +0000 (15:18 +0000)]
WinGui: Fix a styling issue on the preview window. Disable libhb encode for the upcoming release so that users don't inadvertently turn it on. Made the new preview window an optional setting, off by default as it's a Alpha feature. (See Preferences)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6256
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sat, 2 Aug 2014 08:26:00 +0000 (08:26 +0000)]
MacGui: upgrade more xib files to the latest version.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6255
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Fri, 1 Aug 2014 07:34:50 +0000 (07:34 +0000)]
MacGui: corrected the label alignment in the add preset window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6254
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Fri, 1 Aug 2014 07:10:58 +0000 (07:10 +0000)]
MacGui: added some tooltips to the subtitles defaults window and made the defaults buttons in the subtitles tab more visible.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6253
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Thu, 31 Jul 2014 17:11:14 +0000 (17:11 +0000)]
MacGui: removed another duplicated method to get the Application Support path.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6252
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Thu, 31 Jul 2014 17:02:24 +0000 (17:02 +0000)]
MacGui: remove the DiskArbitration framework from the Xcode project and the MACOSX_DEPLOYMENT_TARGET setting.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6251
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Thu, 31 Jul 2014 12:01:56 +0000 (12:01 +0000)]
MacGui: fixed a memory leak.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6250
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Thu, 31 Jul 2014 11:59:14 +0000 (11:59 +0000)]
MacGui: use the native language if available in the subtitles table and languages selection table.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6249
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 30 Jul 2014 22:09:44 +0000 (22:09 +0000)]
fix comment in isIframe()
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6248
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 30 Jul 2014 22:08:34 +0000 (22:08 +0000)]
libhb: add i-frame detection for mpeg4 ts/ps streams
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6247
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 30 Jul 2014 22:06:08 +0000 (22:06 +0000)]
libhb: fix potential seg fault in hb_hexdump
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6246
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 30 Jul 2014 18:54:46 +0000 (18:54 +0000)]
LinGui: protect against failure to get preview image
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6245
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Wed, 30 Jul 2014 06:30:21 +0000 (06:30 +0000)]
MacGui: check if the image returned by hb_get_preview2 is null to avoid a crash. The preview window will try to show the number of previews selected in the preferences, but an already loaded title might not have enough preview images.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6244
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Tue, 29 Jul 2014 20:19:38 +0000 (20:19 +0000)]
MacGui: use the new preview generation method hb_get_preview2.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6243
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 29 Jul 2014 18:40:38 +0000 (18:40 +0000)]
libhb: add new function for retrieving previews
This new function has a couple advantages over the old one (which we
should phase out).
It does not require hb_job_t as a parameter, instead it uses hb_ui_geometry_t
which is a smaller and simpler struct. The entire job struct is overkill as
input to this function.
It returns an hb_image_t that fully describes the returned image instead of
just a uint8_t array. The caller does not have to make assumptions about image
size, line stide, or pixel format since hb_image_t specifies these things.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6242
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Tue, 29 Jul 2014 18:38:01 +0000 (18:38 +0000)]
MacGui: Implemented a configuration panel similar to the win/lin gui one for the subtitles defaults, and added some more options from the other guis (add all, remove all).
The SubtitleAddForeignAudioSubtitle setting will be added later after the automatic audio selection is done.
Fixed a bug where HandBrake used 50% of cpu time if the subtitles table view was selected.
Refactored a big part of HBSubtitlesController to make it works with the new automatic options and to cleaned the table view data source.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6241
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 28 Jul 2014 01:10:04 +0000 (01:10 +0000)]
cli: always keep display aspect unless using custom anamorphic mode
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6240
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 21 Jul 2014 15:01:13 +0000 (15:01 +0000)]
LinGui/CLI/libhb: add nlmeans denoise filter to lingui
Move nlmeans preset&tune parsing from cli to libhb
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6239
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Sat, 19 Jul 2014 08:22:28 +0000 (08:22 +0000)]
MacGui: Used a different api in HBDVDDetector to avoid DiskArbitration crashes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6238
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Thu, 17 Jul 2014 15:31:52 +0000 (15:31 +0000)]
MacGUI: removed an unneeded __bridge in HBDVDDetector. Might fix a crash in the nightly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6237
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 16 Jul 2014 21:54:33 +0000 (21:54 +0000)]
cli: allow user cli options to override defaults for fallback audio encoder
Solves: https://forum.handbrake.fr/viewtopic.php?f=10&t=28074&sid=
68d8c5bfffd7081625bcd56fb7c4dad1
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6236
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 16 Jul 2014 21:48:11 +0000 (21:48 +0000)]
libhb: Improve handling of streams with broken video timestamps
Addresses https://forum.handbrake.fr/viewtopic.php?f=12&t=30307&p=140045#p139847
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6235
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 16 Jul 2014 21:46:03 +0000 (21:46 +0000)]
cli: Simplify output geometry calculation
Fix bug where non-anamorphic mode ignores modulus
Change default modulus to 2
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6234
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Wed, 16 Jul 2014 12:00:21 +0000 (12:00 +0000)]
MacGui: Replaced some deprecated functions in HBDVDDetector and ignored the QTKit deprecations warnings for now. Grouped some files in the Xcode project.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6233
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Wed, 16 Jul 2014 06:20:57 +0000 (06:20 +0000)]
MacGui: moved two methods used by the whole app to HBUtilities.m:
- appSupportPath:
- writeToActivityLog:
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6232
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Tue, 15 Jul 2014 18:30:51 +0000 (18:30 +0000)]
MacGUI: Refactored the controller code for the video/audio/subtitles/chapters view:
Added a xib file and a NSViewController subclass for each tab of the main HandBrake window.
Each view controller now to responds to the HBContainerChangedNotification and HBTitleChangedNotification notifications instead of using a custom way to notify changes.
Converted the modified .xibs to the Xcode 5.1 format.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6231
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 15 Jul 2014 17:41:00 +0000 (17:41 +0000)]
LinGui: work around bug in GtkScaleButton
When the button value is updated programatically, the update event is not
sent and therefore the label is not updated. So update the label manually
instead of relying on the event to trigger the update.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6230
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 14 Jul 2014 16:46:40 +0000 (16:46 +0000)]
libhb: work around libav decoder error durint p-to-p encoding
In some cases, initial data when in p-to-p mode causes libav decoder
initialization to fail. This only happens when multi-threaded encoding
is enabled.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6229
b64f7644-9d1e-0410-96f1-
a4d463321fa5
ritsuka [Fri, 11 Jul 2014 18:22:43 +0000 (18:22 +0000)]
MacGUI: Expanded the auto name feature to make it as powerful as the WinGUI counterpart.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6228
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 5 Jul 2014 14:37:53 +0000 (14:37 +0000)]
WinGui: Adding support for Nlmeans to the front-end. Plist keys still tbd.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6227
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 1 Jul 2014 17:21:05 +0000 (17:21 +0000)]
libhb: fix typo in flag definition
NO_IDR and SCAN_COMPLETE values overlapped
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6226
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 30 Jun 2014 16:15:52 +0000 (16:15 +0000)]
libav: fix decoding of multi-object PGS
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6225
b64f7644-9d1e-0410-96f1-
a4d463321fa5
bradleys [Sat, 28 Jun 2014 16:41:51 +0000 (16:41 +0000)]
libhb: Improve nlmeans edgeboost prefilter.
Fixes a typo (1/27 instead of 1/127) that caused edgeboost to match on nearly everything, and tweaks this number slightly.
Adds a post-processing step to handle marked pixels having too few marked neighboring pixels as false positives.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6224
b64f7644-9d1e-0410-96f1-
a4d463321fa5
bradleys [Fri, 27 Jun 2014 22:11:31 +0000 (22:11 +0000)]
libhb: Add median prefilter to nlmeans.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6223
b64f7644-9d1e-0410-96f1-
a4d463321fa5
bradleys [Wed, 25 Jun 2014 22:29:45 +0000 (22:29 +0000)]
manicure: Allow manicure to be included in other scripts.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6222
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 25 Jun 2014 16:26:21 +0000 (16:26 +0000)]
bd: fix long delays caused by updated libbluray
bd_seek and the new m2ts_filter in libbluray have a bad interaction.
So use bd_seek_time instead.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6221
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 24 Jun 2014 22:06:06 +0000 (22:06 +0000)]
LinGui: cleanup
use hb_set_anamorphic_size2 instead of hb_set_anamorphic_size
simplify preview generation code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6220
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 24 Jun 2014 17:50:05 +0000 (17:50 +0000)]
WinGui: unbreak interop job structure
I broke it here https://trac.handbrake.fr/changeset/6215
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6219
b64f7644-9d1e-0410-96f1-
a4d463321fa5
bradleys [Sun, 22 Jun 2014 18:16:08 +0000 (18:16 +0000)]
CLI: Remove unnecessary include in last commit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6218
b64f7644-9d1e-0410-96f1-
a4d463321fa5
bradleys [Sun, 22 Jun 2014 18:11:55 +0000 (18:11 +0000)]
CLI: Improve nlmeans-tune logging and error handling.
The latter fixes a compiler issue.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6217
b64f7644-9d1e-0410-96f1-
a4d463321fa5
bradleys [Thu, 19 Jun 2014 21:44:37 +0000 (21:44 +0000)]
libhb: New denoiser, nlmeans.
Non-local means averages multiple patches of similar pixels together, preserving similarities and attenuating variance (usually noise). This is typically more effective than lowpass and more faithfully restores the appearance of structure and detail found in the original source, especially in the high frequency range. Parameters for origin patch weight tuning and pre-filtering further improve on the original algorithm.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6216
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 18 Jun 2014 21:26:44 +0000 (21:26 +0000)]
macui/cli/libhb: cleanup
macui: Simplifies code in Controller.m and fixes a few bugs
macui: Fixes "Windows 8 Phone" preset aspect ratio problem
macui: round up to next mod boundary when limiting to title dimensions - crop
libhb: Eliminates hb_fix_aspect and hb_set_size functions.
libhb: Makes hb_validate_size a passthru to hb_set_anamorphic_size
cli: eliminage use of hb_validate_size
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6215
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 14 Jun 2014 19:06:44 +0000 (19:06 +0000)]
WinGui: One more missing change.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6214
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 14 Jun 2014 18:59:35 +0000 (18:59 +0000)]
WinGui: Missing file from last checkin.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6213
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 14 Jun 2014 18:58:22 +0000 (18:58 +0000)]
WinGui: Minor interop update.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6212
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 13 Jun 2014 20:37:56 +0000 (20:37 +0000)]
decpgssub: partial fix for "multi-object" PGS subs
We were packaging multiple subtitle packets with the same pts and passing
down to rendersub which would then throw away all but the last sub with
a given pts. So put all AVSubtitleRects into the same hb_buffer_t.
A patch to libav is also required to fix the multi-object problem.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6211
b64f7644-9d1e-0410-96f1-
a4d463321fa5
randomengy [Wed, 11 Jun 2014 03:45:16 +0000 (03:45 +0000)]
Interop: Fixed a bug that was causing crashes on AAC passthrough. We were clobbering the private data section with zeroes. Also added support for passing through a track if it's possible.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6210
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 10 Jun 2014 17:17:13 +0000 (17:17 +0000)]
macui: fix PcitureController geometry calculations
simplifies the code and makes it work better
also updates preview window size calculations
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6209
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 7 Jun 2014 12:56:22 +0000 (12:56 +0000)]
WinGui: Fix bad tooltip style
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6208
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 29 May 2014 19:59:57 +0000 (19:59 +0000)]
libhb: Fix decoding avi with palette
... and probably other formats that use a palette.
The palette is stored in AVPacket side data which we did not read. So
read the side data and stash it in hb_buffer_t so that it can be used
later by the decoder.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6207
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 27 May 2014 18:40:27 +0000 (18:40 +0000)]
libhb: fix overwriting of source path
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6206
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 24 May 2014 17:25:48 +0000 (17:25 +0000)]
WinGui: Don't grab previews when the preview window hasn't been opened. (Note, there is still a crash that sometimes happens for some resolutions that needs fixed, but the UI shouldn't crash anymore if the window hasn't been opened)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6205
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 23 May 2014 15:58:12 +0000 (15:58 +0000)]
deccc608sub: fix positioning once again
after last change, CCs were getting positioned too far into the middle of
the image.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6204
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 22 May 2014 23:33:10 +0000 (23:33 +0000)]
deccc608sub: fix invalid subtitle position when extreme cropping applied.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6203
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 22 May 2014 20:15:29 +0000 (20:15 +0000)]
WinGui: Handle Zero Pointer better in the NativeList. This can happen sometimes during previews.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6202
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 21 May 2014 18:37:49 +0000 (18:37 +0000)]
WinGui: Fix QSV preset loading of RF Slider
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6201
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 21 May 2014 17:03:24 +0000 (17:03 +0000)]
LinGui: Improve auto destination file name behavior
Don't change the destination file name when a setting changes that is
not in the auto-name template. I.e. if quality changes and "{quality}" is
not in the template, leave the destination file name alone.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6200
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 20 May 2014 18:44:20 +0000 (18:44 +0000)]
LinGui: layout changes
Reduce height of presets list box. This allows room for making settings
tabs wider.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6199
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 18 May 2014 19:56:12 +0000 (19:56 +0000)]
WinGui: Minor tidy up of options. Cleanup of some code warnings and some initial DPIAwareness code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6198
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 17 May 2014 21:27:20 +0000 (21:27 +0000)]
WinGui: Give the preview window a presence on the picture settings tab. Added some initial code to manage the window size. (Note, this is not complete or DPI aware yet)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6197
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 16 May 2014 09:52:04 +0000 (09:52 +0000)]
LinGui: fix some glib warning messages in log
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6196
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 15 May 2014 16:53:47 +0000 (16:53 +0000)]
LinGui: make the StackSwitcher fill the available width
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6195
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 15 May 2014 16:39:08 +0000 (16:39 +0000)]
LinGui: work around bonehead Gtk developer decision
The width of radio buttons in GtkStackSwitcher are hard coded to 100.
Parse the container to get the buttons and fix this idiocy.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6194
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 15 May 2014 14:59:37 +0000 (14:59 +0000)]
LinGui: change main page GtkNotebook to GtkStack
GtkStack's allow animation effects. So now pages slide-in/slide-out :D
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6193
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 15 May 2014 10:45:36 +0000 (10:45 +0000)]
LinGui: add "Reload" and "Reload All" toolbar buttons to queue window
This allow reseting queue entries to the pending status so that they
make be re-encoded.
I'm not sure when a user might use these, but I have had many occasions where
I wish I had this capability during debugging and testing.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6192
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 15 May 2014 09:19:19 +0000 (09:19 +0000)]
LinGui: allow hh:mm:ss.ms input for P-to-P "Seconds"
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6191
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 14 May 2014 19:50:33 +0000 (19:50 +0000)]
WinGui: Another fix to the pause feature.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6190
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 14 May 2014 19:48:54 +0000 (19:48 +0000)]
WinGui: Fix up Pausing when using libhb encode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6189
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 14 May 2014 16:58:20 +0000 (16:58 +0000)]
LinGui: add preference option to remove completed queue jobs from queue
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6188
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 14 May 2014 09:32:09 +0000 (09:32 +0000)]
mux: fix problems created by >32 track limit patch
First problem was pre-existing, but hidden. Interleaving was severely
broken because we relied on buf->s.stop to determin interleave points.
stop is not guaranteed to be set.
Other problems with the new bit vector code caused failure to complete
muxing.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6187
b64f7644-9d1e-0410-96f1-
a4d463321fa5
Rodeo [Tue, 13 May 2014 20:27:24 +0000 (20:27 +0000)]
Remove empty file faster last commit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6186
b64f7644-9d1e-0410-96f1-
a4d463321fa5
Rodeo [Tue, 13 May 2014 20:26:56 +0000 (20:26 +0000)]
Bump x265 to version 1.0
Miscellaneous bugfixes and performance improvements.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6185
b64f7644-9d1e-0410-96f1-
a4d463321fa5
Rodeo [Tue, 13 May 2014 14:31:03 +0000 (14:31 +0000)]
Bump libav to version 10.1
Miscellaneous bugfixes and security fixes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6184
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 13 May 2014 10:27:36 +0000 (10:27 +0000)]
demux: fix problem with widely spaced SCRs
Fixes this bug report https://forum.handbrake.fr/viewtopic.php?f=12&t=30032
Split MPEG demuxer into TS demuxer and PS demuxer to allow using different
PCR/SCR delta tolerance in each scenario.
We were using a PCR/SCR delta tolerance that was a bit of a compromise
between the max allowed by the specification for TS vs PS streams. But
the spec for TS PCR is 100ms and the spec for PS SCR is 700ms, so we
risked false detection of discontinuities in PS. In PS streams that pack
multiple frames into one PES packet, the detection of a discontinuity
causes recalculation of an scr offset which jumps around wildly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6183
b64f7644-9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sun, 11 May 2014 17:08:43 +0000 (17:08 +0000)]
MacGUI: fix line endings after last commit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6182
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 11 May 2014 15:19:52 +0000 (15:19 +0000)]
mux: eliminate 32 track limit
The limit was due to using an uint32_t as a bit vector. This solves
the limitation by introducing an hb_bitvec_t struct for bit vectors
of unlimited size.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6181
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 11 May 2014 12:18:47 +0000 (12:18 +0000)]
WinGui: Cosmetic improvement to the SplitButton Control. It no longer appears for a split second when the control initialises.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6180
b64f7644-9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sat, 10 May 2014 20:45:44 +0000 (20:45 +0000)]
Xcode: another small cleanup.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6179
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 10 May 2014 19:53:46 +0000 (19:53 +0000)]
WinGui: Pre-populate the add preset custom width/height when custom is used.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6178
b64f7644-9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sat, 10 May 2014 19:50:54 +0000 (19:50 +0000)]
Xcode: small cleanup after libvpx support commit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6177
b64f7644-9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sat, 10 May 2014 19:24:03 +0000 (19:24 +0000)]
encx265: fix chapter insertion.
Checking whether we should attach a chapter to
the output buffer is not enough, we actually
have to attach it too.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6176
b64f7644-9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sat, 10 May 2014 18:42:44 +0000 (18:42 +0000)]
Bump x264 to r2431
ac76440.
Miscellaneous bugfixes and improvements, as usual.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6175
b64f7644-9d1e-0410-96f1-
a4d463321fa5