OSDN Git Service

handbrake-jp/handbrake-jp-git.git
14 years agoLinGui: fix a problem with encode cancel logic
jstebbins [Sat, 18 Jul 2009 17:18:51 +0000 (17:18 +0000)]
LinGui: fix a problem with encode cancel logic
declining to cancel the encode would permit the current encode to continue,
but then the next encode would not start.

git-svn-id: svn://localhost/HandBrake/trunk@2713 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 18 Jul 2009 11:43:18 +0000 (11:43 +0000)]
WinGui:
- Small bugfix to make sure the correct native language audio track is selected.

git-svn-id: svn://localhost/HandBrake/trunk@2712 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sat, 18 Jul 2009 11:21:42 +0000 (11:21 +0000)]
WinGui:
- Added Subtitles support for the last check-in.
- Fixed a few bugs in the new Audio handling code.

git-svn-id: svn://localhost/HandBrake/trunk@2711 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix problem with wide text field causing window to resize
jstebbins [Fri, 17 Jul 2009 23:38:15 +0000 (23:38 +0000)]
LinGui: fix problem with wide text field causing window to resize

git-svn-id: svn://localhost/HandBrake/trunk@2710 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 17 Jul 2009 23:37:33 +0000 (23:37 +0000)]
WinGui:
- Added new options:  preferred language,  "Dub Foreign language audio" and "Use Foreign language audio and Subtitles"
- Changed built-in language list to native spellings.
- Fixes to CLI Scan Parser AudioTrack.\

- Note: Subtitles panel is not hooked up for this yet.

git-svn-id: svn://localhost/HandBrake/trunk@2709 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: switch to using the native_name field of the language table
jstebbins [Fri, 17 Jul 2009 23:02:11 +0000 (23:02 +0000)]
LinGui: switch to using the native_name field of the language table
when it's available, it's a better choice since users will recognize
their it easier when it is written in their native language

git-svn-id: svn://localhost/HandBrake/trunk@2708 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoCLI: add iso639-2 language code to audio track information display
jstebbins [Fri, 17 Jul 2009 22:34:43 +0000 (22:34 +0000)]
CLI: add iso639-2 language code to audio track information display

git-svn-id: svn://localhost/HandBrake/trunk@2707 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: add preference option to automatically add CC track if present
jstebbins [Fri, 17 Jul 2009 20:53:16 +0000 (20:53 +0000)]
LinGui: add preference option to automatically add CC track if present

git-svn-id: svn://localhost/HandBrake/trunk@2706 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 17 Jul 2009 20:07:41 +0000 (20:07 +0000)]
WinGui:
- Some fixes and code tweaks to the audio panel

git-svn-id: svn://localhost/HandBrake/trunk@2705 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: a better solution to the g_io_channel_write_chars abort
jstebbins [Fri, 17 Jul 2009 17:06:25 +0000 (17:06 +0000)]
LinGui: a better solution to the g_io_channel_write_chars abort

git-svn-id: svn://localhost/HandBrake/trunk@2704 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 17 Jul 2009 15:22:07 +0000 (15:22 +0000)]
WinGui:
- Option to set an External SRT as default.
- Import preset now adds the preset to the preset list. Includes a few UI/QueryGenerator.cs fixes for this.

git-svn-id: svn://localhost/HandBrake/trunk@2703 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoCLI: add --srt-default option
jstebbins [Fri, 17 Jul 2009 15:07:34 +0000 (15:07 +0000)]
CLI: add --srt-default option
to make an srt the default subtitle, set --srt-default to the
index of the srt in the --srt-file list

git-svn-id: svn://localhost/HandBrake/trunk@2702 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoMacGui: Subtitles - fix bug that prevented being able to select burned in subtitles.
dynaflash [Fri, 17 Jul 2009 01:48:56 +0000 (01:48 +0000)]
MacGui: Subtitles - fix bug that prevented being able to select burned in subtitles.

git-svn-id: svn://localhost/HandBrake/trunk@2701 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoMacGui: remove broken conditional that was errantly included in srt subtitle initial...
dynaflash [Thu, 16 Jul 2009 22:45:39 +0000 (22:45 +0000)]
MacGui: remove broken conditional that was errantly included in srt subtitle initial implementation.

