]> granicus.if.org Git - handbrake/log
handbrake
11 years agoRetag 0.9.9 0.9.9 0.9.9
sr55 [Sat, 18 May 2013 11:36:54 +0000 (11:36 +0000)]
Retag 0.9.9

git-svn-id: svn://svn.handbrake.fr/HandBrake/tags/0.9.9@5472 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Fix build script
sr55 [Sat, 18 May 2013 11:35:57 +0000 (11:35 +0000)]
WinGui: Fix build script

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

11 years agoTagging 0.9.9
sr55 [Sat, 18 May 2013 09:43:32 +0000 (09:43 +0000)]
Tagging 0.9.9

git-svn-id: svn://svn.handbrake.fr/HandBrake/tags/0.9.9@5469 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoWinGui: Fix typo
sr55 [Sat, 18 May 2013 09:42:36 +0000 (09:42 +0000)]
WinGui: Fix typo

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

11 years agoTagging 0.9.9 release.
sr55 [Fri, 17 May 2013 18:25:42 +0000 (18:25 +0000)]
Tagging 0.9.9 release.

git-svn-id: svn://svn.handbrake.fr/HandBrake/tags/0.9.9@5463 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agox264: hardcode the version string so that the full and correct x264 version is used...
Rodeo [Fri, 17 May 2013 17:01:44 +0000 (17:01 +0000)]
x264: hardcode the version string so that the full and correct x264 version is used in encoder/set.c, regardless of the tarball (full git repo vs. git archive) or where HandBrake is built from (source tarball vs. svn or git checkout).

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

11 years agosync: fall back to drop_video_to_sync when hb_avcodec_open() fails, instesd of killin...
Rodeo [Fri, 17 May 2013 16:09:54 +0000 (16:09 +0000)]
sync: fall back to drop_video_to_sync when hb_avcodec_open() fails, instesd of killing the job.

Patch by John Stebbins. Thanks!

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

11 years agodecsrtsub: clear remnants of the previous line before progessing a new one.
Rodeo [Tue, 14 May 2013 20:19:48 +0000 (20:19 +0000)]
decsrtsub: clear remnants of the previous line before progessing a new one.

I don't really understand why, but this prevents miscellaneous subtitle corruption.

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

11 years agoBump Libav to v9.6.
Rodeo [Mon, 13 May 2013 00:49:46 +0000 (00:49 +0000)]
Bump Libav to v9.6.

Miscellaneous security and bug fixes, including support for mixed interlaced/non-interlaced ProRes video.

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

11 years agoMacGui: stop before the last ("None") subtitle track when converting incompatible...
Rodeo [Sun, 12 May 2013 21:49:54 +0000 (21:49 +0000)]
MacGui: stop before the last ("None") subtitle track when converting incompatible tracks to burn-in.

We were calling [[tempObject objectForKey:@"subtitleSourceTrackType"] intValue], so for "None", [nil intValue], which was returning 0. As it turns out, VOBSUB == 0 thus hb_subtitle_can_pass() was true out of sheer luck.

In a case where e.g. hb_subtitle_can_pass(VOBSUB, mux) is false (such as with the upcoming HB_MUX_AV_MP4 muxer), the None track would actually be deleted!

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

11 years agoMacGui: fix a bug where the iPod 5G checkbox would be disabled for x264 in MP4.
Rodeo [Sun, 12 May 2013 20:38:45 +0000 (20:38 +0000)]
MacGui: fix a bug where the iPod 5G checkbox would be disabled for x264 in MP4.

This would happen when switching from MKV with a Theora encoder to MP4: the encoder would be reset to x264, but we failed to detect the change of encoder and therefore didn't call videoEncoderPopUpChanged.

Also, don't needlessly call twoPassCheckboxChanged after videoEncoderPopUpChanged since the latter calls the former.

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

11 years agoMacGui: refactor handling on chapter titles.
Rodeo [Sat, 11 May 2013 19:38:49 +0000 (19:38 +0000)]
MacGui: refactor handling on chapter titles.

job->list_chapters is reset by any call to hb_job_reset(), so store chapter titles in an NSArray instead.

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

