]> granicus.if.org Git - handbrake/log
handbrake
9 years agoports: use standardized sched_yield instead of pthread_yield
jstebbins [Thu, 23 Apr 2015 15:15:41 +0000 (15:15 +0000)]
ports: use standardized sched_yield instead of pthread_yield

Fixes build on osx

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

9 years agodemuxmpeg: Don't drop frames with bad timestamps
jstebbins [Wed, 22 Apr 2015 21:59:31 +0000 (21:59 +0000)]
demuxmpeg: Don't drop frames with bad timestamps

Just invalidate the timestamps and let the decoders interpolate.

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

9 years agostream: Improve transport stream PCR handling
jstebbins [Wed, 22 Apr 2015 21:12:21 +0000 (21:12 +0000)]
stream: Improve transport stream PCR handling

When a new PCR is seen, emit all currently cached data.  This prevents
data that was referenced to the previous PCR from being associated with
the new PCR.

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

9 years agosync: fix frame p-to-p extra audio after end frame
jstebbins [Wed, 22 Apr 2015 21:11:30 +0000 (21:11 +0000)]
sync: fix frame p-to-p extra audio after end frame

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

9 years agoLinGui: Add pending count to "Queue" toolbar button
jstebbins [Wed, 22 Apr 2015 21:01:20 +0000 (21:01 +0000)]
LinGui: Add pending count to "Queue" toolbar button

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

9 years agoWinGui: Some minor UI Improvements. Including Waiting Queue Count on the "Show Queue...
sr55 [Wed, 22 Apr 2015 19:48:04 +0000 (19:48 +0000)]
WinGui: Some minor UI Improvements. Including Waiting Queue Count on the "Show Queue" toolbar icon.

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

9 years agoLinGui: adjust tooltip line alignments
jstebbins [Wed, 22 Apr 2015 18:52:50 +0000 (18:52 +0000)]
LinGui: adjust tooltip line alignments

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

9 years agoLinGui: fix setting forces subtitles in job
jstebbins [Wed, 22 Apr 2015 17:49:18 +0000 (17:49 +0000)]
LinGui: fix setting forces subtitles in job

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

9 years agoLinGui: Remove "reload queue" dialog. The queue is always reloaded.
jstebbins [Wed, 22 Apr 2015 17:31:01 +0000 (17:31 +0000)]
LinGui: Remove "reload queue" dialog. The queue is always reloaded.

And add a new "Delete All" button to the queue to simplify clearing the queue.

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

9 years agoMacGui: Remove the "Reload queue" alert. The queue is always reloaded and the queue...
ritsuka [Wed, 22 Apr 2015 16:58:07 +0000 (16:58 +0000)]
MacGui: Remove the "Reload queue" alert. The queue is always reloaded and the queue window is shown if there are pending jobs.

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

9 years agoMacGui: implemented the NSSecureCoding protocol in HBJob. Added a compatibility class...
ritsuka [Wed, 22 Apr 2015 16:49:30 +0000 (16:49 +0000)]
MacGui: implemented the NSSecureCoding protocol in HBJob. Added a compatibility class to fall back on NSCoding on 10.7 and earlier.

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

9 years agoparam: Allow ',' as decimal separator in filter values
jstebbins [Tue, 21 Apr 2015 15:49:34 +0000 (15:49 +0000)]
param: Allow ',' as decimal separator in filter values

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

9 years agoWinGui: Minor design tweaks to the No Titles found dialog.
sr55 [Mon, 20 Apr 2015 20:54:35 +0000 (20:54 +0000)]
WinGui: Minor design tweaks to the No Titles found dialog.

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

9 years agoWinGui: Restore the "No Titles Found" dialog from previous versions of HandBrake.
sr55 [Mon, 20 Apr 2015 18:46:33 +0000 (18:46 +0000)]
WinGui: Restore the "No Titles Found" dialog from previous versions of HandBrake.

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