git-svn-id: svn://localhost/HandBrake/trunk@2700 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoMacGui: srt subtitle support initial implementation
dynaflash [Thu, 16 Jul 2009 18:36:08 +0000 (18:36 +0000)]
MacGui: srt subtitle support initial implementation
- Allows adding an external srt sub file as a subtitle source.
-- Adds fields for srt language, char code and offset in ms.
- Known issues: adding the srt file to the sources list also adds a new subtitle track for that source, however to "set" it you have to click on it.
- srt subtitles do not seem to work in preview even if set to default.

git-svn-id: svn://localhost/HandBrake/trunk@2699 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix destination update problem
jstebbins [Thu, 16 Jul 2009 17:52:10 +0000 (17:52 +0000)]
LinGui: fix destination update problem
destination was getting overwritten at the end of a scan, so if the
user modified it during the scan, they lost the setting

git-svn-id: svn://localhost/HandBrake/trunk@2698 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix crash on empty buffer from stderr
jstebbins [Thu, 16 Jul 2009 17:29:17 +0000 (17:29 +0000)]
LinGui: fix crash on empty buffer from stderr
somehow, i'm getting a buffer that has nothing but a '\0' char
g_io_channel_write_chars gets really upset about the nil character and crashes

git-svn-id: svn://localhost/HandBrake/trunk@2697 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: shuffle things around on the picture tab a bit
jstebbins [Thu, 16 Jul 2009 00:29:34 +0000 (00:29 +0000)]
LinGui: shuffle things around on the picture tab a bit

git-svn-id: svn://localhost/HandBrake/trunk@2696 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: add a few srt codesets
jstebbins [Wed, 15 Jul 2009 17:45:58 +0000 (17:45 +0000)]
LinGui: add a few srt codesets
endianness matters for utf-16/32.  so add the BE/LE variations.

git-svn-id: svn://localhost/HandBrake/trunk@2695 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 15 Jul 2009 13:47:20 +0000 (13:47 +0000)]
WinGui:
- Experimental MacGUI preset import. (Single preset export only)

git-svn-id: svn://localhost/HandBrake/trunk@2694 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 15 Jul 2009 11:03:54 +0000 (11:03 +0000)]
WinGui:
 - The options panel (frmOptions) is now completely wrapped in TableLayoutPanels.
 - The rest of the GUI has been changed to Tahoma, 8pt font.
 - QueueHandler and it's related classes have been refactored and documented.
 - new option has been added that prompts the user before encoding when the query under the "Query Editor" tab does not match the GUI settings. It can be disabled in the options window.
 - A bug where "last_encode_log.txt" failed to be read has been fixed that was caused by exiting the CLI window shortly after starting the encode.

Thansk to darkassassin

git-svn-id: svn://localhost/HandBrake/trunk@2693 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Tue, 14 Jul 2009 23:11:09 +0000 (23:11 +0000)]
WinGui:
- Updates Picture Settings code. A mix/match of old/new/libhb code.
- Custom anamorphic mode widgets are not hooked up yet, but if the user sets them manually, they will work just fine.
- Some of the logic has been simplified so that it works better however it's not bullet proof in terms of allowing users to misbehave.

git-svn-id: svn://localhost/HandBrake/trunk@2692 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinux Doc: mark CLI dependencies better
jstebbins [Mon, 13 Jul 2009 16:39:23 +0000 (16:39 +0000)]
Linux Doc: mark CLI dependencies better

git-svn-id: svn://localhost/HandBrake/trunk@2691 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: rearrange the preset menu a bit.
jstebbins [Mon, 13 Jul 2009 14:54:29 +0000 (14:54 +0000)]
LinGui: rearrange the preset menu a bit.

git-svn-id: svn://localhost/HandBrake/trunk@2690 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: when renaming a preset, prevent duplicates names from being used
jstebbins [Mon, 13 Jul 2009 14:38:41 +0000 (14:38 +0000)]
LinGui: when renaming a preset, prevent duplicates names from being used

git-svn-id: svn://localhost/HandBrake/trunk@2689 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoAdd support for ATSC (North American Digital TV) closed captions.
van [Mon, 13 Jul 2009 05:47:33 +0000 (05:47 +0000)]
Add support for ATSC (North American Digital TV) closed captions.

git-svn-id: svn://localhost/HandBrake/trunk@2688 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years ago - Some DVB programs have a lot of streams (20 for BBC HD) so up max from 16 to 32
van [Mon, 13 Jul 2009 05:21:25 +0000 (05:21 +0000)]
 - Some DVB programs have a lot of streams (20 for BBC HD) so up max from 16 to 32
 - If we find a DVB AC-3 stream descriptor mark the associated stream as AC-3 so we don't mistakenly type it as MPEG-2.

