OSDN Git Service

handbrake-jp/handbrake-jp-git.git
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

14 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

14 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

14 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

14 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

14 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

14 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

15 years agoFixed FFMPEG deprecated API warnings since last bump:
konablend [Wed, 24 Jun 2009 03:25:35 +0000 (03:25 +0000)]
Fixed FFMPEG deprecated API warnings since last bump:
- av_parser_parse() -> av_parser_parse2()
- avcodec_decode_audio2() -> avcodec_decode_audio3()
- avcodec_decode_video() -> avcodec_decode_video2()

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

15 years ago- fixed gcc warnings for various unused vars, implicit function decls, signedness.
konablend [Wed, 24 Jun 2009 03:18:52 +0000 (03:18 +0000)]
- fixed gcc warnings for various unused vars, implicit function decls, signedness.

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

15 years ago- patch ffmpeg to skip somewhat expensive .d (dependency) file generation.
konablend [Wed, 24 Jun 2009 01:02:28 +0000 (01:02 +0000)]
- patch ffmpeg to skip somewhat expensive .d (dependency) file generation.
- shaves about 12-15 seconds off total build time on the fastest boxen.

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

15 years agoLinGui: make mingw gtk ui work again.
jstebbins [Wed, 24 Jun 2009 00:38:40 +0000 (00:38 +0000)]
LinGui: make mingw gtk ui work again.
neglect caused it become broken

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

15 years agoMacGui: Preview - Add the foreign language search for subtitles scan to the live...
dynaflash [Tue, 23 Jun 2009 23:41:24 +0000 (23:41 +0000)]
MacGui: Preview - Add the foreign language search for subtitles scan to the live preview.
- Note: Its very possible that we are getting a full title scan for the foreign language search due to the observed time of the scan during the preview encode. Further testing probably necessary.

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

15 years ago- added FFMPEG dependencies markers { BZIP2, ZLIB }; needed for mingw/cygwin platforms.
konablend [Tue, 23 Jun 2009 23:19:28 +0000 (23:19 +0000)]
- added FFMPEG dependencies markers { BZIP2, ZLIB }; needed for mingw/cygwin platforms.
- explicitly enable { bzlib, zlib } during configure phase.

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

15 years ago- fixed corrupted files (effects mingw/cygwin platforms)
konablend [Tue, 23 Jun 2009 22:59:36 +0000 (22:59 +0000)]
- fixed corrupted files (effects mingw/cygwin platforms)

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

15 years agoSubRip: More missing files and property changes to LF
eddyg [Tue, 23 Jun 2009 21:55:43 +0000 (21:55 +0000)]
SubRip: More missing files and property changes to LF

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

15 years agoLinGui: add subtitle list to queue display
jstebbins [Tue, 23 Jun 2009 20:00:55 +0000 (20:00 +0000)]
LinGui: add subtitle list to queue display

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

15 years agoCLI: Missed file from SubRip - a symptom of too many views and patches
eddyg [Tue, 23 Jun 2009 19:32:39 +0000 (19:32 +0000)]
CLI: Missed file from SubRip - a symptom of too many views and patches

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

15 years agoMacGui: Queue - Display varying row heights based on the content of the encode.
dynaflash [Tue, 23 Jun 2009 16:07:04 +0000 (16:07 +0000)]
MacGui: Queue - Display varying row heights based on the content of the encode.
- Accommodates varying numbers of subtitles and audio tracks as well as optional lines based on encode settings.
- fixes issue where many audio tracks and subtitles can cause the bottom part of the expanded view to get cut off.
- Note: seems to be a bit of extra padding especially when using many subtitles, may want to adjust that at some point.

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

15 years agoCLI: SubRip Subtitle import
eddyg [Tue, 23 Jun 2009 00:32:36 +0000 (00:32 +0000)]
CLI: SubRip Subtitle import

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

15 years agoWinGui:
sr55 [Mon, 22 Jun 2009 20:27:46 +0000 (20:27 +0000)]
WinGui:
- Fixed Query Editor tab option that got broken in the last commit.

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

15 years agoLinGui: add audio-dub/add-subtitle radio buttons for preferred language control
jstebbins [Mon, 22 Jun 2009 20:25:15 +0000 (20:25 +0000)]
LinGui: add audio-dub/add-subtitle radio buttons for preferred language control
- When Audio DUB is enabled, behavior is essentially unchanged
- When Add Subtitle is enabled, a subtitle of the preferred language will be
  added to the subtitle list when the preferred language does not match
  the first audio track.

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

15 years agoWinGui:
sr55 [Mon, 22 Jun 2009 20:24:17 +0000 (20:24 +0000)]
WinGui:
- Stop using Strings for CheckBoxes in IF statements. They can return a boolean values.

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

