]>
granicus.if.org Git - handbrake/log
Rodeo [Mon, 20 May 2013 19:36:05 +0000 (19:36 +0000)]
OpenCL: fix type of numDevices variable.
Was causing malloc failures and out of array read/writes under OS X.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5491
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Mon, 20 May 2013 19:19:19 +0000 (19:19 +0000)]
OpenCL: hb_generat_bin_from_kernel_source: improve error messages.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5490
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Mon, 20 May 2013 18:43:32 +0000 (18:43 +0000)]
OpenCL: fix darwin build with Xcode.
Idea by John Stebbins. Thanks!
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5489
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Mon, 20 May 2013 18:18:25 +0000 (18:18 +0000)]
OpenCL: only allow "AMD" vendor name under OS X for now.
Also, set the correct gpu_info for that vendor name.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5488
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 19 May 2013 14:35:19 +0000 (14:35 +0000)]
OpenCL: Correct case of log message.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5484
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 19 May 2013 14:34:31 +0000 (14:34 +0000)]
OpenCL Code Style and Comments tidy up
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5483
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sun, 19 May 2013 14:21:08 +0000 (14:21 +0000)]
OpenCL: work: fix logging of job->use_opencl; it was done before setting it instead of after.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5482
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sun, 19 May 2013 14:19:37 +0000 (14:19 +0000)]
OpenCL: enable AMD GPUs under OS X.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5481
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Sun, 19 May 2013 14:19:06 +0000 (14:19 +0000)]
OpenCL: fix help.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5480
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 19 May 2013 13:55:10 +0000 (13:55 +0000)]
Merging Trunk to OpenCL
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5479
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Fri, 17 May 2013 21:27:14 +0000 (21:27 +0000)]
OpenCL: fix darwin build without --disable-xcode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5466
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Fri, 17 May 2013 21:01:41 +0000 (21:01 +0000)]
OpenCL: fix darwin build with --disable-xcode --enable-opencl.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5465
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Fri, 17 May 2013 19:29:53 +0000 (19:29 +0000)]
OpenCL: merge latest fixes from trunk.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5464
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Thu, 2 May 2013 06:58:34 +0000 (06:58 +0000)]
improve code style
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5436
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 28 Apr 2013 15:42:04 +0000 (15:42 +0000)]
OpenCL: Merging Trunk to OpenCL branch in preparation to merge back to core after the upcoming release ships.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5418
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Tue, 9 Apr 2013 05:55:39 +0000 (05:55 +0000)]
fixed green screen issue
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5386
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Wed, 3 Apr 2013 06:25:12 +0000 (06:25 +0000)]
fixed vob video issue
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5378
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
Rodeo [Tue, 2 Apr 2013 15:42:49 +0000 (15:42 +0000)]
macosx: link against OpenCL.framework.
Since OpenCL is available as of OS X 10.6, we don't need to disable linking when OpenCL support is disabled.
Whether this is the optimal solution is another matter, but it will do for now.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5374
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Tue, 2 Apr 2013 01:35:26 +0000 (01:35 +0000)]
fixed audio decode issue
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5373
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Fri, 29 Mar 2013 05:44:08 +0000 (05:44 +0000)]
fixed audio drop frame issue
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5367
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 27 Mar 2013 18:10:25 +0000 (18:10 +0000)]
Merge Trunk into OpenCL again.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5365
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Fri, 22 Mar 2013 09:16:23 +0000 (09:16 +0000)]
fixed opencl error
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5356
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Fri, 22 Mar 2013 07:32:51 +0000 (07:32 +0000)]
fixed drop frame issue
add a function to check input video pixel format
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5355
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 16 Mar 2013 18:31:08 +0000 (18:31 +0000)]
Fixed some macgui code that looks to have been inadvertently removed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5334
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 16 Mar 2013 18:06:11 +0000 (18:06 +0000)]
Shift USE_HWD blocks around methods we no longer use but the HWD still does. Can these be removed now?
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5333
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 16 Mar 2013 17:49:51 +0000 (17:49 +0000)]
Merged Trunk to OpenCL
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5332
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 9 Mar 2013 22:32:07 +0000 (22:32 +0000)]
Merging Trunk to OpenCL branch
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5319
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 1 Mar 2013 21:56:44 +0000 (21:56 +0000)]
Another opencl header fix on Mac.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5281
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 1 Mar 2013 21:08:23 +0000 (21:08 +0000)]
Adding File headers, cl.h header for Apple, more Tabs -> spaces.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5280
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 1 Mar 2013 20:55:10 +0000 (20:55 +0000)]
Merging Trunk into OpenCL
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5279
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Thu, 28 Feb 2013 09:20:50 +0000 (09:20 +0000)]
fix the deinterlace issue
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5275
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 25 Feb 2013 21:22:28 +0000 (21:22 +0000)]
OpenCl: Couple more tidyup items.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5271
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 25 Feb 2013 21:16:26 +0000 (21:16 +0000)]
OpenCL: 1. Tabs to Spaces. 2. Couple of Typos
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5270
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 25 Feb 2013 21:04:08 +0000 (21:04 +0000)]
Merging Trunk to openCl
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5269
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Mon, 25 Feb 2013 08:19:50 +0000 (08:19 +0000)]
tidy up log output, useless code
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5268
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 24 Feb 2013 15:45:56 +0000 (15:45 +0000)]
Fix build
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5266
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 24 Feb 2013 14:09:48 +0000 (14:09 +0000)]
Merging Trunk into OpenCL Branch.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5264
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Sun, 17 Feb 2013 05:05:42 +0000 (05:05 +0000)]
modify GPU test, opencl support AMD and Nvidia graphic
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5255
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 10 Feb 2013 16:29:19 +0000 (16:29 +0000)]
OpenCL: Fix a few build system issues that prevent building on platforms other than mingw.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5245
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Fri, 8 Feb 2013 03:55:16 +0000 (03:55 +0000)]
Replace some code with platform independent
Remove some useless code
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5243
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Tue, 5 Feb 2013 06:12:34 +0000 (06:12 +0000)]
modify the scan path without hardware decoder
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5240
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 4 Feb 2013 18:51:19 +0000 (18:51 +0000)]
Merging Trunk to OpenCL branch
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5236
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 2 Feb 2013 15:12:19 +0000 (15:12 +0000)]
Merging trunk to cl branch.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5234
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Thu, 31 Jan 2013 08:18:55 +0000 (08:18 +0000)]
add a new compile option: --enable-hwd
change the GUI uvd checkbox's name to hardware decoder
modify the issue compile on linux
modify the issue on Intel platform with Intel integrate graphic
add a new opencl scale algorithm, PSNR goes up (added files: scale.h, scale.c, scale_kernel.h, scale_kernel.c)
merge the cropscaleaccl.c to cropscale.c
merge the decavcodecaccl.c to decavcodec.c
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5227
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Tue, 22 Jan 2013 08:58:10 +0000 (08:58 +0000)]
modified the opencl init error. it can work well with mingw64 compiled.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5190
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Fri, 18 Jan 2013 07:34:17 +0000 (07:34 +0000)]
the new libav-9.1 has the code of hb-libav-avformat.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5182
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Fri, 18 Jan 2013 07:22:08 +0000 (07:22 +0000)]
corrected the decavcodecaccl.c file. it can work well with i686 compiling.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5181
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 16 Jan 2013 19:29:50 +0000 (19:29 +0000)]
Merging trunk into opencl branch. This includes an update to libav-9.1
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5177
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Wed, 16 Jan 2013 08:54:22 +0000 (08:54 +0000)]
modify a error about compiling with mingw64
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5174
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Tue, 15 Jan 2013 07:35:19 +0000 (07:35 +0000)]
modified some display information errors
modified GUI OpenCL/UVD checkbox enable errors
modified compile without enable-opencl work errors
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5171
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 6 Jan 2013 11:28:38 +0000 (11:28 +0000)]
Merging Trunk into the OpenCL branch. This includes an updated version of libav. 0.9 beta 3
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5155
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 29 Dec 2012 19:11:29 +0000 (19:11 +0000)]
Merging trunk to opencl branch.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5116
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
handbrake [Tue, 18 Dec 2012 08:40:09 +0000 (08:40 +0000)]
add hardware decoder support for H264(vob/m2ts), mpeg2(vob/m2ts), VC1(WMV3/m2ts) decoding
modify the GUI for adding some user options about enable/disable OpenCL or GPU
add some test case for tesing our modifications.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5100
b64f7644 -9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 14 Dec 2012 20:56:45 +0000 (20:56 +0000)]
Creating a branch to allow easier testing of opencl code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5098
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