9 years agoMacGui: update the tooltips of the new auto passthru options.
ritsuka [Mon, 20 Apr 2015 10:44:20 +0000 (10:44 +0000)]
MacGui: update the tooltips of the new auto passthru options.

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

9 years agoports: add functions for looking up user config directory
jstebbins [Sun, 19 Apr 2015 14:38:38 +0000 (14:38 +0000)]
ports: add functions for looking up user config directory

These will be used by the CLI for loading custom user presets.

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

9 years agoWinGui: Further UI design updates to Queue selection and Task action countdown.
sr55 [Sat, 18 Apr 2015 19:35:08 +0000 (19:35 +0000)]
WinGui: Further UI design updates to Queue selection and Task action countdown.

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

9 years agoWinGui: Adding Del shortcut to preset pane, and better warnings when deleting.
sr55 [Sat, 18 Apr 2015 19:03:56 +0000 (19:03 +0000)]
WinGui: Adding Del shortcut to preset pane, and better warnings when deleting.

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

9 years agoLinGui: Check for NULL filter settings string
jstebbins [Sat, 18 Apr 2015 18:34:40 +0000 (18:34 +0000)]
LinGui: Check for NULL filter settings string

And add more warnings where appropriate

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

9 years agofilters: Fix generation of filter string
jstebbins [Sat, 18 Apr 2015 18:34:38 +0000 (18:34 +0000)]
filters: Fix generation of filter string

When there is no "tune" and extra ':' was added to the end of the string
and caused a failure to validate the filter settings.

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

9 years agoLinGui: Use real sample rate when creating job
jstebbins [Sat, 18 Apr 2015 17:32:11 +0000 (17:32 +0000)]
LinGui: Use real sample rate when creating job

The computation of the "best" bitrate was wrong because it requires
the real samplerate and not 0 - "same as source"

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

9 years agoWinGui: Minor UI tweaks to the preset window.
sr55 [Sat, 18 Apr 2015 15:59:12 +0000 (15:59 +0000)]
WinGui: Minor UI tweaks to the preset window.

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

9 years agoWinGui: Small bug fix to handling of queue recovery when running mulitple instances...
sr55 [Sat, 18 Apr 2015 15:43:57 +0000 (15:43 +0000)]
WinGui: Small bug fix to handling of queue recovery when running mulitple instances. The GUI should not load the other app instances queue.

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

9 years agoWinGui: Add "Delete" key shortcut to the queue to delete selected items.
sr55 [Sat, 18 Apr 2015 15:36:25 +0000 (15:36 +0000)]
WinGui: Add "Delete" key shortcut to the queue to delete selected items.

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

9 years agoLinGui: Modify how dest filename is constructed for iso images
jstebbins [Sat, 18 Apr 2015 15:13:47 +0000 (15:13 +0000)]
LinGui: Modify how dest filename is constructed for iso images

Use base filename instead of iso volume label when constructing the
default destination filename.

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

9 years agoWinGui: Some further UI design tweaks.
sr55 [Sat, 18 Apr 2015 14:45:33 +0000 (14:45 +0000)]
WinGui: Some further UI design tweaks.

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

9 years agoWinGui: Misc UI fixes and fixes to the logging code for scanning that could sometimes...
sr55 [Sat, 18 Apr 2015 14:08:09 +0000 (14:08 +0000)]
WinGui: Misc UI fixes and fixes to the logging code for scanning that could sometimes cause a crash.

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

9 years agoMacGui: Add TrueHD, Flac and EAC3 auto passthru options in the default sheet.
ritsuka [Sat, 18 Apr 2015 11:28:25 +0000 (11:28 +0000)]
MacGui: Add TrueHD, Flac and EAC3  auto passthru options in the default sheet.

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

9 years agoMacGui: fix HBPicture copy method.
ritsuka [Fri, 17 Apr 2015 13:34:02 +0000 (13:34 +0000)]
MacGui: fix HBPicture copy method.

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

9 years agoMacGui: remove HBPicture dependency on HBTitle.
ritsuka [Fri, 17 Apr 2015 13:21:30 +0000 (13:21 +0000)]
MacGui: remove HBPicture dependency on HBTitle.

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

