]>
granicus.if.org Git - handbrake/log
jstebbins [Thu, 3 Jan 2013 22:58:47 +0000 (22:58 +0000)]
LinGui: build preset import/export tables from hb_encoder_t tables
This makes tracking additions to libhb encoders completely transparent to
the LinGui. Changes or deletions still require special handling to ensure
backwards compatibility.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5140
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 3 Jan 2013 19:12:35 +0000 (19:12 +0000)]
build system: update config.guess
Thanks to icchan for patch
https://reviews.handbrake.fr/r/361/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5139
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 3 Jan 2013 18:50:14 +0000 (18:50 +0000)]
libav: solaris build fixes
1. Link in /usr/lib/values-xpg6.o to get proper POSIX.1-2001 behaviour
from libc -- this is controversial within the GCC camp as it "breaks old code"
that doesn't assume it has been added. Some libc functions behave very
differently with and without this linked. Since we're linking statically to
the library, this is not a significant concern.
2. MPC8 disable constraint is clamped down to only apply on SPARC.
thanks to icchan for patch.
https://reviews.handbrake.fr/r/367/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5138
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Thu, 3 Jan 2013 00:16:17 +0000 (00:16 +0000)]
MacGui: fix queue editing after adding the x264 preset system.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5137
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Thu, 3 Jan 2013 00:04:21 +0000 (00:04 +0000)]
MacGui: cosmetics.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5136
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Thu, 3 Jan 2013 00:01:58 +0000 (00:01 +0000)]
MacGui: add getters and setter for x264 preset system.
Simplifies code and makes it more readable.
Also more refactoring, more bugfixes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5135
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Wed, 2 Jan 2013 21:44:38 +0000 (21:44 +0000)]
FLAC: add 24-bit encoding.
Works via a dedicated encoder: "FLAC (24-bit)", "ffflac24".
Users who prefer 16-bit can use the previous FLAC encoder: "FLAC (ffmpeg)", "ffflac".
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5134
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 2 Jan 2013 21:23:02 +0000 (21:23 +0000)]
libav patch: fix dts audio bitstream desync when frame size changes
Fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=26016&hilit=squid
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5133
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Wed, 2 Jan 2013 20:33:57 +0000 (20:33 +0000)]
MacGui: fix memory leak, more refactoring, bugfixes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5132
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Wed, 2 Jan 2013 19:36:28 +0000 (19:36 +0000)]
MacGui: more refactoring, bugfixes.
Apologies if anything breaks.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5131
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Wed, 2 Jan 2013 17:27:50 +0000 (17:27 +0000)]
MacGui: fix fx264UseAdvancedOptionsCheck (hopefully).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5130
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Wed, 2 Jan 2013 14:44:51 +0000 (14:44 +0000)]
MacGui: code refactoring (x264 preset system).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5129
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Wed, 2 Jan 2013 13:22:05 +0000 (13:22 +0000)]
MacGui: fix preset import/export with the x264 system.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5128
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 1 Jan 2013 21:05:44 +0000 (21:05 +0000)]
libhb: fix a problem with BD audio track detection
Some BDs can have several clips that have no audio (The Girl With the Dragon
Tattoo 2009). This fools our audio selection logic into thinking the entire
BD has no audio. So ignore clips that have no audio tracks when searching
for audio.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5127
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 1 Jan 2013 18:38:36 +0000 (18:38 +0000)]
MacGui: Initial x264 presets implementation.
- Note: HB Built-ins are not updated as needs more testing
- Backwards compatible afaik for older presets including custom.
- Queue Item editing function needs to be updated yet.
- Preset import/ export will probably need work as well especially since some kvp's seem to still be up in the air.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5126
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 31 Dec 2012 17:19:49 +0000 (17:19 +0000)]
LinGui: filter out high444 from h264 profiles
and force profile to auto when RF < 1.0
and fix a problem with video quality slider digits display when changing
granularity in preferences.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5125
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Mon, 31 Dec 2012 16:54:11 +0000 (16:54 +0000)]
Bump libav to v9_beta3.
Miscellaneous bugfixes and improvements.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5124
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 31 Dec 2012 16:20:24 +0000 (16:20 +0000)]
WinGui: Removed High444, use auto instead.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5123
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 31 Dec 2012 13:42:42 +0000 (13:42 +0000)]
WinGui: Increase the size of the cropping numeric boxes and change their binding update trigger to be lost focus so that the modulus calculation doesn't interfere with the user typing values.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5122
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 31 Dec 2012 13:36:56 +0000 (13:36 +0000)]
WinGui: Missed a place for removing High10 and 422
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5121
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 31 Dec 2012 13:19:41 +0000 (13:19 +0000)]
WinGui: Bump copyright date.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5120
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 31 Dec 2012 13:18:08 +0000 (13:18 +0000)]
WinGui: Remove High10 and High422 options.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5119
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 30 Dec 2012 23:15:09 +0000 (23:15 +0000)]
LinGui: filter out x264 profiles high10 and high422
10 bit encoding and yuv422 are not supported.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5118
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 30 Dec 2012 19:21:21 +0000 (19:21 +0000)]
LinGui: Update copyright dates
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5117
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 29 Dec 2012 14:25:17 +0000 (14:25 +0000)]
WinGui: Add the plist keys and fix numerous bugs in the x264 preset/tune/profile/level code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5115
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 28 Dec 2012 19:39:12 +0000 (19:39 +0000)]
LinGui: preset import/export robustness
Upon import, if x264Preset is missing, force x264UseAdvancedOptions enabled.
Upon export, if x264UseAdvancedOptions is true, do not output x264Preset,
x264Tune, x264Level, x264Profile, or x264OptionExtra.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5114
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 28 Dec 2012 11:21:14 +0000 (11:21 +0000)]
WinGui: Initial work to implement x264 Preset/Tune/Profile/Level options in-gui.
Still some stuff to tidy up but should be usable for now.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5113
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 27 Dec 2012 23:27:10 +0000 (23:27 +0000)]
lingui: convert tabs to spaces
Makes lingui source conform to hb standard for indentation.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5112
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 27 Dec 2012 22:52:04 +0000 (22:52 +0000)]
update presets for lingui and CLI
These new presets use x264 preset/tune/profile/level
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5111
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 27 Dec 2012 22:49:32 +0000 (22:49 +0000)]
LinGui: add x264 preset/tune/profile/level support
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5110
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 27 Dec 2012 21:50:58 +0000 (21:50 +0000)]
WinGui: Default the textboxes for Seconds and Frames to sensible values.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5109
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 27 Dec 2012 21:26:24 +0000 (21:26 +0000)]
WinGui: Improved handling of preview filename generation and fixed the seconds / frames options to update in realtime with the duration calculation.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5108
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 26 Dec 2012 23:25:12 +0000 (23:25 +0000)]
libhb: prevent segfault when opening mp4 file fails.
MP4End() attempted to use invalid MP4File context.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5107
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 24 Dec 2012 11:26:38 +0000 (11:26 +0000)]
WinGui: Make the advanced encoder options respond before the control has lost focus.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5106
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 24 Dec 2012 11:21:39 +0000 (11:21 +0000)]
WinGui: Allow negative srt offset.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5105
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 24 Dec 2012 11:19:53 +0000 (11:19 +0000)]
WinGui: Fix SRT Offset.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5104
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Thu, 20 Dec 2012 18:32:01 +0000 (18:32 +0000)]
hb_x264_param_unparse: cosmetics.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5103
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Thu, 20 Dec 2012 18:29:37 +0000 (18:29 +0000)]
hb_x264_param_unparse: unset a few options that have no effect in the advanced options string.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5102
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Thu, 20 Dec 2012 17:25:29 +0000 (17:25 +0000)]
hb_apply_h264_level: cosmetics, change the meaning of the last parameter (be_quiet -> verbose). Seems more common.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5101
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 17 Dec 2012 10:12:48 +0000 (10:12 +0000)]
fix mac ui scaling problem after performing live preview encode
we can't touch the picture settings when resetting the job. the mac ui
currently depends on these remaining to what it set last.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5099
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 12 Dec 2012 20:21:14 +0000 (20:21 +0000)]
fix some crashes in the macui
I missed setting some pointers to NULL after free and missed place
where the ui was setting job->file directly instead of using hb_job_set_file().
Also, a NULL chapter name caused a crash.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5097
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 9 Dec 2012 19:11:33 +0000 (19:11 +0000)]
libhb: refactor job initialization and cleanup
Separates out some duplicate code in hb_job_reset, hb_job_close,
and hb_job_init. Also removes some vestigial function definitions in hb.h
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5096
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 9 Dec 2012 19:08:08 +0000 (19:08 +0000)]
libhb: fix hb_dict_next() when dict is empty
It would return an invalid entry instead of NULL.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5095
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sun, 9 Dec 2012 17:07:56 +0000 (17:07 +0000)]
encx264: raise qpmin to 4. 3 has been found to fail on real sources.
Fixes https://forum.handbrake.fr/viewtopic.php?f=5&t=25735
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5094
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 8 Dec 2012 22:05:17 +0000 (22:05 +0000)]
LinGui: fix loose crop calculation
It was sometimes coming up with odd cropping values
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5093
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 8 Dec 2012 21:51:06 +0000 (21:51 +0000)]
libhb: Fix a timing problem when rendering vobsubs
So, if we are rendering the subtitles, do not delay them in sync. The
renderer is responsible for handling stop == -1.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5092
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 8 Dec 2012 12:50:37 +0000 (12:50 +0000)]
WinGui: Fix a number of potential culture issues with doubles. (Advanced Panel, Query Handling and Picture settings)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5091
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 8 Dec 2012 12:28:17 +0000 (12:28 +0000)]
WinGui: When we have a variable framerate preset, reset to "same as source" rather than just remaining at whatever fps was set previously.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5090
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 4 Dec 2012 22:21:01 +0000 (22:21 +0000)]
lingui: fix subtitle configuration problem
If the preset has "burned" checked, under certain circumstances, both
"burned" and "default" would be checked in the gui. These are suppose
to be mutually exclusive.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5089
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
randomengy [Sun, 2 Dec 2012 22:40:37 +0000 (22:40 +0000)]
Interop: Fixing title number/title index mixup. Adding Playlist to the Title object.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5088
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 30 Nov 2012 16:17:17 +0000 (16:17 +0000)]
libhb: fix eedi2 crash in decomb
When converting to using tasksets, I missed a free(thread_args_v) that
needed to be removed. So we freed a bad pointer when the eedi2 thread
closed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5087
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Tue, 27 Nov 2012 22:13:22 +0000 (22:13 +0000)]
hb_x264_param_unparse(): fix typo.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5086
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 27 Nov 2012 18:19:18 +0000 (18:19 +0000)]
MacGui: Remove vestigial activity log debug messages.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5085
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 27 Nov 2012 17:07:56 +0000 (17:07 +0000)]
WinGui: UI Tweaks and further fixes to Custom Anamorphic.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5084
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 27 Nov 2012 16:32:13 +0000 (16:32 +0000)]
WinGui: General code tidy-up and fix a couple of possible points that could throw exceptions.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5083
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 26 Nov 2012 23:07:09 +0000 (23:07 +0000)]
libhb: fix memory consumption problem
Issues with timestamps made cfr think it needed to duplicate a few thousand
frames. this leads to an over-cunsumption of memory since all duplicates
are placed in a list at once.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5082
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 25 Nov 2012 12:40:23 +0000 (12:40 +0000)]
WinGui: Tweak the advanced panel design so it is less likely to go off screen.
Fix a framework selection but on non gb/us cultures.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5081
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 24 Nov 2012 11:24:43 +0000 (11:24 +0000)]
WinGui: Couple of Audio and Advanced Panel bug fixes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5080
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 22 Nov 2012 19:16:16 +0000 (19:16 +0000)]
WinGui: Quick fix to restore building of the app.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5079
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
randomengy [Thu, 22 Nov 2012 18:36:29 +0000 (18:36 +0000)]
Interop: Updated to work with hb_chapter_set_title for chapter markers.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5078
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 22 Nov 2012 00:23:19 +0000 (00:23 +0000)]
lingui: go back to original pause, start, stop icons.
they just look better
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5077
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 21 Nov 2012 22:28:04 +0000 (22:28 +0000)]
libhb: fix generation of silence buffer for filling audio gaps
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5076
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Wed, 21 Nov 2012 19:11:09 +0000 (19:11 +0000)]
muxmkv: don't write the last chapter marker if it is shorter than 3/2 second.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5075
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Wed, 21 Nov 2012 18:53:23 +0000 (18:53 +0000)]
hb_audio_remap: protect against invalid channel layouts.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5074
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Wed, 21 Nov 2012 18:29:34 +0000 (18:29 +0000)]
Improve support for planar audio.
- encavcodecaudio: use libavresample directly (instead of via the hb_audio_resample wrapper), and add support for planar output
- hb_audio_resample: add support for planar input
- hb_audio_remap: add support for planar input
- deca52: output planar float samples (no re-interleaving)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5073
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
randomengy [Wed, 21 Nov 2012 08:28:09 +0000 (08:28 +0000)]
Interop: Updated to support removal of title->job. Removed some obsolete properties on EncodingProfile, changed x264 Tunes to be a collection and replaced CustomCropping bool with CroppingType enum. Another fix to make sure Loose/Strict anamorphic get the correct PAR values.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5072
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 20 Nov 2012 00:25:05 +0000 (00:25 +0000)]
libhb: fix BD encoding
I inadvertently disabled PCR processing in BD in
https://trac.handbrake.fr/changeset/5058
This caused bugs to show up in our processing of TS streams that have
no PCR.
So re-enable PCR processing in BD to fix the regression. And fix the problems
with processing TS streams that have no PCR.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5071
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 18 Nov 2012 17:39:38 +0000 (17:39 +0000)]
WinGui: Default the custom anamorphic values correctly. (Part 1 of Custom anamorphic implementation)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5070
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 18 Nov 2012 14:47:09 +0000 (14:47 +0000)]
WinGui: Handle FileNotFound Exceptions with a nicer error message.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5069
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
randomengy [Sat, 17 Nov 2012 16:43:01 +0000 (16:43 +0000)]
Interop: Fix build break from bad merge.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5068
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 17 Nov 2012 16:10:12 +0000 (16:10 +0000)]
Two temporary place holders for stop encode icon.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5067
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 17 Nov 2012 16:06:13 +0000 (16:06 +0000)]
WinGui: Tweaks to the graphics files by nikpawlak and some alternate play/pause icons that fit well by jamiemlaw.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5066
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 15 Nov 2012 18:54:16 +0000 (18:54 +0000)]
fontconfig: keep cc_archoption empty on Solaris
- patch once again by icchan … thanks!
- Review here https://reviews.handbrake.fr/r/366/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5065
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 15 Nov 2012 18:39:56 +0000 (18:39 +0000)]
Freetype: use GNU make on Solaris
- Courtesy of icchan thanks again!
- Let's instead use gmake (normally installed in /usr/sfw/bin/gmake) to build the FreeType contrib.
- Review here https://reviews.handbrake.fr/r/365/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5064
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 15 Nov 2012 17:57:29 +0000 (17:57 +0000)]
Introduce Solaris Support
- Patch from icchan … thanks !
- At some point in the past, this was probably dropped. Re-adding it now as a pre-requisite for several upcoming patches to fix the build on Solaris 10.
- ReviewBoard link here https://reviews.handbrake.fr/r/364/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5063
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 15 Nov 2012 17:51:26 +0000 (17:51 +0000)]
Remove x264 Solaris patch as its no longer needed.
- Patch courtesy of icchan thanks !
- Review found here https://reviews.handbrake.fr/r/362/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5062
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Mon, 12 Nov 2012 19:44:54 +0000 (19:44 +0000)]
hb_apply_h264_level: miscellaneous cosmetics.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5061
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Mon, 12 Nov 2012 19:18:29 +0000 (19:18 +0000)]
hb_x264_param_unparse: miscellaneous cosmetics.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5060
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Mon, 12 Nov 2012 18:21:31 +0000 (18:21 +0000)]
hb_x264_param_unparse: returns a complete x264 encopts string from a preset/tune(s)/profile/level/encopts combo.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5059
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 12 Nov 2012 08:22:07 +0000 (08:22 +0000)]
Improve management of titles and jobs
Cleans up several several unavoidable memory leaks caused by old api.
Clearly separates titles from jobs. Titles are set during scan and
never modified now.
Since titles are immutable, this lead to API some changes. For example,
We were setting chapter names in the title from the front ends. Now
these get set in the job.
These new APIs allow us to start moving away from our use of title->job.
Eventually, I would like to eliminate title->job completely, but the
mac ui is too tightly tied to using this field to allow removing it
at this time. So there is temporarily a convenience function used
only by the mac ui that allows it to continue using title->job and also
use the new APIs.
New APIs:
typedef struct hb_title_set_s hb_title_set_t;
struct hb_title_set_s
{
hb_list_t * list_title;
int feature; // Detected DVD feature title
};
hb_title_set_t * hb_get_title_set( hb_handle_t * );
This is just something I added to clean up how "feature title" info
is passed.
hb_job_t * hb_job_init( hb_title_t * title );
Initializes a new job with default settings from the title.
hb_job_t * hb_job_init_by_index( hb_handle_t *h, int title_index );
Same as hb_job_init(). For use by win Interop lib.
void hb_job_reset( hb_job_t * job );
Convenience function for the MacUi.
Clears audio, subtitle, and filter lists. The macui still uses
title->job because it is so intricately tied to it. So I created
this convenience function that it can call after adding a job.
void hb_job_close( hb_job_t ** job );
Releases the job an all resources it contains.
void hb_job_set_advanced_opts( hb_job_t *job, const char *advanced_opts );
Makes a copy of "advanced_opts" and stores in job.
Freed by hb_job_close().
void hb_job_set_file( hb_job_t *job, const char *file );
Makes a copy of "file" and stores in job.
Freed by hb_job_close().
void hb_chapter_set_title(hb_chapter_t *chapter, const char *title);
Makes a copy of "title" and stores in chapter.
Freed by hb_chapter_close().
Recommended usage (cli and lingui are updated to do this):
job = hb_job_init( title );
// set job settings ...
hb_add(h, job);
hb_job_close( &job );
I have also added new APIs for managing metadata. These are
used to add metadata to a job.
void hb_metadata_set_name( hb_metadata_t *metadata, const char *name );
void hb_metadata_set_artist( hb_metadata_t *metadata, const char *artist );
void hb_metadata_set_composer( hb_metadata_t *metadata, const char *composer );
void hb_metadata_set_release_date( hb_metadata_t *metadata, const char *release_date );
void hb_metadata_set_comment( hb_metadata_t *metadata, const char *comment );
void hb_metadata_set_genre( hb_metadata_t *metadata, const char *genre );
void hb_metadata_set_album( hb_metadata_t *metadata, const char *album );
void hb_metadata_set_coverart( hb_metadata_t *metadata, const uint8_t *coverart, int size );
Example:
job = hb_job_init( &job );
// set job settings ...
hb_metadata_set_artist( job->metadata, "Danny Elfman" );
hb_add(h, job);
hb_job_close( &job );
Some APIs have changed in order to avoid using title incorrectly and
use the new hb_title_set_t.
-void hb_autopassthru_apply_settings( hb_job_t * job, hb_title_t * title );
+void hb_autopassthru_apply_settings( hb_job_t * job );
-void hb_get_preview( hb_handle_t *, hb_title_t *, int, uint8_t * );
+void hb_get_preview( hb_handle_t *, hb_job_t *, int, uint8_t * );
hb_thread_t * hb_scan_init( hb_handle_t *, volatile int * die,
const char * path, int title_index,
- hb_list_t * list_title, int preview_count,
+ hb_title_set_t * title_set, int preview_count,
int store_previews, uint64_t min_duration );
These APIs have been removed. Win Interop will need some changes.
I think what I've provided will be suffecient, but let me know if it's not.
-void hb_get_preview_by_index( hb_handle_t *, int, int, uint8_t * );
-void hb_set_anamorphic_size_by_index( hb_handle_t *, int,
- int *output_width, int *output_height,
- int *output_par_width, int *output_par_height );
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5058
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
randomengy [Mon, 12 Nov 2012 04:35:55 +0000 (04:35 +0000)]
Interop: Exposing raw FPS numerator/denominator on Title. Exposing IsH264LevelValid function. Adding additional subtitle types. Fixing Anamorphic size calculation. Adding H.264 level to encode options.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5057
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 11 Nov 2012 14:33:31 +0000 (14:33 +0000)]
WinGui: Updated the preset pane icons.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5056
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 11 Nov 2012 14:31:52 +0000 (14:31 +0000)]
Grayscale versions of the Add/Remove preset buttons.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5055
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 11 Nov 2012 09:21:37 +0000 (09:21 +0000)]
LinGui: update icons
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5054
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 10 Nov 2012 20:00:20 +0000 (20:00 +0000)]
WinGui: UI Tweaks and improvements
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5053
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 10 Nov 2012 19:23:46 +0000 (19:23 +0000)]
Another scaling artefact fix.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5052
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 10 Nov 2012 19:21:55 +0000 (19:21 +0000)]
Added 2 missing image files
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5051
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 10 Nov 2012 19:21:18 +0000 (19:21 +0000)]
Rejig the gfx folder.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5050
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 10 Nov 2012 19:17:12 +0000 (19:17 +0000)]
Attempt to fix some scaling artefacts in the new icons.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5049
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 10 Nov 2012 13:16:45 +0000 (13:16 +0000)]
WinGui: Initial set of new icons implemented.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5048
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 10 Nov 2012 12:43:40 +0000 (12:43 +0000)]
New Image files from Nik Pawlak http://nikpawlak.com
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5047
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 10 Nov 2012 11:28:09 +0000 (11:28 +0000)]
WinGui: Better error messages from the user settings service.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5046
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 8 Nov 2012 18:59:42 +0000 (18:59 +0000)]
WinGui: Fixes to deblock filter.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5045
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Mon, 5 Nov 2012 14:17:38 +0000 (14:17 +0000)]
Add a utility function to check whether an H.264 level can be used given the current encoding parameters.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5044
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Mon, 5 Nov 2012 14:04:45 +0000 (14:04 +0000)]
encx264: revert part of revision 4944.
There's no reason why fps would be specified in the x264_param_t vs. width/height via separate parameters.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5043
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sat, 27 Oct 2012 20:27:16 +0000 (20:27 +0000)]
encavcodecaudio: cosmetics.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5042
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sat, 27 Oct 2012 20:21:00 +0000 (20:21 +0000)]
declpcm: remove an unnecessary instruction.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5041
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 27 Oct 2012 19:55:09 +0000 (19:55 +0000)]
WinGui: Remove debug menu option
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5040
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 27 Oct 2012 19:54:23 +0000 (19:54 +0000)]
WinGui: Initial work to overhaul the plist import code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5039
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sat, 27 Oct 2012 18:10:51 +0000 (18:10 +0000)]
CLI, manicure: cosmetics.
Makes it easier to update CLI presets without having to worry about whitespace polluting the diffs.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5038
b64f7644 -9d1e-0410-96f1-
a4d463321fa5