git-svn-id: svn://localhost/HandBrake/trunk@2687 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: update decomb filter string validation.
jstebbins [Sun, 12 Jul 2009 19:59:41 +0000 (19:59 +0000)]
LinGui: update decomb filter string validation.
it can now have up to 15 parameters

git-svn-id: svn://localhost/HandBrake/trunk@2686 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years ago- Introduces a new mode structure for decomb, to make more flexible combinations...
jbrjake [Sun, 12 Jul 2009 17:04:50 +0000 (17:04 +0000)]
- Introduces a new mode structure for decomb, to make more flexible combinations of options possible, as well as a debug mode that overlays the combing mask on the output. A full explanation of the new modes can be found at the top of libhb/decomb.c. The new default parameter string is: 7:2:6:9:80:16:16:10:20:20:4:2:50:24:1
- Cleans up some compiler warnings for decomb.
- Partially fixes mcdeint in decomb. I would not suggest using it yet, but it's getting piped the right data, it no longer outstrides its memory, and lavc finally fixed their Snow bug that broke iterative ME). Seems to work well on fully interlaced material, with the spatial metric (2nd paramter) set to -1. Output with hybrid material and when actually decombing is...poor, but these are, hopefully, surmountable problems.
- Lays some groundwork for bobbing.

git-svn-id: svn://localhost/HandBrake/trunk@2685 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: more preset list improvements
jstebbins [Sat, 11 Jul 2009 17:34:29 +0000 (17:34 +0000)]
LinGui: more preset list improvements
- Make separate menu items for creating new folders and saving presets
- Make custom preset and folder names editable

git-svn-id: svn://localhost/HandBrake/trunk@2684 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: Add preset import/export
jstebbins [Fri, 10 Jul 2009 21:29:24 +0000 (21:29 +0000)]
LinGui: Add preset import/export
Only one item can be selected for export, but that item may be a
folder which contains multiple presets.

Import will handle a list of multiple presets and folders.

git-svn-id: svn://localhost/HandBrake/trunk@2683 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 10 Jul 2009 19:33:14 +0000 (19:33 +0000)]
WinGui:
- Quick Fix to the QueryGenerator.cs - was misbehaving with anamorphic options and width/height

git-svn-id: svn://localhost/HandBrake/trunk@2682 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Fri, 10 Jul 2009 19:17:40 +0000 (19:17 +0000)]
WinGui:
- Updated PictureSettings code from darkassassin + a few bug fixes.
- Reset to .NET framework 2.0

Note: this code is not quite ready for usage yet, wait for a few more checkins

git-svn-id: svn://localhost/HandBrake/trunk@2681 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoCLI: fix osx compilation problem
jstebbins [Fri, 10 Jul 2009 15:43:31 +0000 (15:43 +0000)]
CLI: fix osx compilation problem
osx doesn't have strndup, so make our own from strncpy

git-svn-id: svn://localhost/HandBrake/trunk@2680 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: accidentally commited x264 defaults changes prematurely, revert
jstebbins [Thu, 9 Jul 2009 22:53:10 +0000 (22:53 +0000)]
LinGui: accidentally commited x264 defaults changes prematurely, revert

git-svn-id: svn://localhost/HandBrake/trunk@2679 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix behavior when changing storage height in custom anamorphic mode
jstebbins [Thu, 9 Jul 2009 22:25:48 +0000 (22:25 +0000)]
LinGui: fix behavior when changing storage height in custom anamorphic mode
when the storage height changes, update the display height before making
other calculations.  otherwise, the change has affects on display width.

git-svn-id: svn://localhost/HandBrake/trunk@2678 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix a build problem
jstebbins [Thu, 9 Jul 2009 16:44:32 +0000 (16:44 +0000)]
LinGui: fix a build problem
If the timestamp on marshallers.list gets updated, marshallers.c/h failed
to build.  Not usually a problem for recipients of a source tar or svn since
pre-built marshallers.c/h are provided.