11 years agoWinGui: Fix a number of cosmetic issues and a bug with the Check for updates dropdown...
sr55 [Sat, 11 May 2013 12:45:45 +0000 (12:45 +0000)]
WinGui: Fix a number of cosmetic issues and a bug with the Check for updates dropdown on a clean system.

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

11 years agoLinGui: fix a problem with batch enqueue
jstebbins [Fri, 10 May 2013 17:16:07 +0000 (17:16 +0000)]
LinGui: fix a problem with batch enqueue

The current chapter start/end was applied to all titles.  So if the
currently selected title has fewer chapters than other titles, chapters
would be missing in the encoded titles.

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

11 years agoLinGui: Fix a bug in audio panel
jstebbins [Thu, 9 May 2013 16:15:39 +0000 (16:15 +0000)]
LinGui: Fix a bug in audio panel
When changing the output track selection, the available bitrates and
mixdowns did not update properly.

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

11 years agoImprove upon previous commit.
Rodeo [Wed, 8 May 2013 22:02:05 +0000 (22:02 +0000)]
Improve upon previous commit.

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

11 years agodecsrtsub: rework character substitution logic.
Rodeo [Wed, 8 May 2013 21:51:00 +0000 (21:51 +0000)]
decsrtsub: rework character substitution logic.

Don't pointlessly convert a line break to a space if it's the last character.

Also, only skip a CR character if it's followed by an LF character. Otherwise, replace it with an LF character or a space, depending on the line number.

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

11 years agoCLI: fix broken code for preserving libhb's default muxer.
Rodeo [Wed, 8 May 2013 17:49:17 +0000 (17:49 +0000)]
CLI: fix broken code for preserving libhb's default muxer.

It was checking if (job->mux) instead of if (mux)…

Also move setting the muxer and muxer options earlier, as we need to know the final muxer when e.g. setting audio settings.

Also, don't set the default audio codec before we have all relevant information.

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

11 years agomuxmkv: fix audio track private data for 24-bit FLAC.
Rodeo [Sun, 5 May 2013 01:54:42 +0000 (01:54 +0000)]
muxmkv: fix audio track private data for 24-bit FLAC.

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

11 years agoLinGui: Fix live preview reset for previews > 10
jstebbins [Fri, 3 May 2013 20:37:47 +0000 (20:37 +0000)]
LinGui: Fix live preview reset for previews > 10

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

11 years agoLinGui: fix live preview "encoded" array size.
jstebbins [Fri, 3 May 2013 16:57:32 +0000 (16:57 +0000)]
LinGui: fix live preview "encoded" array size.
Forgot to bump this when we increased max preview count to 60.

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

11 years agoFix typo in previous commit.
Rodeo [Tue, 30 Apr 2013 23:32:31 +0000 (23:32 +0000)]
Fix typo in previous commit.

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

11 years agoCLI: minor help text updates in preparation for the next release.
Rodeo [Tue, 30 Apr 2013 23:22:45 +0000 (23:22 +0000)]
CLI: minor help text updates in preparation for the next release.

Remove some outdated comments, simplify and clarify a bit.

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

11 years agocontrib: patch libbluray to fix "duplicate" filter
jstebbins [Tue, 30 Apr 2013 22:56:34 +0000 (22:56 +0000)]
contrib: patch libbluray to fix "duplicate" filter
Titles with the same video clips but different stream lists got marked
as duplicate.  Caused valid titles to be filtered out.
Example: Frankenweenie

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

11 years agolibhb: fix crash when EOF is found before first video frame
jstebbins [Tue, 30 Apr 2013 18:35:05 +0000 (18:35 +0000)]
libhb: fix crash when EOF is found before first video frame
buffer got closed twice, once in sync close and once in muxer.

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

11 years agoWinGui: Fix a reset issue on the log window.
sr55 [Tue, 30 Apr 2013 17:39:42 +0000 (17:39 +0000)]
WinGui: Fix a reset issue on the log window.

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

11 years agoWinGui: Fix build
sr55 [Mon, 29 Apr 2013 17:52:43 +0000 (17:52 +0000)]
WinGui: Fix build

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

11 years agoWinGui: Fix Lock System action and hide the quit handbrake option from when done...
sr55 [Mon, 29 Apr 2013 17:46:38 +0000 (17:46 +0000)]
WinGui: Fix Lock System action and hide the quit handbrake option from when done actions.  Quit will return after the release. Won't fix now due to required re factoring work to fix it.

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