9 years agoMacGui: update the UI correctly for custom denoise preset.
ritsuka [Fri, 17 Apr 2015 12:34:52 +0000 (12:34 +0000)]
MacGui: update the UI correctly for custom denoise preset.

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

9 years agoMacGui: use the new the filter preset/tune lookup and setting validation functions.
ritsuka [Fri, 17 Apr 2015 12:32:41 +0000 (12:32 +0000)]
MacGui: use the new the filter preset/tune lookup and setting validation functions.

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

9 years agojson: fix another cut/paste error. incorrect dither parsing.
jstebbins [Mon, 13 Apr 2015 21:54:40 +0000 (21:54 +0000)]
json: fix another cut/paste error.  incorrect dither parsing.

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

9 years agoWinGui: Misc IScan API tweaks.
sr55 [Sun, 12 Apr 2015 15:03:25 +0000 (15:03 +0000)]
WinGui: Misc IScan API tweaks.

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

9 years agoWinGui: Some further refactoring of the services library. Moving all the queueing...
sr55 [Sun, 12 Apr 2015 14:25:56 +0000 (14:25 +0000)]
WinGui: Some further refactoring of the services library. Moving all the queueing functionality up to app layer for now.

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

9 years agodeccc608sub: tweak font size once again
jstebbins [Sat, 11 Apr 2015 21:50:21 +0000 (21:50 +0000)]
deccc608sub: tweak font size once again

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

9 years agoWinGui: Add a basic outline of a logging system to allow logging of the JSON and...
sr55 [Fri, 10 Apr 2015 22:29:57 +0000 (22:29 +0000)]
WinGui: Add a basic outline of a logging system to allow logging of the JSON and other types of messages.

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

9 years agoLinGui: fix pause button/resume
jstebbins [Fri, 10 Apr 2015 22:25:55 +0000 (22:25 +0000)]
LinGui: fix pause button/resume
pressing pause put the resume button into an inactive state

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

9 years agoWinGui: When Switching from x264 to another encoder, the video tab options would...
sr55 [Fri, 10 Apr 2015 21:13:16 +0000 (21:13 +0000)]
WinGui: When Switching from x264 to another encoder, the video tab options would be disabled if "Use Advanced Tab" was turned on. This is now fixed.

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

9 years agoWinGui: For default user presets, make sure the advanced tab shows correctly on...
sr55 [Fri, 10 Apr 2015 21:03:46 +0000 (21:03 +0000)]
WinGui:  For default user presets, make sure the advanced tab shows correctly on load when enabled.

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

9 years agotext subtitles: make font height independent of cropping
jstebbins [Fri, 10 Apr 2015 16:26:53 +0000 (16:26 +0000)]
text subtitles: make font height independent of cropping

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

9 years agodecccsub608: make font size independent on the amount of cropping
jstebbins [Fri, 10 Apr 2015 16:12:40 +0000 (16:12 +0000)]
decccsub608: make font size independent on the amount of cropping
And use alignment tag \an1 instead of \a1

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

9 years agoMove strtok_r fallback to dedicated "compat" files.
Rodeo [Fri, 10 Apr 2015 14:56:27 +0000 (14:56 +0000)]
Move strtok_r fallback to dedicated "compat" files.

Also, check whether the toolchain already provides strtok_r instead of building it unconditionally.

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

9 years agoMacGui: run the Xcode "convert to modern objective-c" on the entire project.
ritsuka [Thu, 9 Apr 2015 19:43:33 +0000 (19:43 +0000)]
MacGui: run the Xcode "convert to modern objective-c" on the entire project.

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

9 years agoLinGui: fix libhb work state tracking
jstebbins [Thu, 9 Apr 2015 18:45:23 +0000 (18:45 +0000)]
LinGui: fix libhb work state tracking
I never updated this after the work state defines were updated
to bitfields.  It mostly worked, but sometimes missed transitions in state.

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