git-svn-id: svn://localhost/HandBrake/trunk@2677 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoCLI: fix a problem with using the forced subtitle short option flag (-F)
jstebbins [Thu, 9 Jul 2009 16:41:40 +0000 (16:41 +0000)]
CLI: fix a problem with using the forced subtitle short option flag (-F)
and make a small improvement to the option arg parser function str_split
that is used in suptitle option parsing.  It can now parse lists that
are have empty elements (e.g ",2,3,4,,6" fist and fifth are empty)

git-svn-id: svn://localhost/HandBrake/trunk@2676 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agolibhb: DVD drive region detection on linux
jstebbins [Thu, 9 Jul 2009 16:36:17 +0000 (16:36 +0000)]
libhb: DVD drive region detection on linux
Read and log the region mask of the DVD drive.
We get the occasional linux user that has an unset region.  Logging
the region will help isolate the problem more quickly.

git-svn-id: svn://localhost/HandBrake/trunk@2675 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: shuffle things around a bit in the x264 tab
jstebbins [Thu, 9 Jul 2009 01:21:20 +0000 (01:21 +0000)]
LinGui: shuffle things around a bit in the x264 tab
small improvement in layout

git-svn-id: svn://localhost/HandBrake/trunk@2674 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 8 Jul 2009 17:49:25 +0000 (17:49 +0000)]
WinGui:
- Small fix to the SRT browse button.

git-svn-id: svn://localhost/HandBrake/trunk@2673 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Wed, 8 Jul 2009 17:38:25 +0000 (17:38 +0000)]
WinGui:
- Implemented the new External SRTs feature. Added a sub tab set on the subtitles tab.
- Few UI tweaks to keep things in-line with the MacGui:

git-svn-id: svn://localhost/HandBrake/trunk@2672 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWhen caching frame durations for the delay_queue, store the times of the frames comin...
jbrjake [Wed, 8 Jul 2009 13:44:26 +0000 (13:44 +0000)]
When caching frame durations for the delay_queue, store the times of the frames coming out of the filters, not the frames entering the render pipeline from sync. This way times don't get assigned to incorrect frames when filters delay output.

git-svn-id: svn://localhost/HandBrake/trunk@2671 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: gtk 2.12 compatibility fixes
jstebbins [Tue, 7 Jul 2009 15:28:53 +0000 (15:28 +0000)]
LinGui: gtk 2.12 compatibility fixes
- ifdef 2.16 specific code.
   use g_object_set_property to set action properties with older gtk versions.
- remove "orientation" property from vbox widgets.
  It's not recognized by older gtk versions

git-svn-id: svn://localhost/HandBrake/trunk@2670 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: Check return values of hal calls
jstebbins [Sun, 5 Jul 2009 20:51:40 +0000 (20:51 +0000)]
LinGui: Check return values of hal calls
When searching for list of connected dvd drives, system permissions
can cause failures that would cause a crash.

git-svn-id: svn://localhost/HandBrake/trunk@2669 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoLinGui: fix a build problem
jstebbins [Sun, 5 Jul 2009 19:49:12 +0000 (19:49 +0000)]
LinGui: fix a build problem
if marshalers.list timestamp is somehow made newer than marshalers.h/c
glib-genmarshal would fail to recreate marshalers.h/c.  This isn't
normally a problem since I check these generated file into svn.

git-svn-id: svn://localhost/HandBrake/trunk@2668 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sun, 5 Jul 2009 16:42:33 +0000 (16:42 +0000)]
WinGui:
- Minor UI fixes related to update checking and window maximize / scrolling

git-svn-id: svn://localhost/HandBrake/trunk@2667 b64f7644-9d1e-0410-96f1-a4d463321fa5

14 years agoWinGui:
sr55 [Sun, 5 Jul 2009 16:38:58 +0000 (16:38 +0000)]
WinGui:
- UI design tweaks, consistent font usage, tableLayout for frmMain
- Bug Fixes related to using source label instead of source path.
- thanks to darkassassin
- Few small tweaks/ fixes to above patch.
- Fixed: Delete all built in presets option.

git-svn-id: svn://localhost/HandBrake/trunk@2666 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 4 Jul 2009 19:55:51 +0000 (19:55 +0000)]
WinGui:
- Move all the GUI enable/disable property changes into one function for the picture panel.

git-svn-id: svn://localhost/HandBrake/trunk@2665 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 4 Jul 2009 19:34:25 +0000 (19:34 +0000)]
WinGui:
- Some fixes to the Picture settings panel and preset loader.
- Small UI tweak to options.