15 years agoWinGui:
sr55 [Mon, 22 Jun 2009 20:02:09 +0000 (20:02 +0000)]
WinGui:
- Combine all the Filters controls and widgets onto 1 panel.  Replaces 12 files by 3.

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

15 years agoWinGui:
sr55 [Mon, 22 Jun 2009 14:33:03 +0000 (14:33 +0000)]
WinGui:
- Fix the tooltip on the quality slider. It's just wrong.

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

15 years agoCLI: fix cut/past error in forced subtitle option parsing
jstebbins [Sun, 21 Jun 2009 22:51:34 +0000 (22:51 +0000)]
CLI: fix cut/past error in forced subtitle option parsing

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

15 years agoCLI: Add type (int) to is_whole_media_service() to remove compile warning.
eddyg [Sun, 21 Jun 2009 22:24:24 +0000 (22:24 +0000)]
CLI: Add type (int) to is_whole_media_service() to remove compile warning.

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

15 years agoMoved --native-langauge processing from libhb to the CLI. Added --native-dub option...
eddyg [Sun, 21 Jun 2009 22:12:36 +0000 (22:12 +0000)]
Moved --native-langauge processing from libhb to the CLI. Added --native-dub option to allow the user to request dubbing instead of subtitles when the audio does not match the users native language.

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

15 years agoBuildSystem: tweak Mac packaging
konablend [Sun, 21 Jun 2009 21:42:45 +0000 (21:42 +0000)]
BuildSystem: tweak Mac packaging
- use $(BUILD.arch) instead of $(BUILD.machine) for naming consistent with mach-o binary types.
- enable --launch-jobs=0 when doing special universal binary builds.

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

15 years agoBuildSystem: regenerated build docs.
konablend [Sun, 21 Jun 2009 17:47:48 +0000 (17:47 +0000)]
BuildSystem: regenerated build docs.

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

15 years agoWinGui:
sr55 [Sun, 21 Jun 2009 17:15:04 +0000 (17:15 +0000)]
WinGui:
- Seems the picture settings panel picked up a localization which it shouldn't have. Fixed.

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

15 years agoLinGui: fix a problem with 2 pass non-turbo mode
jstebbins [Sat, 20 Jun 2009 18:43:04 +0000 (18:43 +0000)]
LinGui: fix a problem with 2 pass non-turbo mode
job->x264opts was not getting set in the first pass which caused segfault

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

15 years agoLinGui: make status icon code backwards compatible to gtk 2.10
jstebbins [Sat, 20 Jun 2009 18:08:06 +0000 (18:08 +0000)]
LinGui: make status icon code backwards compatible to gtk 2.10
There's a new status icon api in 2.16 that is not backwards compatible.
The depricated interface is broken in 2.16, so ifdef the code to use
older api only when older gtk versions are used.

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

15 years agolibhb: fix typo that causes 2 pass encodes to segfault at beginning of pass 2
jstebbins [Sat, 20 Jun 2009 17:10:20 +0000 (17:10 +0000)]
libhb: fix typo that causes 2 pass encodes to segfault at beginning of pass 2
- this only appears after running at least one previous encode job so it
  got missed in simple one-off testing

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

15 years agox264: bump to r1169-ab85c9 from r1163-3f56e27
dynaflash [Sat, 20 Jun 2009 04:32:43 +0000 (04:32 +0000)]
x264: bump to r1169-ab85c9 from r1163-3f56e27
- various forms of Dark_Shikari-fu
-  http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=ab85c9b0ae08a237472bfd14558353d5ecb92b3d

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

15 years agoUse new appcast URL nameing scheme for HandBrakeCLI --update.
konablend [Sat, 20 Jun 2009 04:04:54 +0000 (04:04 +0000)]
Use new appcast URL nameing scheme for HandBrakeCLI --update.
- increase storage space hb_handle_s.version[16] to 32 to handle longer version strings; eg. "svn2500 x86_64"
- reduce 2-query mechanism to 1-query and only check/notify for newer releases of same type (ie: stable or unstable)
- remove hard-coded url and extract host/path components from HB_PROJECT_URL_APPCAST macro

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

15 years agoLinGui: packaging
jstebbins [Sat, 20 Jun 2009 04:03:35 +0000 (04:03 +0000)]
LinGui: packaging
- correct rpm architecture probing seems to need _target_cpu instead of
  _build_arch
- correct creation of directories for package targets in module.rules

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

15 years agoMacGui: Fix Scale To Screen when in full screen mode.
dynaflash [Sat, 20 Jun 2009 03:55:17 +0000 (03:55 +0000)]
MacGui: Fix Scale To Screen when in full screen mode.
- Note: still a bit of a bug when switching sizes from the picture size inspector and in scale to screen.

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