11 years agoRefactor add_ffmpeg_audio.
Rodeo [Sun, 28 Apr 2013 21:39:48 +0000 (21:39 +0000)]
Refactor add_ffmpeg_audio.

Simplify, set bitrate to 0 - scan will then call decavcodecaBSInfo,
decode some audio and set the other input parameters, including samples_per_frame.

decavcodec and scan fixes by John Stebbins. Thanks!

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

11 years agosync: fix a hang when the avcodec encoder for silence insertion fails to open.
Rodeo [Sun, 28 Apr 2013 21:13:47 +0000 (21:13 +0000)]
sync: fix a hang when the avcodec encoder for silence insertion fails to open.

This affects e.g. AAC Passthru with more than 6 channels.

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

11 years agoMacGui: harmonize audio configuration code in prepareJob and prepareAudioForJob.
Rodeo [Sun, 28 Apr 2013 21:05:55 +0000 (21:05 +0000)]
MacGui: harmonize audio configuration code in prepareJob and prepareAudioForJob.

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

11 years agoFix log pollution when Auto Passthru is not possible and uses the fallback audio...
Rodeo [Sun, 28 Apr 2013 20:38:20 +0000 (20:38 +0000)]
Fix log pollution when Auto Passthru is not possible and uses the fallback audio encoder, if that encoder does not accept s16(p) input samples.

"work: track 1, dithering not supported by codec"

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

11 years agohb_get_best_mixdown: fix out-of-array reads.
Rodeo [Sun, 28 Apr 2013 20:33:22 +0000 (20:33 +0000)]
hb_get_best_mixdown: fix out-of-array reads.

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

11 years agoBump VPoint to 9
sr55 [Sun, 28 Apr 2013 16:05:09 +0000 (16:05 +0000)]
Bump VPoint to 9

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

11 years agoTesting Tag Build Only, will be deleted shortly!
sr55 [Sun, 28 Apr 2013 15:20:50 +0000 (15:20 +0000)]
Testing Tag Build Only, will be deleted shortly!

git-svn-id: svn://svn.handbrake.fr/HandBrake/tags/0.9.9@5417 b64f7644-9d1e-0410-96f1-a4d463321fa5

11 years agoMacGui: bugfix: set video framerate mode (vfr, pfr, cfr) when editing queue items.
Rodeo [Sun, 28 Apr 2013 12:42:53 +0000 (12:42 +0000)]
MacGui: bugfix: set video framerate mode (vfr, pfr, cfr) when editing queue items.

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

11 years agoTidy up and corrections to the NEWS file.
sr55 [Sat, 27 Apr 2013 13:12:42 +0000 (13:12 +0000)]
Tidy up and corrections to the NEWS file.

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

11 years agomuxmp4: update MP4AddAudioTrack usage as per mp4v2 documentation.
Rodeo [Sat, 27 Apr 2013 02:33:47 +0000 (02:33 +0000)]
muxmp4: update MP4AddAudioTrack usage as per mp4v2 documentation.

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

11 years agoWinGui: Quick fix to the preset export cancel option.
sr55 [Fri, 26 Apr 2013 19:57:57 +0000 (19:57 +0000)]
WinGui: Quick fix to the preset export cancel option.

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

11 years agoWinGui: Change the Audio Automatic behaviour to be a bit more sane. When Add All...
sr55 [Fri, 26 Apr 2013 17:16:44 +0000 (17:16 +0000)]
WinGui: Change the Audio Automatic behaviour to be a bit more sane.  When Add All Remaining/Selected is turned on, changing title will now clear down first, then add the preset tracks with the preferred language, then add the remaining after with default settings.

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

11 years agoLinGui: Add Ubuntu 13.04 (Raring Ringtail) to nightly builds
jstebbins [Thu, 25 Apr 2013 22:10:22 +0000 (22:10 +0000)]
LinGui: Add Ubuntu 13.04 (Raring Ringtail) to nightly builds
Remove Ubuntu 11.04 (Natty Narwhal) from nightlies.

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

11 years agowork: pass the crop settings to the subtitle renderer when adding it to the flter...
Rodeo [Wed, 24 Apr 2013 19:56:47 +0000 (19:56 +0000)]
work: pass the crop settings to the subtitle renderer when adding it to the flter chain.