git-svn-id: svn://localhost/HandBrake/trunk@2664 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 4 Jul 2009 15:38:29 +0000 (15:38 +0000)]
WinGui:
- Change update check period to a dropdown with Daily, Weekly, and Monthly. Replaces numeric updown control.

git-svn-id: svn://localhost/HandBrake/trunk@2663 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 4 Jul 2009 15:32:41 +0000 (15:32 +0000)]
WinGui:
- Remove M4v from format dropdown and add new option "Use iPod/iTunes friendly (.m4v) file extension for MP4

git-svn-id: svn://localhost/HandBrake/trunk@2662 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 4 Jul 2009 14:24:59 +0000 (14:24 +0000)]
WinGui:
- Update checker code cleaned up and multi-threaded. (Thanks to darkassassin )  Made some minor changes to this code to fit it in. http://forum.handbrake.fr/viewtopic.php?f=4&t=11353
- Queue window no longer takes focus on each new addition to the queue. ( Quite annoying otherwise )

git-svn-id: svn://localhost/HandBrake/trunk@2661 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 4 Jul 2009 12:38:54 +0000 (12:38 +0000)]
WinGui:
- Don't reset destination file extension to m4v when enable/disable chapter markers if mkv is selected.

git-svn-id: svn://localhost/HandBrake/trunk@2660 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: make debian packaging follow more standard debian practices
jstebbins [Fri, 3 Jul 2009 22:10:04 +0000 (22:10 +0000)]
LinGui: make debian packaging follow more standard debian practices

git-svn-id: svn://localhost/HandBrake/trunk@2659 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix a problem with subtitle controls and large fonts
jstebbins [Thu, 2 Jul 2009 23:54:56 +0000 (23:54 +0000)]
LinGui: fix a problem with subtitle controls and large fonts
the controls would get the bottoms clipped if you used a large font

git-svn-id: svn://localhost/HandBrake/trunk@2658 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: mingw build tweak
jstebbins [Thu, 2 Jul 2009 22:05:33 +0000 (22:05 +0000)]
LinGui: mingw build tweak
a difference between mingw cross tools on mac and linux caused
an incompatibility in our build system on linux. i've resolved
by tweaking my mingw environment and adjusting the dll's that
get pulled into the ui.

git-svn-id: svn://localhost/HandBrake/trunk@2657 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agolibhb: fix regression introduced in svn 2620
jstebbins [Thu, 2 Jul 2009 20:33:20 +0000 (20:33 +0000)]
libhb: fix regression introduced in svn 2620
cygwin pthreads is more like the *nix's

git-svn-id: svn://localhost/HandBrake/trunk@2656 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: tooltip and other text changes
jstebbins [Thu, 2 Jul 2009 14:40:23 +0000 (14:40 +0000)]
LinGui: tooltip and other text changes

git-svn-id: svn://localhost/HandBrake/trunk@2655 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: modify pause/resume button appearance
jstebbins [Wed, 1 Jul 2009 16:42:01 +0000 (16:42 +0000)]
LinGui: modify pause/resume button appearance
when encoding show "Pause" with pause icon
when paused, show "Resume" with play icon
also improve how I'm handling play/stop toolbar button and menu options

git-svn-id: svn://localhost/HandBrake/trunk@2654 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Wed, 1 Jul 2009 16:05:44 +0000 (16:05 +0000)]
WinGui:
- Fix for a scaling issue in the picture preview QT control
- Add a warning if users try to preview a MKV with QT.
- Misc updates to other files.

git-svn-id: svn://localhost/HandBrake/trunk@2653 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix a picture settings storage dimensions problem
jstebbins [Wed, 1 Jul 2009 00:18:19 +0000 (00:18 +0000)]
LinGui: fix a picture settings storage dimensions problem
Transitioning from specific dimensions to max dimensions was broken

git-svn-id: svn://localhost/HandBrake/trunk@2652 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: several ui improvements
jstebbins [Tue, 30 Jun 2009 22:54:18 +0000 (22:54 +0000)]
LinGui: several ui improvements
- Add separate progress bar for source scan (similar to mac ui)
- When working replace start button with stop button on main window.
- Add status field that shows number of pending queue items on main window.
- add some white space and remove a couple more frames
- add subtitle scan pass information to progress bar

