]> granicus.if.org Git - handbrake/log
handbrake
12 years agohb_audio_remap: remove unneeded channel map.
Rodeo [Sun, 15 Jul 2012 19:51:38 +0000 (19:51 +0000)]
hb_audio_remap: remove unneeded channel map.

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

12 years agoUse libav for dts audio decoding instead of libdca
jstebbins [Sun, 15 Jul 2012 19:47:01 +0000 (19:47 +0000)]
Use libav for dts audio decoding instead of libdca
libdca has no advantage over libav for dts audio decoding.  It doesn't do
drc and it's downmix capabilities are actually inferior to libav.  So this
completely removes libdca from libhb

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

12 years agoChange a few more hb_log() calls to hb_error(), and some cosmetics.
Rodeo [Sun, 15 Jul 2012 17:37:27 +0000 (17:37 +0000)]
Change a few more hb_log() calls to hb_error(), and some cosmetics.

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

12 years agoFix something John and I both missed.
Rodeo [Sun, 15 Jul 2012 16:44:37 +0000 (16:44 +0000)]
Fix something John and I both missed.

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

12 years agohb_audio_resample: libvaresample wrapper.
Rodeo [Sun, 15 Jul 2012 16:40:46 +0000 (16:40 +0000)]
hb_audio_resample: libvaresample wrapper.

Avoids having code that's mostly identical in multiple files.

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

12 years agodecpgssub: simplify code (merge several if/else blocks).
Rodeo [Sun, 15 Jul 2012 16:31:03 +0000 (16:31 +0000)]
decpgssub: simplify code (merge several if/else blocks).

Also, discard empty subtitles until we've seen the first non-empty sub, as they are not needed. This can happen when encoding from the middle of a source, for example.

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

12 years agoWinGui: Working drive tray insert/remove detection.
sr55 [Sat, 14 Jul 2012 12:09:06 +0000 (12:09 +0000)]
WinGui: Working drive tray insert/remove detection.

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

12 years agoWinGui: Improve the code behind the taskbar source menu. Note, The Disc insert detect...
sr55 [Fri, 13 Jul 2012 21:28:03 +0000 (21:28 +0000)]
WinGui: Improve the code behind the taskbar source menu. Note, The Disc insert detection still isn't in place, so it will only show the initial available drives, it won't detect disc changes yet.

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

12 years agohb_audio_remap improvements.
Rodeo [Thu, 12 Jul 2012 20:13:23 +0000 (20:13 +0000)]
hb_audio_remap improvements.

This moves some logic outside of the decoders/encoders and into a single place.

Encoders that do their own remapping (faac, vorbis) can still generate a remap table with hb_audio_remap_build_table(), without having to use hb_audio_remap().

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

12 years agoCleanup after last commit: delete empty files, rename some patches.
Rodeo [Wed, 11 Jul 2012 21:41:19 +0000 (21:41 +0000)]
Cleanup after last commit: delete empty files, rename some patches.

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

12 years agobump libav to libav-v0.8-2197-g1a068bf
jstebbins [Wed, 11 Jul 2012 20:10:20 +0000 (20:10 +0000)]
bump libav to libav-v0.8-2197-g1a068bf
Resolves several deprecated api's
Eliminates several libav patches
Eliminates our builtin downmix in favour of avresample
Eliminate HB_INPUT_CH_LAYOUT_* and replace with AV_CH_LAYOUT_*
Resolves 6.x and 7.0 input channel layout issues HB had
Adds downmix support to declpcm.  We never had it!

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

12 years agoWinGui: Fix an issue where selecting the dvd drive in the source menu would not allow...
sr55 [Wed, 11 Jul 2012 17:41:27 +0000 (17:41 +0000)]
WinGui: Fix an issue where selecting the dvd drive in the source menu would not allow the source to be encoded after scanning.

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

12 years agolibhb: fix hb_read_preview() when invalid index is passed
jstebbins [Wed, 11 Jul 2012 12:30:41 +0000 (12:30 +0000)]
libhb: fix hb_read_preview() when invalid index is passed
Was returning last preview instead of NULL

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

