]> granicus.if.org Git - handbrake/log
handbrake
11 years agoOpenCL: fix type of numDevices variable.
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

11 years agoOpenCL: hb_generat_bin_from_kernel_source: improve error messages.
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

11 years agoOpenCL: fix darwin build with Xcode.
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

11 years agoOpenCL: only allow "AMD" vendor name under OS X for now.
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

11 years agoOpenCL: Correct case of log message.
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

11 years agoOpenCL Code Style and Comments tidy up
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

11 years agoOpenCL: work: fix logging of job->use_opencl; it was done before setting it instead...
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

11 years agoOpenCL: enable AMD GPUs under OS X.
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

11 years agoOpenCL: fix help.
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

11 years agoMerging Trunk to OpenCL
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

11 years agoOpenCL: fix darwin build without --disable-xcode.
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

11 years agoOpenCL: fix darwin build with --disable-xcode --enable-opencl.
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

11 years agoOpenCL: merge latest fixes from trunk.
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

11 years agoimprove code style
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

11 years agoOpenCL: Merging Trunk to OpenCL branch in preparation to merge back to core after...
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

11 years agofixed green screen issue
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

11 years agofixed vob video issue
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

11 years agomacosx: link against OpenCL.framework.
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

11 years agofixed audio decode issue
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

11 years agofixed audio drop frame issue
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

11 years agoMerge Trunk into OpenCL again.
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

11 years agofixed opencl error
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

11 years agofixed drop frame issue
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

11 years agoFixed some macgui code that looks to have been inadvertently removed.
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

11 years agoShift USE_HWD blocks around methods we no longer use but the HWD still does. Can...
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

11 years agoMerged Trunk to OpenCL
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

11 years agoMerging Trunk to OpenCL branch
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

11 years agoAnother opencl header fix on Mac.
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

11 years agoAdding File headers, cl.h header for Apple, more Tabs -> spaces.
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

11 years agoMerging Trunk into OpenCL
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

11 years agofix the deinterlace issue
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

11 years agoOpenCl: Couple more tidyup items.
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

11 years agoOpenCL: 1. Tabs to Spaces. 2. Couple of Typos
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

11 years agoMerging Trunk to openCl
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

11 years agotidy up log output, useless code
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

11 years agoFix build
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

11 years agoMerging Trunk into OpenCL Branch.
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

11 years agomodify GPU test, opencl support AMD and Nvidia graphic
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

11 years agoOpenCL: Fix a few build system issues that prevent building on platforms other than...
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

11 years agoReplace some code with platform independent
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

11 years agomodify the scan path without hardware decoder
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

11 years agoMerging Trunk to OpenCL branch
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

11 years agoMerging trunk to cl branch.
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

11 years agoadd a new compile option: --enable-hwd
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

11 years agomodified the opencl init error. it can work well with mingw64 compiled.
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

11 years agothe new libav-9.1 has the code of hb-libav-avformat.
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

11 years agocorrected the decavcodecaccl.c file. it can work well with i686 compiling.
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

11 years agoMerging trunk into opencl branch. This includes an update to libav-9.1
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

11 years agomodify a error about compiling with mingw64
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

11 years agomodified some display information errors
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

12 years agoMerging Trunk into the OpenCL branch. This includes an updated version of libav....
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

12 years agoMerging trunk to opencl branch.
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

12 years agoadd hardware decoder support for H264(vob/m2ts), mpeg2(vob/m2ts), VC1(WMV3/m2ts)...
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

12 years agoCreating a branch to allow easier testing of opencl code.
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

12 years agofix some crashes in the macui
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

12 years agolibhb: refactor job initialization and cleanup
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

12 years agolibhb: fix hb_dict_next() when dict is empty
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

12 years agoencx264: raise qpmin to 4. 3 has been found to fail on real sources.
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

12 years agoLinGui: fix loose crop calculation
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

12 years agolibhb: Fix a timing problem when rendering vobsubs
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

12 years agoWinGui: Fix a number of potential culture issues with doubles. (Advanced Panel, Query...
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

12 years agoWinGui: When we have a variable framerate preset, reset to "same as source" rather...
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

12 years agolingui: fix subtitle configuration problem
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

12 years agoInterop: Fixing title number/title index mixup. Adding Playlist to the Title object.
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

12 years agolibhb: fix eedi2 crash in decomb
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

12 years agohb_x264_param_unparse(): fix typo.
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

12 years agoMacGui: Remove vestigial activity log debug messages.
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

12 years agoWinGui: UI Tweaks and further fixes to Custom Anamorphic.
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

12 years agoWinGui: General code tidy-up and fix a couple of possible points that could throw...
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

12 years agolibhb: fix memory consumption problem
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

12 years agoWinGui: Tweak the advanced panel design so it is less likely to go off screen.
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

12 years agoWinGui: Couple of Audio and Advanced Panel bug fixes.
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

12 years agoWinGui: Quick fix to restore building of the app.
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

12 years agoInterop: Updated to work with hb_chapter_set_title for chapter markers.
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

12 years agolingui: go back to original pause, start, stop icons.
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

12 years agolibhb: fix generation of silence buffer for filling audio gaps
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

12 years agomuxmkv: don't write the last chapter marker if it is shorter than 3/2 second.
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

12 years agohb_audio_remap: protect against invalid channel layouts.
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

12 years agoImprove support for planar audio.
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

12 years agoInterop: Updated to support removal of title->job. Removed some obsolete properties...
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

12 years agolibhb: fix BD encoding
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

12 years agoWinGui: Default the custom anamorphic values correctly. (Part 1 of Custom anamorphic...
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

12 years agoWinGui: Handle FileNotFound Exceptions with a nicer error message.
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

12 years agoInterop: Fix build break from bad merge.
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

12 years agoTwo temporary place holders for stop encode icon.
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

12 years agoWinGui: Tweaks to the graphics files by nikpawlak and some alternate play/pause icons...
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

12 years agofontconfig: keep cc_archoption empty on Solaris
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

12 years agoFreetype: use GNU make on Solaris
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

12 years agoIntroduce Solaris Support
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

12 years agoRemove x264 Solaris patch as its no longer needed.
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

12 years agohb_apply_h264_level: miscellaneous cosmetics.
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

12 years agohb_x264_param_unparse: miscellaneous cosmetics.
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

12 years agohb_x264_param_unparse: returns a complete x264 encopts string from a preset/tune...
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

12 years agoImprove management of titles and jobs
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

12 years agoInterop: Exposing raw FPS numerator/denominator on Title. Exposing IsH264LevelValid...
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

12 years agoWinGui: Updated the preset pane icons.
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

12 years agoGrayscale versions of the Add/Remove preset buttons.
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

12 years agoLinGui: update icons
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

12 years agoWinGui: UI Tweaks and improvements
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

12 years agoAnother scaling artefact fix.
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