git-svn-id: svn://localhost/HandBrake/trunk@2651 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: include deep scan ( subtitle foreign language search) pass information in...
dynaflash [Tue, 30 Jun 2009 20:00:42 +0000 (20:00 +0000)]
MacGui: include deep scan ( subtitle foreign language search) pass information in both the queue window and on the progress bar for the deep scan pass.
- Also removed one queue increment debug log line

git-svn-id: svn://localhost/HandBrake/trunk@2650 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: limit field width of srt filename in the subtitle list
jstebbins [Tue, 30 Jun 2009 17:39:56 +0000 (17:39 +0000)]
LinGui: limit field width of srt filename in the subtitle list
to prevent horizontal scrolling of the list

git-svn-id: svn://localhost/HandBrake/trunk@2649 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: SRT support
jstebbins [Tue, 30 Jun 2009 17:22:43 +0000 (17:22 +0000)]
LinGui: SRT support
- there are now two buttons to add subtitles
  one button adds normal subtitles from the source.
  the second adds SRT subtitles.
- when an SRT subtitle is selected in the list, the available controls change
  SRT controls are: Language, Character Codeset, File, and Time Offset (ms)
- A combo entry box is used for character code.  A subset of the most common
  character codes is available in the popup.  Other codes can be manually
  entered in the entry box.
- The last used SRT file directory is remembered.
- Remove the debug printf eddyg left in decsrtsub.c

git-svn-id: svn://localhost/HandBrake/trunk@2648 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoFix subtitle markup memory leak
eddyg [Tue, 30 Jun 2009 01:22:08 +0000 (01:22 +0000)]
Fix subtitle markup memory leak

git-svn-id: svn://localhost/HandBrake/trunk@2647 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoChanged a log -> deep_log for markup processing.
eddyg [Tue, 30 Jun 2009 01:01:44 +0000 (01:01 +0000)]
Changed a log -> deep_log for markup processing.

git-svn-id: svn://localhost/HandBrake/trunk@2646 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoAdd markup for MP4 Subtitles
eddyg [Tue, 30 Jun 2009 01:00:40 +0000 (01:00 +0000)]
Add markup for MP4 Subtitles

git-svn-id: svn://localhost/HandBrake/trunk@2645 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agodvdnav:
jstebbins [Mon, 29 Jun 2009 23:19:39 +0000 (23:19 +0000)]
dvdnav:
- revert read error recovery
  Attempting to seek one sector forward doesn't work.  dvdnav rounds the seek
  request *down* to the nearest vobu.  So the seek actually goes backwards.

git-svn-id: svn://localhost/HandBrake/trunk@2644 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoClosed Captions: Don't mess with the case.
eddyg [Mon, 29 Jun 2009 22:01:18 +0000 (22:01 +0000)]
Closed Captions: Don't mess with the case.

git-svn-id: svn://localhost/HandBrake/trunk@2643 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agox264 bump from 1169 to 1173
dynaflash [Mon, 29 Jun 2009 20:38:25 +0000 (20:38 +0000)]
x264 bump from 1169 to 1173
- more optimizations in cabac and cavlc.
http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=f6d31669a2547110b9c1323aa51437296f2f3506

git-svn-id: svn://localhost/HandBrake/trunk@2642 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Mon, 29 Jun 2009 20:28:03 +0000 (20:28 +0000)]
WinGui:
- Possible fix for QuickTime player not working on 64bit systems.

git-svn-id: svn://localhost/HandBrake/trunk@2641 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Mon, 29 Jun 2009 20:05:04 +0000 (20:05 +0000)]
WinGui:
- Added Global Event Handlers to parts of some of the user controls.
- Added register and deregister event handler functions for widget changes. (This allows the preset label to be changed to custom when a user changes a widget). This isn't finalised.
- Misc UI tweaks
- Few bug fixes:
    * Preset update notification appearing behind splashscreen
    * Tweaks to the preset loader to make it work a bit better.

git-svn-id: svn://localhost/HandBrake/trunk@2640 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agodvdnav: add read error recovery
jstebbins [Sun, 28 Jun 2009 21:28:03 +0000 (21:28 +0000)]
dvdnav: add read error recovery
- a single read error was causing early encode termination.
  try to continue reading at next sector on an error.

git-svn-id: svn://localhost/HandBrake/trunk@2639 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sun, 28 Jun 2009 11:38:35 +0000 (11:38 +0000)]
WinGui:
- Attempt 2 at fixing culture issues. Thanks to zhango