9 years agoreader: fix subtitle start time not advancing
jstebbins [Tue, 7 Apr 2015 23:33:14 +0000 (23:33 +0000)]
reader: fix subtitle start time not advancing

We must set a start time for subtitles or the vobsub decoder (and probably
other subtitle decoders) will assign duplicate timestamps. So when a
discontinuity occurs, make the closest guess that we can.

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

9 years agodeccc608sub: don't ignore text attributes in PAC
jstebbins [Tue, 7 Apr 2015 19:38:26 +0000 (19:38 +0000)]
deccc608sub: don't ignore text attributes in PAC

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

9 years agojson: fix copy_mask (again) :(
jstebbins [Tue, 7 Apr 2015 18:56:10 +0000 (18:56 +0000)]
json: fix copy_mask (again) :(

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

9 years agoWinGui: Fix the copy mask list.
sr55 [Tue, 7 Apr 2015 18:50:38 +0000 (18:50 +0000)]
WinGui: Fix the copy mask list.

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

9 years agojson: fix audio autopassthru copy_mask and fallback
jstebbins [Tue, 7 Apr 2015 18:47:12 +0000 (18:47 +0000)]
json: fix audio autopassthru copy_mask and fallback

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

9 years agodeccc608sub: fix range for tab offsets
jstebbins [Tue, 7 Apr 2015 16:59:08 +0000 (16:59 +0000)]
deccc608sub: fix range for tab offsets

taboffset3 command was getting ignored so alignment was incorrect

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

9 years agoMacGui: disabled the alternate row background in the presets drawer. It didn't add...
ritsuka [Tue, 7 Apr 2015 16:16:33 +0000 (16:16 +0000)]
MacGui: disabled the alternate row background in the presets drawer. It didn't add any useful visual cue.

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

9 years agoMacGui: changed the Preview Window and Picture Panel behaviour to avoid the hide...
ritsuka [Tue, 7 Apr 2015 16:14:30 +0000 (16:14 +0000)]
MacGui: changed the Preview Window and Picture Panel behaviour to avoid the hide and show thing when loading a new title, now they can always be opened even if no title is loaded.

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

9 years agojson: fix potential crash when source file or title number doesn't exist
jstebbins [Tue, 7 Apr 2015 15:33:55 +0000 (15:33 +0000)]
json: fix potential crash when source file or title number doesn't exist

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

9 years agodeccc608sub: improve CC positioning
jstebbins [Sun, 5 Apr 2015 23:21:09 +0000 (23:21 +0000)]
deccc608sub: improve CC positioning

The safe zone margin was not wide enough and the font size was a little
too small.

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

9 years agohb_dict: fix prototypes for functions that take no params
jstebbins [Sun, 5 Apr 2015 20:59:11 +0000 (20:59 +0000)]
hb_dict: fix prototypes for functions that take no params

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

9 years agodeccc608sub: fix column alignment issues
jstebbins [Sun, 5 Apr 2015 20:20:28 +0000 (20:20 +0000)]
deccc608sub: fix column alignment issues

Use a fixed width font, and insert hard spaces where necessary to allign
columns correctly in multi-line CCs.

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

9 years agoCLI: fix hb_get_cpu_count call.
Rodeo [Sun, 5 Apr 2015 19:33:25 +0000 (19:33 +0000)]
CLI: fix hb_get_cpu_count call.

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

9 years agoPropagate an error when hb_json_to_job fails.
Rodeo [Sun, 5 Apr 2015 19:25:20 +0000 (19:25 +0000)]
Propagate an error when hb_json_to_job fails.

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

9 years agoencx264: fix hb_dict_init call.
Rodeo [Sun, 5 Apr 2015 19:18:49 +0000 (19:18 +0000)]
encx264: fix hb_dict_init call.

Was broken since revision 6981.

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

9 years agoLinGui: fix json job creation
jstebbins [Sun, 5 Apr 2015 19:06:10 +0000 (19:06 +0000)]
LinGui: fix json job creation
Forgot required "Enable" boolean in subtitle "Search"

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

9 years agox265: fix a conflict between Live Preview and the current job.
Rodeo [Sun, 5 Apr 2015 18:18:01 +0000 (18:18 +0000)]
x265: fix a conflict between Live Preview and the current job.

x265_cleanup would happily let x265_encoder_open overwrite the global CTU settings. Now it does nothing if an encode is in progress; any new encode will fail (if the CTU size differs), but the current encode will be unaffected.

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

9 years agolibav: Fix failure on mingw to write date tag to mp4 files
jstebbins [Sun, 5 Apr 2015 15:32:38 +0000 (15:32 +0000)]
libav: Fix failure on mingw to write date tag to mp4 files

Replace strptime with av_small_strptime

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

9 years agoWinGui: Updates to the latest JSON API. This enables hardware decode / encode options...
sr55 [Sun, 5 Apr 2015 13:40:13 +0000 (13:40 +0000)]
WinGui: Updates to the latest JSON API. This enables hardware decode / encode options once again.

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

9 years agoWinGui: Adding Subtitle Burn-in Behaviour Support.
sr55 [Sat, 4 Apr 2015 21:09:12 +0000 (21:09 +0000)]
WinGui: Adding Subtitle Burn-in Behaviour Support.

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

9 years agoLinGui: fix parent of preset delete dialog
jstebbins [Sat, 4 Apr 2015 19:35:01 +0000 (19:35 +0000)]
LinGui: fix parent of preset delete dialog

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

9 years agolibhb: Add filter preset/tune lookup and setting validation for more filter types
jstebbins [Sat, 4 Apr 2015 14:43:39 +0000 (14:43 +0000)]
libhb: Add filter preset/tune lookup and setting validation for more filter types

All filters except for crop_scale now have preset/tune support and basic
validation.

This code could also be used by the other frontends to simplify some things.
For example, it can be used to query libhb for a list of available presets
and tunes for each filter.

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

9 years agolibhb: Improvements and key changes to json/hb_dict_t job definitions
jstebbins [Sat, 4 Apr 2015 14:41:19 +0000 (14:41 +0000)]
libhb: Improvements and key changes to json/hb_dict_t job definitions

MetaData -> Metadata
Video {Codec} -> Video {Encoder}
Filter -> Filters
AudioList [Force] -> AudioList [Forced]

Added audio key DitherMethod

Simplified encoding range spec
Was: Range {ChapterStart, ChapterEnd, PtsToStart, PtsToStop,
            FrameToStart, FrameToStop, StartAtPreview, SeekPoints}
Now: Range {Type, Start, End, SeekPoints}

Type is "chapter", "time", "frame", or "preview".
Start and End units depend on Type. SeekPoints is only used for live preview.

Added keys for control of hardware encode/decode
OpenCL, HWDecode, QSV {Decode, AsyncDepth}

Changed the data type of CopyMask. Was an int bitmask.
Now it is an array of strings, each string describes a passthru option.
e.g. "copy:ac3"

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

9 years agoLinGui: remove unused function
jstebbins [Fri, 3 Apr 2015 21:18:16 +0000 (21:18 +0000)]
LinGui: remove unused function

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

9 years agoLinGui: more refactoring
jstebbins [Fri, 3 Apr 2015 21:12:28 +0000 (21:12 +0000)]
LinGui: more refactoring
mostly moving "settings" stuff to "values"

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

9 years agoLinGui: refactor dict values
jstebbins [Fri, 3 Apr 2015 17:44:19 +0000 (17:44 +0000)]
LinGui: refactor dict values
makes most dict methods a simple passthru to hb_dict

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

9 years agohb_dict: add 'const' to a few prototypes and add a couple new helper funcs
jstebbins [Fri, 3 Apr 2015 17:43:13 +0000 (17:43 +0000)]
hb_dict: add 'const' to a few prototypes and add a couple new helper funcs

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

9 years agoBump libx265 to version 1.6
Rodeo [Fri, 3 Apr 2015 14:19:28 +0000 (14:19 +0000)]
Bump libx265 to version 1.6

Miscellaneous bugfixes and performance improvements.

Also, x265_cleanup lets us drop both patches.

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

9 years agoBump fontconfig to release 2.11.93
Rodeo [Fri, 3 Apr 2015 14:01:40 +0000 (14:01 +0000)]
Bump fontconfig to release 2.11.93

Fixes build failure with some MinGW-w64 toolchains.

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

9 years agoLinGui: fix activation of queue pulser
jstebbins [Thu, 2 Apr 2015 18:54:34 +0000 (18:54 +0000)]
LinGui: fix activation of queue pulser

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

9 years agoLinGui: use hb_dict_t, hb_value_array_t, hb_value_t instead direct to json_t
jstebbins [Thu, 2 Apr 2015 17:36:06 +0000 (17:36 +0000)]
LinGui: use hb_dict_t, hb_value_array_t, hb_value_t instead direct to json_t

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

9 years agolibhb: use hb_dict_t, hb_value_array_t, and hb_value_t in hb_json.c
jstebbins [Thu, 2 Apr 2015 17:00:50 +0000 (17:00 +0000)]
libhb: use hb_dict_t, hb_value_array_t, and hb_value_t in hb_json.c
...instead of going direct to json_t

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

9 years agolibhb: log "default" filter settings when settings string is 0 length
jstebbins [Thu, 2 Apr 2015 16:11:20 +0000 (16:11 +0000)]
libhb: log "default" filter settings when settings string is 0 length

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

9 years agolibhb: add language lookup based on any of iso639_1/2/2b, eng_name, or native
jstebbins [Thu, 2 Apr 2015 16:08:26 +0000 (16:08 +0000)]
libhb: add language lookup based on any of iso639_1/2/2b, eng_name, or native

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

9 years agolibhb: add functions to lookup details of mixdown, video, audio, container
jstebbins [Thu, 2 Apr 2015 16:04:08 +0000 (16:04 +0000)]
libhb: add functions to lookup details of mixdown, video, audio, container
... from int id.
And add defines to eliminate some magic numbers.

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

9 years agolibhb: add conversions hb_value_t <-> json
jstebbins [Thu, 2 Apr 2015 15:58:02 +0000 (15:58 +0000)]
libhb: add conversions hb_value_t <-> json

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

9 years agoWinGui: Rename some of the models in the JSON encode folder.
sr55 [Wed, 1 Apr 2015 20:34:27 +0000 (20:34 +0000)]
WinGui: Rename some of the models in the JSON encode folder.

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

9 years agoWinGui: Refactor the JSON scan model names to be a bit clearer.
sr55 [Wed, 1 Apr 2015 20:23:13 +0000 (20:23 +0000)]
WinGui: Refactor the JSON scan model names to be a bit clearer.

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

9 years agoWinGui: Some initial re-modelling in the JSON folder. Created a "Shared" folder which...
sr55 [Wed, 1 Apr 2015 20:08:46 +0000 (20:08 +0000)]
WinGui: Some initial re-modelling in the JSON folder. Created a "Shared" folder which contains models that are used by anamorphic, encode and scan calls but are not different. Based on a patch by RandomEngy.

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

9 years agoWinGui: Enable the Auto Passthru behaviours though the JSON api copymask
sr55 [Wed, 1 Apr 2015 19:52:49 +0000 (19:52 +0000)]
WinGui: Enable the Auto Passthru behaviours though the JSON api copymask

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

9 years agoLinGui: fix unused variable warning.
jstebbins [Mon, 30 Mar 2015 21:14:03 +0000 (21:14 +0000)]
LinGui: fix unused variable warning.

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

9 years agoLinGui: fix error messages
jstebbins [Mon, 30 Mar 2015 21:13:36 +0000 (21:13 +0000)]
LinGui: fix error messages
They should be going to stderr instead of stdout.

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

9 years agoffmpeg: remove obsolete configure option.
Rodeo [Sun, 29 Mar 2015 18:03:53 +0000 (18:03 +0000)]
ffmpeg: remove obsolete configure option.

Fixes the following:
"WARNING: avserver has been removed, the --disable-avserver option is only provided for compatibility and will be removed in the future"

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

9 years agolibhb: Eliminate global variable hb_gui_use_hwd_flag
jstebbins [Sun, 29 Mar 2015 16:22:30 +0000 (16:22 +0000)]
libhb: Eliminate global variable hb_gui_use_hwd_flag

This global was shared between the CLI and libhb and used as a back door to
force scan and encode passes to use the same ffmpeg context for hardware
decoding. Aside from the fact that this context sharing should not be necessary
and needs fixing, this information belongs in the hb_handle_t that is shared
between the scan and the encode.  So put it there and make sure the hb_handle_t
get propagated to where the flag is needed.

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

9 years agoWinGui: Add TrueHD, Flac and EAC3 Passthru, and EAC3 encoder options. Fixed No Audio...
sr55 [Sun, 29 Mar 2015 15:57:53 +0000 (15:57 +0000)]
WinGui:  Add TrueHD, Flac and EAC3 Passthru, and EAC3 encoder options. Fixed No Audio Behaviour. Misc other experimental UX/UI code.

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

9 years agoRemove unused hb_get_scancount function
ritsuka [Sun, 29 Mar 2015 07:02:00 +0000 (07:02 +0000)]
Remove unused hb_get_scancount function

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

9 years agoLinGui: refresh mingw build of gtk UI
jstebbins [Sat, 28 Mar 2015 02:02:37 +0000 (02:02 +0000)]
LinGui: refresh mingw build of gtk UI

Fixes a couple issues.  adds qsv support.

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

9 years agoLinGui: move ui xml to GResource
jstebbins [Fri, 27 Mar 2015 19:18:30 +0000 (19:18 +0000)]
LinGui: move ui xml to GResource

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

9 years agoLinGui: build icon resources from icons
jstebbins [Thu, 26 Mar 2015 23:08:36 +0000 (23:08 +0000)]
LinGui: build icon resources from icons
...instead of committing 22MB icon resource file to svn

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

9 years agoLinGui: move data resources into GResource
jstebbins [Thu, 26 Mar 2015 22:56:25 +0000 (22:56 +0000)]
LinGui: move data resources into GResource

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

9 years agoLinGui: move icons into a GResource
jstebbins [Thu, 26 Mar 2015 22:13:24 +0000 (22:13 +0000)]
LinGui: move icons into a GResource

This allows me to eliminate a warning from gtk+-3.14 about deprecated
gtk_icon_theme_add_builtin_icon().

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

9 years agoLinGui: fix queue file open dialog filters
jstebbins [Thu, 26 Mar 2015 19:17:01 +0000 (19:17 +0000)]
LinGui: fix queue file open dialog filters

Forgot to change these to json from xml/plist

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

9 years agoLinGui: fix activity window scrolling
jstebbins [Thu, 26 Mar 2015 16:55:02 +0000 (16:55 +0000)]
LinGui: fix activity window scrolling

Yet another work-around for a gtk+-3 problem.  They now delay updating
the scrollbar adjustment to an idle loop callback.  So I must delay
my scroll-to-bottom code so that it occurrs after their update.

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

9 years agoLinGui: work around yet another gtk+-3 bug
jstebbins [Wed, 25 Mar 2015 21:32:07 +0000 (21:32 +0000)]
LinGui: work around yet another gtk+-3 bug
GtkTextView gets confused if you try to set it's contents again while
in a callback for a change to the TextView.  So prevent such behavior
by the app.  Requires updating the x264Option TextView in the background
(idle loop) rather than immediately.

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

9 years agoLinGui: fix UI issue with x264Option updates
jstebbins [Wed, 25 Mar 2015 21:26:37 +0000 (21:26 +0000)]
LinGui: fix UI issue with x264Option updates

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