Fixes an issue where subtitles would not be re-positioned and be cut off.

Fix by John Stebbins.

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

11 years agoDisable Libav's AVX and FMA4 optimizations under Windows x86_64.
Rodeo [Wed, 24 Apr 2013 19:11:35 +0000 (19:11 +0000)]
Disable Libav's AVX and FMA4 optimizations under Windows x86_64.

They cause crashes in avresample.

SSE* optimizations are still enabled, so the performance hit should be pretty minimal.

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

11 years agomuxmp4: compute audio frame durations when the frame size isn't known.
Rodeo [Wed, 24 Apr 2013 17:43:24 +0000 (17:43 +0000)]
muxmp4: compute audio frame durations when the frame size isn't known.

Otherwise, mp4v2 would assume a duration of zero and never write any audio chunk, causing excessive memory usage and a noticeable performance decrease in some cases.

The issue was introduced in SVN revision 4825, when libavcodec stopped setting AVCodecContext.frame_size for some codecs.

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

11 years agoWinGui: Disable Custom Anamorphic calculations (Will implement these via libhb after...
sr55 [Sun, 21 Apr 2013 14:49:48 +0000 (14:49 +0000)]
WinGui: Disable Custom Anamorphic calculations (Will implement these via libhb after the next release) but leave the options as passthru only.  Hide the Keep AR checkbox when it's not applicable.

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

11 years agoWinGui: Added some additional sanity checking around preset import/export code.
sr55 [Sun, 21 Apr 2013 14:28:52 +0000 (14:28 +0000)]
WinGui: Added some additional sanity checking around preset import/export code.

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

11 years agoMacGui: Bump year to 2013
sr55 [Sun, 21 Apr 2013 13:51:46 +0000 (13:51 +0000)]
MacGui: Bump year to 2013

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

11 years agoAttempt to fix SymLinks
sr55 [Sat, 20 Apr 2013 13:38:11 +0000 (13:38 +0000)]
Attempt to fix SymLinks

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

11 years agoMacGui: Bump the Growl SDK to 2.0.1 bringing notification centre support for those...
sr55 [Sat, 20 Apr 2013 13:24:15 +0000 (13:24 +0000)]
MacGui: Bump the Growl SDK to 2.0.1 bringing notification centre support for those not running the growl application.

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

11 years agoCLI: improve help for video filters.
Rodeo [Fri, 12 Apr 2013 21:17:25 +0000 (21:17 +0000)]
CLI: improve help for video filters.

Includes mention of the new "bob" mode for decomb and deinterlace.

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

11 years agoWinGui: Fix the Preset exporter. (VideoFramerateMode was missing)
sr55 [Fri, 12 Apr 2013 20:25:05 +0000 (20:25 +0000)]
WinGui: Fix the Preset exporter. (VideoFramerateMode was missing)

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

11 years agoMacGui: simplify queue display code.
Rodeo [Fri, 12 Apr 2013 20:14:05 +0000 (20:14 +0000)]
MacGui: simplify queue display code.

Add detailed summaries to the queue item dictionary and use them in HBQueueController.
This helps remove a lot of duplicate logic.

Uses existing methods pictureSettingsSummary, pictureFiltersSummary and new muxerOptionsSummary.

Also add a few height rows for long lines that often wrap to a second row.

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

11 years agoWinGui: Fix the x264 preset/tune/profile tooltip so that it now shows the equivalent...
sr55 [Fri, 12 Apr 2013 20:07:08 +0000 (20:07 +0000)]
WinGui: Fix the x264 preset/tune/profile tooltip so that it now shows the equivalent x264 query. Also added an option to disable libhb features such as this incase this turns out to be problematic.

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

11 years agoWinGui: Fix Modulus option in preset import.
sr55 [Fri, 12 Apr 2013 19:16:18 +0000 (19:16 +0000)]
WinGui: Fix Modulus option in preset import.

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

11 years agoMacGui: main and queue window improvements.
Rodeo [Fri, 12 Apr 2013 19:06:06 +0000 (19:06 +0000)]
MacGui: main and queue window improvements.

Merge fPictureSizeField and fPictureCroppingField into fPictureSettingsField (fits on a single line).

Rename fVideoFiltersField to fPictureFiltersField.

Move the two text fields closer to each other now that there is more room.
Also align their contents using tabs.
This should look better overall.

Add pictureSettingsSummary and pictureFiltersSummary to generate the text summaries used in the fields above.

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

11 years agoMacGui: don't mention grayscale twice in the queue display.
Rodeo [Fri, 12 Apr 2013 18:55:41 +0000 (18:55 +0000)]
MacGui: don't mention grayscale twice in the queue display.

Since it's mentioned in the filter summary, we don't need to repeat it in the picture summary.

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

11 years agoMacGui: rename a variable.
Rodeo [Fri, 12 Apr 2013 14:58:19 +0000 (14:58 +0000)]
MacGui: rename a variable.

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

11 years agoMacGui: fix loading preset which specify an advanced options string (rather than...
Rodeo [Fri, 12 Apr 2013 14:06:32 +0000 (14:06 +0000)]
MacGui: fix loading preset which specify an advanced options string (rather than using the x264 preset system).

Also miscellaneous cleanup and improvement.

The issue was introduced in SVN revision 5388.

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

11 years agoMacGui: widen the preview window's HUD display by 10 pixels.
Rodeo [Wed, 10 Apr 2013 19:34:02 +0000 (19:34 +0000)]
MacGui: widen the preview window's HUD display by 10 pixels.

The info string "Source: 1920x1080, Output: 1920x1080, Anamorphic: 1920x1080 Custom" was being wrapped.

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

11 years agodecssasub, dectx3gsub: fix writing past hb_buffer_t data[size - 1].
Rodeo [Wed, 10 Apr 2013 12:56:31 +0000 (12:56 +0000)]
decssasub, dectx3gsub: fix writing past hb_buffer_t data[size - 1].

This is not safe and causes subtitle corruption.

Same fix as SVN revision 5346 for the remaining text-based subtitle deocders.

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

11 years agoUpdate Mac build instructions.
Rodeo [Tue, 9 Apr 2013 15:37:39 +0000 (15:37 +0000)]
Update Mac build instructions.

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

11 years agoMacGui: when switching from the x264 system to the advanced panel, populate the advan...
Rodeo [Tue, 9 Apr 2013 12:21:38 +0000 (12:21 +0000)]
MacGui: when switching from the x264 system to the advanced panel, populate the advanced panel's options string with the unparsed x264 system options.

Also, don't reset the x264 system widgets, so that the x264 system settings are not lost when switching back.

When loading a preset whic uses the advanced panel, do reset the x264 system widgets, however.

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

11 years agoMacGui: fix a bug when saving a preset, the x264 system is used but the unparsed...
Rodeo [Tue, 9 Apr 2013 12:17:42 +0000 (12:17 +0000)]
MacGui: fix a bug when saving a preset, the x264 system is used but the unparsed string is empty (all defaults).

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

11 years agoMacGui: fix an issue where the advanced panel's widgets were not being populated...
Rodeo [Sun, 7 Apr 2013 14:18:56 +0000 (14:18 +0000)]
MacGui: fix an issue where the advanced panel's widgets were not being populated in time, if the default preset used the x264 system.

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

11 years agoWe support encoder options for everything but Theora, so simplify the check a bit.
Rodeo [Thu, 4 Apr 2013 15:35:05 +0000 (15:35 +0000)]
We support encoder options for everything but Theora, so simplify the check a bit.

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

11 years agoWinGui: default to burn-in for VobSub too (when the container is MP4).
Rodeo [Tue, 2 Apr 2013 22:33:56 +0000 (22:33 +0000)]
WinGui: default to burn-in for VobSub too (when the container is MP4).

This is for compatibility reason (VobSub in MP4 is supported by very few players or devices) and matches the MacGUI behavior
.

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

11 years agoBUILD-Mac: update documentation, remove outdated comments.
Rodeo [Tue, 2 Apr 2013 22:24:46 +0000 (22:24 +0000)]
BUILD-Mac: update documentation, remove outdated comments.

We no longer use execv after SVN revisions 5209 and 5317.

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

11 years agoUpdate outdated comment.
Rodeo [Mon, 1 Apr 2013 16:37:33 +0000 (16:37 +0000)]
Update outdated comment.

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

11 years agoRemove unnecessary legacy HB_VCODEC define and minor cleanup.
Rodeo [Mon, 1 Apr 2013 16:34:24 +0000 (16:34 +0000)]
Remove unnecessary legacy HB_VCODEC define and minor cleanup.

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

11 years agoExposing DurationPts on titles and chapters from scans, along with some conversion...
randomengy [Sun, 31 Mar 2013 20:55:00 +0000 (20:55 +0000)]
Exposing DurationPts on titles and chapters from scans, along with some conversion functions.
Adding values to ScanProgressEventArgs to expose more fine-tuned progress.
Updating structs to catch up to most recent HB SVN.
Added a new VideoRangeType: All. This allows you to specify an entire title to convert without counting chapters.
We now create the filter list sorted and pass in the RENDERSUB filter with correct cropping values. This fixes burned-in subtitles getting cut off by cropping.

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

11 years agoWinGui: Update the dragdrop library to fix a number of glitches.
sr55 [Sat, 30 Mar 2013 22:06:24 +0000 (22:06 +0000)]
WinGui: Update the dragdrop library to fix a number of glitches.

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

11 years agoWinGui: Couple bug fixes and tweaks.
sr55 [Wed, 27 Mar 2013 19:56:23 +0000 (19:56 +0000)]
WinGui: Couple bug fixes and tweaks.

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

11 years agoUpdates to THANKS and NEWS
sr55 [Wed, 27 Mar 2013 13:57:00 +0000 (13:57 +0000)]
Updates to THANKS and NEWS

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

11 years agoUpdate Graphics credits. Now covered under the projects GPLv2 licence.
sr55 [Wed, 27 Mar 2013 13:50:28 +0000 (13:50 +0000)]
Update Graphics credits. Now covered under the projects GPLv2 licence.

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

11 years agoWinGui: Fix an issue with the avg bitrate text box. Update on property changed, not...
sr55 [Fri, 22 Mar 2013 18:14:41 +0000 (18:14 +0000)]
WinGui: Fix an issue with the avg bitrate text box. Update on property changed, not lost focus

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

11 years agoWinGui: Removed extra property.
sr55 [Wed, 20 Mar 2013 21:06:06 +0000 (21:06 +0000)]
WinGui: Removed extra property.

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

11 years agoWinGui: Small tweak to enable burned in for pgs by default in mp4 files. (Adding...
sr55 [Wed, 20 Mar 2013 21:05:28 +0000 (21:05 +0000)]
WinGui: Small tweak to enable burned in for pgs by default in mp4 files. (Adding tracks only for now)

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

11 years agoWinGui: Fix a bug in the scan engine that caused problems with multi-angle discs.
sr55 [Wed, 20 Mar 2013 20:50:58 +0000 (20:50 +0000)]
WinGui: Fix a bug in the scan engine that caused problems with multi-angle discs.

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

11 years agoWinGui: Appcast related fixes and tidyup.
sr55 [Wed, 20 Mar 2013 20:35:48 +0000 (20:35 +0000)]
WinGui: Appcast related fixes and tidyup.

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

11 years agoWinGui: Part 1: Fix numerous issues around app versioning. Hopefully the GUI and...
sr55 [Tue, 19 Mar 2013 21:48:51 +0000 (21:48 +0000)]
WinGui: Part 1: Fix numerous issues around app versioning. Hopefully the GUI and CLI will no longer be out of sync.

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

11 years agomuxmp4: map '\r\n' and '\r' to '\n'.
Rodeo [Tue, 19 Mar 2013 18:31:16 +0000 (18:31 +0000)]
muxmp4: map '\r\n' and '\r' to '\n'.

Improves Apple compatibility and avoids double linebreaks in e.g. VLC.

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

11 years agodecutf8sub: cosmetics.
Rodeo [Tue, 19 Mar 2013 17:58:52 +0000 (17:58 +0000)]
decutf8sub: cosmetics.

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

11 years agodecutf8sub: cleanup.
Rodeo [Tue, 19 Mar 2013 17:48:09 +0000 (17:48 +0000)]
decutf8sub: cleanup.

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

11 years agodecutf8sub: fix a bug when passing subtitles through to MP4.
Rodeo [Tue, 19 Mar 2013 17:35:45 +0000 (17:35 +0000)]
decutf8sub: fix a bug when passing subtitles through to MP4.

The decoder was setting the last character but forgot to increment out->size,
which led to weird artifacts being displayed when playing in e.g. VLC.

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

11 years agoCLI: when an audio or subtitle track is skipped, print the string value.
Rodeo [Tue, 19 Mar 2013 15:41:33 +0000 (15:41 +0000)]
CLI: when an audio or subtitle track is skipped, print the string value.

Makes it easier to spot non-numeric track "numbers".

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

11 years agoMacGUI: Fix a crash that happens when the Preview window backingScaleFactor changes...
ritsuka [Tue, 19 Mar 2013 13:12:15 +0000 (13:12 +0000)]
MacGUI: Fix a crash that happens when the Preview window backingScaleFactor changes but the title is not set.

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

11 years agoMacGui: PictureComntroller reloadStillPreview, remove code that does nothing.
Rodeo [Mon, 18 Mar 2013 23:08:43 +0000 (23:08 +0000)]
MacGui: PictureComntroller reloadStillPreview, remove code that does nothing.

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

11 years agoUpdate the in-app icons to the new graphics
sr55 [Mon, 18 Mar 2013 19:21:23 +0000 (19:21 +0000)]
Update the in-app icons to the new graphics

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

11 years agoMacGui: fix crash in PictureController.
Rodeo [Mon, 18 Mar 2013 18:57:25 +0000 (18:57 +0000)]
MacGui: fix crash in PictureController.

For some reason, it only crashed in debug builds, but de-referencing fTitle before it's been set (e.g. indirectly from awakeFromNib) is obviously wrong.

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

11 years agohb_system_sleep: refactoring.
Rodeo [Mon, 18 Mar 2013 18:07:48 +0000 (18:07 +0000)]
hb_system_sleep: refactoring.

Also:

- release power assertions before freeing them

- actually free the power assertions in   hb_close() (previously unused)

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

11 years agoCLI: implement hb_system_sleep support.
Rodeo [Mon, 18 Mar 2013 18:02:49 +0000 (18:02 +0000)]
CLI: implement hb_system_sleep support.

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

11 years agoMacGui: improve hb_system_sleep support.
Rodeo [Mon, 18 Mar 2013 18:01:58 +0000 (18:01 +0000)]
MacGui: improve hb_system_sleep support.

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

11 years agohb_system_sleep: minor cleanup after last commit.
Rodeo [Mon, 18 Mar 2013 18:00:50 +0000 (18:00 +0000)]
hb_system_sleep: minor cleanup after last commit.

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

11 years agohb_system_sleep: allow/prevent sleep from the UI rather than libhb.
Rodeo [Mon, 18 Mar 2013 17:59:24 +0000 (17:59 +0000)]
hb_system_sleep: allow/prevent sleep from the UI rather than libhb.

The code that sets/unsets the "power assertions" is still in libhb.

Patch by Jérôme Lacube. Thanks!

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

11 years agoUse the official libavcodec minimum output buffer size via a define (currently, 16...
Rodeo [Sun, 17 Mar 2013 23:13:35 +0000 (23:13 +0000)]
Use the official libavcodec minimum output buffer size via a define (currently, 16 KiB).

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

11 years agoreverted unintentional change
sr55 [Sat, 16 Mar 2013 17:42:52 +0000 (17:42 +0000)]
reverted unintentional change

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

11 years agoadded make pkg.create.tar
sr55 [Sat, 16 Mar 2013 17:42:04 +0000 (17:42 +0000)]
added make pkg.create.tar

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

11 years agolibhb: fix fdk-aac mono encoding
jstebbins [Sat, 16 Mar 2013 16:59:35 +0000 (16:59 +0000)]
libhb: fix fdk-aac mono encoding

A minimum output buffer size of 8KB is needed by libav

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

11 years agolibhb: fix incorrect scan progress
jstebbins [Thu, 14 Mar 2013 23:30:09 +0000 (23:30 +0000)]
libhb: fix incorrect scan progress
slightly wrong calculation caused progress to go backwards sometimes.

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

11 years agoMacGui: fix external SRT subtitles after last commit.
Rodeo [Wed, 13 Mar 2013 13:45:38 +0000 (13:45 +0000)]
MacGui: fix external SRT subtitles after last commit.

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