git-svn-id: svn://localhost/HandBrake/trunk@2638 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agolibdvdread: patch libdvdread malloc bomb
jstebbins [Sat, 27 Jun 2009 20:29:50 +0000 (20:29 +0000)]
libdvdread: patch libdvdread malloc bomb
if pgci_ut->nr_of_lus is an invalid value, libdvdread can malloc GB of data
while attempting to parse invalid data

git-svn-id: svn://localhost/HandBrake/trunk@2637 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix a collection of duplicate widget ids in the gtkbuilder xml
jstebbins [Sat, 27 Jun 2009 18:57:03 +0000 (18:57 +0000)]
LinGui: fix a collection of duplicate widget ids in the gtkbuilder xml

git-svn-id: svn://localhost/HandBrake/trunk@2636 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix a problem with saving subtitle language to preset
jstebbins [Sat, 27 Jun 2009 18:25:44 +0000 (18:25 +0000)]
LinGui: fix a problem with saving subtitle language to preset

git-svn-id: svn://localhost/HandBrake/trunk@2635 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 27 Jun 2009 13:43:55 +0000 (13:43 +0000)]
WinGui:
- Fix a few culture issues with my last checkin.

git-svn-id: svn://localhost/HandBrake/trunk@2634 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 26 Jun 2009 23:50:24 +0000 (23:50 +0000)]
WinGui:
- Temporary Fix for Quality slider getting reset to 0 on title or encoder change.  Changing encoders may still cause a problem.
- Much smaller splash screen. (Just in case any popup errors decide to hide behind it on launch)
- Toolstrip now uses "Professional" appearance mode. On most systems it'll stand out more.

git-svn-id: svn://localhost/HandBrake/trunk@2633 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: subtitle previews
jstebbins [Fri, 26 Jun 2009 23:13:20 +0000 (23:13 +0000)]
LinGui: subtitle previews
- Increase the font size of subtitles in the preview.  the default is
  microscopic.
- reset the status of live preview encodings whenever a subtitle setting
  is changed.  forces re-encoding.

git-svn-id: svn://localhost/HandBrake/trunk@2632 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: minor ui improvements
jstebbins [Fri, 26 Jun 2009 21:07:39 +0000 (21:07 +0000)]
LinGui: minor ui improvements
- rearrange the video tab to open things up
- remove some unnecessary frames

git-svn-id: svn://localhost/HandBrake/trunk@2631 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: add individual activity log longevity preference option
jstebbins [Fri, 26 Jun 2009 17:55:39 +0000 (17:55 +0000)]
LinGui: add individual activity log longevity preference option
- options are week, month, year, immortal. default is immortal.

git-svn-id: svn://localhost/HandBrake/trunk@2630 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: add preference option for what to do when encode is complete
jstebbins [Fri, 26 Jun 2009 17:18:51 +0000 (17:18 +0000)]
LinGui: add preference option for what to do when encode is complete
- Options are nothing, notify, sleep, shutdown

git-svn-id: svn://localhost/HandBrake/trunk@2629 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 26 Jun 2009 15:25:10 +0000 (15:25 +0000)]
WinGui:
- Make Picture Settings control transparent.

git-svn-id: svn://localhost/HandBrake/trunk@2628 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 26 Jun 2009 15:23:53 +0000 (15:23 +0000)]
WinGui:
- Right Click menu for subtitles Panel. Move Up/Down and remove options.
- Confirmation dialog for the new clear logs option.

git-svn-id: svn://localhost/HandBrake/trunk@2627 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 26 Jun 2009 15:12:41 +0000 (15:12 +0000)]
WinGui:
- Removed the group boxes on the main window to save a bit of space.
- Main Window source display is the source filename or folder only. The text box is no longer used.
- Added two new options: "Clear Log History" and "View Log Directory"
- Changed log file format to "DateTime DestFileName.txt" to "DestFileName DateTime.txt"

git-svn-id: svn://localhost/HandBrake/trunk@2626 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Change the format for individual activity log file names.
dynaflash [Fri, 26 Jun 2009 14:33:24 +0000 (14:33 +0000)]
MacGui: Change the format for individual activity log file names.
- Put the output file's base name first .... should make searching for logs easier as per lingui.

