]> granicus.if.org Git - handbrake/log
handbrake
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

12 years agoAdded 2 missing image files
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

12 years agoRejig the gfx folder.
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

12 years agoAttempt to fix some scaling artefacts in the new icons.
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

12 years agoWinGui: Initial set of new icons implemented.
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

12 years agoNew Image files from Nik Pawlak http://nikpawlak.com
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

12 years agoWinGui: Better error messages from the user settings service.
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

12 years agoWinGui: Fixes to deblock filter.
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

12 years agoAdd a utility function to check whether an H.264 level can be used given the current...
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

12 years agoencx264: revert part of revision 4944.
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

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

12 years agodeclpcm: remove an unnecessary instruction.
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

12 years agoWinGui: Remove debug menu option
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

12 years agoWinGui: Initial work to overhaul the plist import code.
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

12 years agoCLI, manicure: cosmetics.
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

12 years agoFix initialization of hb_job_t.pfr_vrate(_base).
Rodeo [Sat, 27 Oct 2012 17:42:00 +0000 (17:42 +0000)]
Fix initialization of hb_job_t.pfr_vrate(_base).

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

12 years agoCLI: fix the AppleTV 3 preset once more.
Rodeo [Sat, 27 Oct 2012 16:09:30 +0000 (16:09 +0000)]
CLI: fix the AppleTV 3 preset once more.

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

12 years agomanicure: fix VideoFramerate.
Rodeo [Sat, 27 Oct 2012 16:08:33 +0000 (16:08 +0000)]
manicure: fix VideoFramerate.

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

12 years agoCLI: fix AppleTV 3 preset again.
Rodeo [Sat, 27 Oct 2012 15:48:17 +0000 (15:48 +0000)]
CLI: fix AppleTV 3 preset again.

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

12 years agomanicure: add PictureModulus support.
Rodeo [Sat, 27 Oct 2012 15:47:26 +0000 (15:47 +0000)]
manicure: add PictureModulus support.

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

12 years agoCLI: cosmetics.
Rodeo [Sat, 27 Oct 2012 15:37:37 +0000 (15:37 +0000)]
CLI: cosmetics.

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

12 years agoCLI: fix AppleTV 3 preset.
Rodeo [Sat, 27 Oct 2012 15:33:52 +0000 (15:33 +0000)]
CLI: fix AppleTV 3 preset.

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

12 years agomanicure: fix picture filters.
Rodeo [Sat, 27 Oct 2012 15:33:01 +0000 (15:33 +0000)]
manicure: fix picture filters.

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

12 years agodeca52: avoid repeated alloc/free by re-using a fixed-size buffer.
Rodeo [Fri, 26 Oct 2012 23:03:45 +0000 (23:03 +0000)]
deca52: avoid repeated alloc/free by re-using a fixed-size buffer.

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

12 years agodeca52: remove an unnecessary instruction.
Rodeo [Fri, 26 Oct 2012 22:44:49 +0000 (22:44 +0000)]
deca52: remove an unnecessary instruction.

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

12 years agodeca52: cleanup.
Rodeo [Fri, 26 Oct 2012 22:40:34 +0000 (22:40 +0000)]
deca52: cleanup.

Some functions were called once per block, where once per frame was enough.

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

12 years agoLinGui: add quantal snapshot. remove maverick
jstebbins [Mon, 22 Oct 2012 18:40:24 +0000 (18:40 +0000)]
LinGui: add quantal snapshot.  remove maverick

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

12 years agobuild: fix problems building fontconfig on osx
jstebbins [Sun, 21 Oct 2012 19:11:32 +0000 (19:11 +0000)]
build: fix problems building fontconfig on osx

If pkg-config is not installed, fontconfig fails to find libxml2

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

12 years agoWinGui: Couple of UI fixes.
sr55 [Sun, 21 Oct 2012 13:44:25 +0000 (13:44 +0000)]
WinGui: Couple of UI fixes.

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