12 years agolibhb: fix problem reading preview
jstebbins [Tue, 10 Jul 2012 12:37:37 +0000 (12:37 +0000)]
libhb: fix problem reading preview
The title "index" is not an index into list_title.  It is a unique number
assigned to each title in the list.  So we must scan the list for a matching
"index".

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

12 years agoWinGui: Initial work to restore queue editing functionality. (Note, it's not complete...
sr55 [Sun, 8 Jul 2012 15:57:58 +0000 (15:57 +0000)]
WinGui: Initial work to restore queue editing functionality. (Note, it's not complete yet)

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

12 years agoWinGui: Add support for keyboard shortcuts. These are slightly different to the old...
sr55 [Sun, 8 Jul 2012 11:25:45 +0000 (11:25 +0000)]
WinGui: Add support for keyboard shortcuts. These are slightly different to the old UI. See Below.

// Start Encode (Ctrl+S)
// Stop Encode (Ctrl+K)
// Open Log Window (Ctrl+L)
// Open Queue Window (Ctrl+Q)
// Add to Queue (Ctrl+A)
// Scan a File (Ctrl+F)
// Scan a Folder (Ctrl+R)

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

12 years agoWinGui: Additional fixes for multi-instance.
sr55 [Sat, 7 Jul 2012 15:49:55 +0000 (15:49 +0000)]
WinGui: Additional fixes for multi-instance.

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

12 years agoWinGui: Fixes to allow for multi-instance to work again.
sr55 [Sat, 7 Jul 2012 15:16:22 +0000 (15:16 +0000)]
WinGui: Fixes to allow for multi-instance to work again.

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

12 years agoForgotten part of portability patches
jstebbins [Sat, 7 Jul 2012 00:11:57 +0000 (00:11 +0000)]
Forgotten part of portability patches
This should have been committed with 4717
Thanks to Rogério Theodoro de Brito and Pino Toscano for contributing

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

12 years agolibhb: fix comb detection crash and decomb crash
jstebbins [Fri, 6 Jul 2012 23:12:56 +0000 (23:12 +0000)]
libhb: fix comb detection crash and decomb crash
hb_detect_comb() could crash because the dimensions of the video buffer
don't have to match the dimensions returned by work object info() method
if the video has segments of differeing resolutions.

decomb was allocating reference buffers that were too small.  This bug appears
to have always existed but doesn't usually get triggered because malloc
usually rounds allocation sizes up.

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

12 years agoWinGui: Fix for Chapter markers starting at the wrong point.
sr55 [Fri, 6 Jul 2012 20:05:42 +0000 (20:05 +0000)]
WinGui: Fix for Chapter markers starting at the wrong point.

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

12 years agolibhb: fix live preview crash when generating preview while encoding
jstebbins [Tue, 3 Jul 2012 18:52:27 +0000 (18:52 +0000)]
libhb: fix live preview crash when generating preview while encoding
GetFifoForId() was not re-entrant (it used a static array).

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

12 years agolibhb: fix unused variable warning
jstebbins [Mon, 2 Jul 2012 17:59:31 +0000 (17:59 +0000)]
libhb: fix unused variable warning

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

12 years agoLinGui: sync with iPad preset changes
jstebbins [Mon, 2 Jul 2012 17:58:58 +0000 (17:58 +0000)]
LinGui: sync with iPad preset changes

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

12 years agoFix comparison (check if unsigned type is < 0). Not sure why I keep doing this.
Rodeo [Mon, 2 Jul 2012 11:29:48 +0000 (11:29 +0000)]
Fix comparison (check if unsigned type is < 0). Not sure why I keep doing this.

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

12 years agolibhb: fix crop detection
jstebbins [Sat, 30 Jun 2012 20:47:34 +0000 (20:47 +0000)]
libhb: fix crop detection
It wasn't accounting for stride that is greater than width

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

12 years agoWinGui: Fix Add Preset not honouring custom source width / height.
sr55 [Sat, 30 Jun 2012 18:03:33 +0000 (18:03 +0000)]
WinGui: Fix Add Preset not honouring custom source width / height.

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

12 years agoWinGui: Fix an issue where the Autoname would keep the existing file extension. ...
sr55 [Sat, 30 Jun 2012 17:49:29 +0000 (17:49 +0000)]
WinGui: Fix an issue where the Autoname would keep the existing file extension. (leading to .mkv.m4v for example)

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

12 years agoWinGui: Assorted fixes.
sr55 [Sat, 30 Jun 2012 17:37:25 +0000 (17:37 +0000)]
WinGui: Assorted fixes.
- Implementation of CanBeBurned and CanBeForced on the subtitles panel.
- Save updates to user presets from the Presets Options Menu. (Can use Add Preset to overwrite preset configuration instead also)

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

12 years agoWinGui: Refactor the Update service and add a new options tab to deal with updates.
sr55 [Sat, 30 Jun 2012 14:07:50 +0000 (14:07 +0000)]
WinGui: Refactor the Update service and add a new options tab to deal with updates.

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

12 years agoWinGui: Update the behaviour of the Burned / Default check boxes to make them mutuall...
sr55 [Sat, 30 Jun 2012 11:44:44 +0000 (11:44 +0000)]
WinGui: Update the behaviour of the Burned / Default check boxes to make them mutually exclusive.

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

12 years agoUpdate CLI Presets
sr55 [Fri, 29 Jun 2012 20:35:52 +0000 (20:35 +0000)]
Update CLI Presets

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

12 years agoForgot to update ipad preset description
sr55 [Fri, 29 Jun 2012 17:19:52 +0000 (17:19 +0000)]
Forgot to update ipad preset description

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

12 years agoUpdating the iPad preset to 720P to be a good balance for both iPad 2 and 3
sr55 [Fri, 29 Jun 2012 17:13:37 +0000 (17:13 +0000)]
Updating the iPad preset to 720P to be a good balance for both iPad 2 and 3

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

12 years agoencca_aac.c: oesc.mDataByteSize is signed.
Rodeo [Fri, 29 Jun 2012 12:29:16 +0000 (12:29 +0000)]
encca_aac.c: oesc.mDataByteSize is signed.

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

12 years agomuxmkv: improve reliability of HE-AAC check when doing AAC Passthru.
Rodeo [Fri, 29 Jun 2012 12:22:55 +0000 (12:22 +0000)]
muxmkv: improve reliability of HE-AAC check when doing AAC Passthru.

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

12 years agoLinGui: merge preset changes
jstebbins [Thu, 28 Jun 2012 15:14:25 +0000 (15:14 +0000)]
LinGui: merge preset changes

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

12 years agoMacGui: AppleTV 3 preset fix decomb
dynaflash [Thu, 28 Jun 2012 14:41:20 +0000 (14:41 +0000)]
MacGui: AppleTV 3 preset fix decomb
- Actually select Decomb (fast) which fixes initial implementation using Decomb Custom.
- Thanks for catching it Rodeo.

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

12 years agoMacGui: Add AppleTV 3 Preset
dynaflash [Wed, 27 Jun 2012 21:06:34 +0000 (21:06 +0000)]
MacGui: Add AppleTV 3 Preset
- Basically High Profile preset with rc-lookahead removed ( so now default)
- 1920 x nnn (1080p) resolution max
- Fast decomb due to the fact that "decomb 3" is currently deemed too much of a speed hit. Upon a speed up recommend a change.
- - Note this is the first device preset to use decomb … fast decomb is better imo than no decomb.

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

12 years agoFix hb_mixdown_get_discrete_channel_count for HB_AMIXDOWN_NONE (passthrough).
Rodeo [Wed, 27 Jun 2012 13:30:26 +0000 (13:30 +0000)]
Fix hb_mixdown_get_discrete_channel_count for HB_AMIXDOWN_NONE (passthrough).

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

12 years agoWinGui: More UI tweaks and improvements.
sr55 [Tue, 26 Jun 2012 20:58:31 +0000 (20:58 +0000)]
WinGui: More UI tweaks and improvements.

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

12 years agoWinGui: Another set of assorted fixes and UI tweaks.
sr55 [Tue, 26 Jun 2012 20:46:19 +0000 (20:46 +0000)]
WinGui: Another set of assorted fixes and UI tweaks.

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

12 years agoencca_aac: tabs to spaces and miscellaneous cosmetics.
Rodeo [Tue, 26 Jun 2012 18:58:00 +0000 (18:58 +0000)]
encca_aac: tabs to spaces and miscellaneous cosmetics.

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

12 years agoencca_aac: chnage a variable type (should have been done in revision 3754).
Rodeo [Mon, 25 Jun 2012 21:06:58 +0000 (21:06 +0000)]
encca_aac: chnage a variable type (should have been done in revision 3754).

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

12 years agoencca_aac: fix an issue where a valid output buffer would be dropped, causing minor...
Rodeo [Mon, 25 Jun 2012 21:02:27 +0000 (21:02 +0000)]
encca_aac: fix an issue where a valid output buffer would be dropped, causing minor A/V desync and a missing audio output frame.

This could happen when encoding to HE-AAC, or encoding to AAC with a very low bitrate.

Also, minor cleanup (i.e. cosmetics).

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

12 years agolibhb: fix deinterlace fast problem with sources that have <mod8 alignment
jstebbins [Mon, 25 Jun 2012 07:56:49 +0000 (07:56 +0000)]
libhb: fix deinterlace fast problem with sources that have <mod8 alignment
avpicture_deinterlace requires that both width and height of the input
be 8 pixel aligned.  Video buffers already have padding to align horizontally
to 16 pixels, but they were not padded vertically.  This adds vertical
padding.

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

12 years agoWinGui: Additional fixes to the picture settings panel.
sr55 [Sun, 24 Jun 2012 13:36:41 +0000 (13:36 +0000)]
WinGui: Additional fixes to the picture settings panel.

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

12 years agoWinGui: Assorted Fixes
sr55 [Sun, 24 Jun 2012 12:30:28 +0000 (12:30 +0000)]
WinGui: Assorted Fixes

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

12 years agofix stride in denoise filter
jstebbins [Sat, 23 Jun 2012 09:59:26 +0000 (09:59 +0000)]
fix stride in denoise filter
I should have made the malloc larger rather than changing the stride

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

12 years agolast "fix" was flawed. try again :(
jstebbins [Fri, 22 Jun 2012 23:30:02 +0000 (23:30 +0000)]
last "fix" was flawed.  try again :(

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

12 years agoWinGui: Missing file from last checkin
sr55 [Fri, 22 Jun 2012 23:14:28 +0000 (23:14 +0000)]
WinGui: Missing file from last checkin

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

12 years agoWinGui: Fix to the MaxWidth/Height Width/Height query being generated incorrectly.
sr55 [Fri, 22 Jun 2012 23:12:21 +0000 (23:12 +0000)]
WinGui: Fix to the MaxWidth/Height Width/Height query being generated incorrectly.

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

12 years agoFix second crash in denoise
jstebbins [Fri, 22 Jun 2012 22:19:37 +0000 (22:19 +0000)]
Fix second crash in denoise

Problem is actually in decomb.  It was chaning the resolution
of the image :O

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

12 years agolibhb: fix crash in denoise filter
jstebbins [Fri, 22 Jun 2012 20:07:37 +0000 (20:07 +0000)]
libhb: fix crash in denoise filter

This was introduced in the filter rework patch, so it's not
a problem in the bugfix branch.

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

12 years agolibhb: fix potential overflow in par calculations
jstebbins [Fri, 22 Jun 2012 18:43:03 +0000 (18:43 +0000)]
libhb: fix potential overflow in par calculations

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

12 years agoLinGui: disable status icon progress when status icon is disabled
jstebbins [Thu, 21 Jun 2012 18:30:21 +0000 (18:30 +0000)]
LinGui: disable status icon progress when status icon is disabled

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

12 years agoWinGui: Replace the EncodeStart with QueueStart event to fix an issue where Preview...
sr55 [Wed, 20 Jun 2012 18:06:50 +0000 (18:06 +0000)]
WinGui: Replace the EncodeStart with QueueStart event to fix an issue where Preview window could interfere with the main window.

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

12 years agoWinGui: - Fixed an incorrect method call in the last checkin.
sr55 [Wed, 20 Jun 2012 17:59:28 +0000 (17:59 +0000)]
WinGui: - Fixed an incorrect method call in the last checkin.

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

12 years agoWinGui: - Another fix to the Subtitles panel.
sr55 [Wed, 20 Jun 2012 17:48:38 +0000 (17:48 +0000)]
WinGui: - Another fix to the Subtitles panel.
- Try Default the Destination Browse window to the currently set path.

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

12 years agoRemove encca_haac_available(). It's no longer needed since we dropped support for...
Rodeo [Wed, 20 Jun 2012 15:59:03 +0000 (15:59 +0000)]
Remove encca_haac_available(). It's no longer needed since we dropped support for OS X 10.5.

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

12 years agocommon.h, common.c: minor modifications.
Rodeo [Wed, 20 Jun 2012 15:31:48 +0000 (15:31 +0000)]
common.h, common.c: minor modifications.

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

12 years agohb_get_best_mixdown: fix bug introduced in revision 4755.
Rodeo [Wed, 20 Jun 2012 15:26:32 +0000 (15:26 +0000)]
hb_get_best_mixdown: fix bug introduced in revision 4755.

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

12 years agoWinGui:WinGui:
sr55 [Tue, 19 Jun 2012 18:42:08 +0000 (18:42 +0000)]
WinGui:WinGui:
- Fix Foreign Audio Search Feature
- Fix FFMpeg4/2 encoder selection
- Allow the Preset window to overwrite existing presets.

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

12 years agolibhb: update hb_get_best_mixdown(). I was partially borken after revision 4754.
Rodeo [Tue, 19 Jun 2012 18:06:24 +0000 (18:06 +0000)]
libhb: update hb_get_best_mixdown(). I was partially borken after revision 4754.

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

12 years agolibhb: drop HB_INPUT_CH_LAYOUT_*
Rodeo [Mon, 18 Jun 2012 21:11:48 +0000 (21:11 +0000)]
libhb: drop HB_INPUT_CH_LAYOUT_*

AV_CH_LAYOUT_* works for us, and as its usage becomes more widespread in libhb, translating between the two formats gets increasingly tedious.

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

12 years agoFix yet another stupid overshight on my part.
Rodeo [Mon, 18 Jun 2012 20:44:24 +0000 (20:44 +0000)]
Fix yet another stupid overshight on my part.

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

12 years agoRemove debug code.
Rodeo [Mon, 18 Jun 2012 19:33:38 +0000 (19:33 +0000)]
Remove debug code.

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

12 years agoFix HE-AAC in MKV.
Rodeo [Mon, 18 Jun 2012 19:31:50 +0000 (19:31 +0000)]
Fix HE-AAC in MKV.

HandBrake's output should now play correctly on Sigma-based hardware players (among others).

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

12 years agoAdd PGS codec ID to libmkv and use it.
Rodeo [Mon, 18 Jun 2012 19:28:45 +0000 (19:28 +0000)]
Add PGS codec ID to libmkv and use it.

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

12 years agoFix Foreign Audio Search bug introduced in revision 4677.
Rodeo [Sun, 17 Jun 2012 20:53:11 +0000 (20:53 +0000)]
Fix Foreign Audio Search bug introduced in revision 4677.

interjob->select_subtitle was never freed, causing it to be added to all following queued encodes.

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

12 years agoWinGui: Fix a couple of the issues with the Picture settings view with regard to...
sr55 [Sun, 17 Jun 2012 20:19:28 +0000 (20:19 +0000)]
WinGui: Fix a couple of the issues with the Picture settings view with regard to max width / height settings stored in presets. There are still a number of issues around the calculation of width/height to be tidy'd up.

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

12 years agoWinGui: Output settings were not loading with the presets.
sr55 [Sun, 17 Jun 2012 17:16:04 +0000 (17:16 +0000)]
WinGui: Output settings were not loading with the presets.

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

12 years agoremove unnecessary include
jstebbins [Sun, 17 Jun 2012 14:11:33 +0000 (14:11 +0000)]
remove unnecessary include

Thanks for Rogerio Brito for patch

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

12 years agoAdd CFLAGS and LDFLAGS specified during configure to compile and link commands
jstebbins [Sun, 17 Jun 2012 14:04:02 +0000 (14:04 +0000)]
Add CFLAGS and LDFLAGS specified during configure to compile and link commands

Enhances portability.
configure.py already added these to the GNUmakefile output, but the
values did not get incorporated into compile or link commands.

Thanks to Fabian Greffrath and Rogerio Brito for this patch

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

12 years agoWinGui: Convert the Presets Panel to a Listbox and update the styling. This should...
sr55 [Sat, 16 Jun 2012 16:29:23 +0000 (16:29 +0000)]
WinGui: Convert the Presets Panel to a Listbox and update the styling. This should better reflect the selected preset and cleanup the horrible toolbar styling for the button controls.

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

12 years agoWinGui: Various fixes
sr55 [Sat, 16 Jun 2012 12:40:05 +0000 (12:40 +0000)]
WinGui: Various fixes
- Add tooltip to each queue item to indicate some primary settings.
- Removed some legacy preset code.
- Fixed Queue Recovery

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

12 years agoWinGui: Fix an issue in the AudioTrack copy constructor.
sr55 [Fri, 15 Jun 2012 21:52:07 +0000 (21:52 +0000)]
WinGui: Fix an issue in the AudioTrack copy constructor.

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

12 years agoWinGui: Add extension to file when exporting the queue
sr55 [Fri, 15 Jun 2012 18:03:13 +0000 (18:03 +0000)]
WinGui: Add extension to file when exporting the queue

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

12 years agoUpdated file copyright / GPL headers
sr55 [Fri, 15 Jun 2012 15:34:41 +0000 (15:34 +0000)]
Updated file copyright / GPL headers

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

12 years agoWinGui: Fix another issue with Scanning sources at the drive letter level.
sr55 [Thu, 14 Jun 2012 22:03:04 +0000 (22:03 +0000)]
WinGui: Fix another issue with Scanning sources at the drive letter level.

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

12 years agoWinGui: Fix build and further clean out some legacy code.
sr55 [Thu, 14 Jun 2012 19:22:31 +0000 (19:22 +0000)]
WinGui: Fix build and further clean out some legacy code.

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

12 years agoWinGui: Code Cleanup
sr55 [Thu, 14 Jun 2012 19:08:34 +0000 (19:08 +0000)]
WinGui: Code Cleanup
- New file headers for App Services
- Update Interop to include an IWindsorInstaller implementation
- Update Interop Converter (new framerates and fflac)
- Many stylecop warnings fixed.

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

12 years agoWinGui: Strip out more legacy code.
sr55 [Thu, 14 Jun 2012 18:09:38 +0000 (18:09 +0000)]
WinGui: Strip out more legacy code.

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

12 years agoWinGui: Remove the legacy WinForms GUI.
sr55 [Thu, 14 Jun 2012 17:38:21 +0000 (17:38 +0000)]
WinGui: Remove the legacy WinForms GUI.

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

12 years agoWinGui: Additional layout changes to the options window.
sr55 [Thu, 14 Jun 2012 10:20:03 +0000 (10:20 +0000)]
WinGui: Additional layout changes to the options window.

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

12 years agoWinGui: Some layout tweaks by beta-tester
sr55 [Thu, 14 Jun 2012 09:59:24 +0000 (09:59 +0000)]
WinGui: Some layout tweaks by beta-tester
- disabling sizing on windows, where sizing makes no sense;
- limit sizing on windows, where sizing in a wrong directions makes problems;
- make controls full sizable, where the readability/information will benefit from;
- all windows appears now in ScreenCenter;

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

12 years agoWinGui: Initial layout changes to the options screen.
sr55 [Thu, 14 Jun 2012 09:46:46 +0000 (09:46 +0000)]
WinGui: Initial layout changes to the options screen.

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

12 years agoDon't override fribidi lib and cflags when building libass on linux
jstebbins [Fri, 8 Jun 2012 21:34:23 +0000 (21:34 +0000)]
Don't override fribidi lib and cflags when building libass on linux
We use the system version of fribidi on linux and overriding the build
flags causes failures on some systems (gentoo).

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

12 years agoLinGui: fix crash when dvd volume id has non-ascii characters
jstebbins [Fri, 8 Jun 2012 20:38:40 +0000 (20:38 +0000)]
LinGui: fix crash when dvd volume id has non-ascii characters
The iso9660 spec says the volume id must only be composed of 0-9, A-Z, and _.
But dvd authors seem to take liberties with the character set.  Certain
non-ascii character sequences cause a crash in the glib function
g_markup_escape_text(). So force all characters into the standard ascii range.

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

12 years agoLinGui: fix problem with setting the default destination file name
jstebbins [Fri, 8 Jun 2012 17:23:26 +0000 (17:23 +0000)]
LinGui: fix problem with setting the default destination file name
If ghb is started with a parameter that specifies the source, it was
not updating the destination name as it normally would when choosing
the source from the file open dialog.

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

12 years agoWinGui: Added a Shell View which can host various windows. By default this will host...
sr55 [Fri, 8 Jun 2012 02:13:59 +0000 (02:13 +0000)]
WinGui: Added a Shell View which can host various windows. By default this will host the Main window. Changed the Options window to be a usercontrol so it can be hosted in this shell view, allowing for a chrome-esk style options within the main window without the need for a dialog window.  The options window will need some design changes. (Coming soon)

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

12 years agoWinGui: Changes to the Main Window and Advanced Tab to make allow it to better suppor...
sr55 [Thu, 7 Jun 2012 23:58:09 +0000 (23:58 +0000)]
WinGui: Changes to the Main Window and Advanced Tab to make allow it to better support window resizing. Thanks to beta-tester

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

12 years agoWinGui: Fix in the scan service for scanning folders with spaces.
sr55 [Thu, 7 Jun 2012 23:26:48 +0000 (23:26 +0000)]
WinGui: Fix in the scan service for scanning folders with spaces.

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

12 years agoWingui: Fix an issue where a trailing slash can cause an encode not to start.
sr55 [Thu, 7 Jun 2012 23:23:24 +0000 (23:23 +0000)]
Wingui: Fix an issue where a trailing slash can cause an encode not to start.

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

12 years agoPortability patches
jstebbins [Thu, 7 Jun 2012 23:18:40 +0000 (23:18 +0000)]
Portability patches
gudev is only available on linux, so ifdef it out on all other systems.
also add some definitions to the make system for generic gnu and freebsd
systems.

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

12 years agoLinGui: remove deprecated "Encoding" key from desktop file
jstebbins [Thu, 7 Jun 2012 22:48:58 +0000 (22:48 +0000)]
LinGui: remove deprecated "Encoding" key from desktop file

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

12 years agoMake HB_AMIXDOWN_* defines a simple enumeration. The existing system wasn't necessary...
Rodeo [Wed, 6 Jun 2012 16:07:58 +0000 (16:07 +0000)]
Make HB_AMIXDOWN_* defines a simple enumeration. The existing system wasn't necessary and didn't work in all decoders for Dolby downmixing.

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

12 years agoWinGui: Order Language listboxes on the Options / Audio and Subtitles Tab
sr55 [Wed, 6 Jun 2012 01:00:56 +0000 (01:00 +0000)]
WinGui: Order Language listboxes on the Options / Audio and Subtitles Tab

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

12 years agoWinGui: Allow Modulus with Anamorphic Mode None. Tweaks to Destination filename property.
sr55 [Wed, 6 Jun 2012 00:28:09 +0000 (00:28 +0000)]
WinGui: Allow Modulus with Anamorphic Mode None. Tweaks to Destination filename property.

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

12 years agoWinGui: Fix chapter csv file import. Names were not displaying on the chapter list...
sr55 [Sun, 3 Jun 2012 21:02:54 +0000 (21:02 +0000)]
WinGui: Fix chapter csv file import. Names were not displaying on the chapter list grid.

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