git-svn-id: svn://localhost/HandBrake/trunk@2625 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: modify behavior of system tray icon
jstebbins [Fri, 26 Jun 2009 04:31:01 +0000 (04:31 +0000)]
LinGui: modify behavior of system tray icon
- clicking raises hb if iconified or obscured, iconifies if hb unobscured
- when hb is iconified via the system tray icon, remove it from taskbar
- preference option now enables/disables system tray icon

git-svn-id: svn://localhost/HandBrake/trunk@2624 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: Change the format of individual activity log file names.
jstebbins [Fri, 26 Jun 2009 00:33:00 +0000 (00:33 +0000)]
LinGui: Change the format of individual activity log file names.
Put the dest files base name first.  Date first made file completion useless.

git-svn-id: svn://localhost/HandBrake/trunk@2623 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: add preference option for iPod/iTunes friendly m4v extension
jstebbins [Thu, 25 Jun 2009 18:54:30 +0000 (18:54 +0000)]
LinGui: add preference option for iPod/iTunes friendly m4v extension
remove explicit m4v choice from Format combo (since it's not a separate format)

git-svn-id: svn://localhost/HandBrake/trunk@2622 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: With mingw, disable access rights checking of destination directory.
jstebbins [Thu, 25 Jun 2009 15:41:08 +0000 (15:41 +0000)]
LinGui: With mingw, disable access rights checking of destination directory.
The glib function for this only checks fat32 permissions and fails
randomly on NTFS.

git-svn-id: svn://localhost/HandBrake/trunk@2621 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years ago- cleanup. fixed hb_thread_to_integer() on darwin to cast pointer cleanly for both...
konablend [Thu, 25 Jun 2009 07:43:51 +0000 (07:43 +0000)]
- cleanup. fixed hb_thread_to_integer() on darwin to cast pointer cleanly for both 32-bit and 64-bit.

git-svn-id: svn://localhost/HandBrake/trunk@2620 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years ago- cleanup gcc format warnings showing up on linux 64-bit
konablend [Thu, 25 Jun 2009 07:00:41 +0000 (07:00 +0000)]
- cleanup gcc format warnings showing up on linux 64-bit

git-svn-id: svn://localhost/HandBrake/trunk@2619 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoFormat cleanup.
konablend [Thu, 25 Jun 2009 03:36:26 +0000 (03:36 +0000)]
Format cleanup.
- fixed ports.c to use a more portable method of getting integral pthread_t representation; resolves mingw crash.
- added GCC attribute to generate compiler warnings for invalid usage of hb_log, hb_deep_log and hb_errror;
  see new macro HB_WPRINTF(s,v) in common.h.
- fixed various invalid usage of above functions on osx i386/x86_64, and mingw.

git-svn-id: svn://localhost/HandBrake/trunk@2618 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix more mingw breakage
jstebbins [Thu, 25 Jun 2009 00:05:07 +0000 (00:05 +0000)]
LinGui: fix more mingw breakage
freeing a drive entity returned from a windows api by unreferencing it
with a glib api doesn't work so well. abstract the call to free a drive
and ifdef it.

git-svn-id: svn://localhost/HandBrake/trunk@2617 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix a problem with AudioDUB initialization at program start
jstebbins [Wed, 24 Jun 2009 17:28:38 +0000 (17:28 +0000)]
LinGui: fix a problem with AudioDUB initialization at program start

git-svn-id: svn://localhost/HandBrake/trunk@2616 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: preference improvements
jstebbins [Wed, 24 Jun 2009 16:55:11 +0000 (16:55 +0000)]
LinGui: preference improvements
- move PreferredLanguage and AudioDUB from audio tab to preferences
- move CRF vs. CQP option from video tab to preferences
- reorganize preferences into categories (general, audio, advanced)
- add blank spaces to unclutter preferences some.

git-svn-id: svn://localhost/HandBrake/trunk@2615 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix the quality slider setting when using presets for ffmpeg and theora.
dynaflash [Wed, 24 Jun 2009 14:59:47 +0000 (14:59 +0000)]
MacGui: Fix the quality slider setting when using presets for ffmpeg and theora.
- Fix issue where ffmpeg's presets were 2.0 low on the slider.
- Fix theora presets to recognize that the slider is not "inverted" (qp value go higher as quality increases).
-Tested all tree encoders to verify that value saved in preset is reset in gui and reported correctly by libhb.

git-svn-id: svn://localhost/HandBrake/trunk@2614 b64f7644-9d1e-0410-96f1-a4d463321fa5