12 years agohb_audio_remap improvements:
Rodeo [Sat, 20 Oct 2012 23:29:33 +0000 (23:29 +0000)]
hb_audio_remap improvements:

- support for additional sample formats

- support for variable channel layouts

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

12 years agoBump libbluray to version 0.2.3.
Rodeo [Sat, 20 Oct 2012 23:16:47 +0000 (23:16 +0000)]
Bump libbluray to version 0.2.3.

Miscellaneous fixes and improvements.

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

12 years agoWinGui: Couple minor fixes.
sr55 [Thu, 18 Oct 2012 20:24:08 +0000 (20:24 +0000)]
WinGui: Couple minor fixes.

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

12 years agoRemove unneeded .cvsignore files.
Rodeo [Wed, 17 Oct 2012 23:23:01 +0000 (23:23 +0000)]
Remove unneeded .cvsignore files.

Thanks to Adrian Bunk for noticing.

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

12 years agohb_ff_set_sample_fmt() improvements.
Rodeo [Wed, 17 Oct 2012 22:37:34 +0000 (22:37 +0000)]
hb_ff_set_sample_fmt() improvements.

- allow setting a sample_fmt other than AV_SAMPLE_FMT_FLT

- fall back on planar/packed variant of the requested format if available

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

12 years agoBump x264 to version r2216-198a7ea.
Rodeo [Wed, 17 Oct 2012 22:14:38 +0000 (22:14 +0000)]
Bump x264 to version r2216-198a7ea.

Miscellaneous fixes and improvements.

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

12 years agoWinGui: Fixes to the new queue recovery code. Cleanup of old recovery files should...
sr55 [Tue, 16 Oct 2012 18:05:54 +0000 (18:05 +0000)]
WinGui: Fixes to the new queue recovery code. Cleanup of old recovery files should now work.

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

12 years agoWinGui: Refactor multi-instance support to use Process ID. Fix old log file cleanup...
sr55 [Sat, 13 Oct 2012 19:48:12 +0000 (19:48 +0000)]
WinGui: Refactor multi-instance support to use Process ID. Fix old log file cleanup function.

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

12 years agoWinGui: API Tidyup Part 3 of many.
sr55 [Sat, 13 Oct 2012 17:52:14 +0000 (17:52 +0000)]
WinGui:  API Tidyup Part 3 of many.

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

12 years agolibhb: Fix crash found on some dvd's
jstebbins [Sat, 13 Oct 2012 08:57:32 +0000 (08:57 +0000)]
libhb: Fix crash found on some dvd's
New strutural protection caused us to access null pointer cell_playback table.

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

12 years agoWinGui: Settings tidyup
sr55 [Wed, 10 Oct 2012 20:22:46 +0000 (20:22 +0000)]
WinGui: Settings tidyup

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

12 years agoWinGui: Missed files from previous checkin.
sr55 [Wed, 10 Oct 2012 20:15:09 +0000 (20:15 +0000)]
WinGui: Missed files from previous checkin.

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

12 years agoWinGui: API Tidyup Part 2 of many. Growl Support.
sr55 [Wed, 10 Oct 2012 20:13:19 +0000 (20:13 +0000)]
WinGui: API Tidyup Part 2 of many. Growl Support.

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

12 years agoWinGui: Remove old ShowCLI setting. There isn't much reason to have this anymore.
sr55 [Tue, 9 Oct 2012 18:13:26 +0000 (18:13 +0000)]
WinGui: Remove old ShowCLI setting. There isn't much reason to have this anymore.

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

12 years agoWinGui: Fix a couple of swallowed exceptions.
sr55 [Sun, 7 Oct 2012 20:42:45 +0000 (20:42 +0000)]
WinGui: Fix a couple of swallowed exceptions.

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

12 years agoWinGui: Build Fix
sr55 [Sun, 7 Oct 2012 20:25:26 +0000 (20:25 +0000)]
WinGui: Build Fix

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