OSDN Git Service
jstebbins [Wed, 24 Sep 2008 15:26:05 +0000 (15:26 +0000)]
LinGui: vfr checkbox is toast.
detelecine && same-as-source now triggers vfr
git-svn-id: svn://localhost/HandBrake/trunk@1753
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 24 Sep 2008 15:25:39 +0000 (15:25 +0000)]
MacGui: Remove the VFR checkbox in the Picture Settings window.
- Use vfr if the framerate popup is "Same as source" and Detelecine is checked in Picture Settings.
- Otherwise framerate works as in the past.
git-svn-id: svn://localhost/HandBrake/trunk@1752
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 23 Sep 2008 19:58:39 +0000 (19:58 +0000)]
MacGui: update the deblock filter setting display in the queue.
git-svn-id: svn://localhost/HandBrake/trunk@1751
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 23 Sep 2008 17:33:40 +0000 (17:33 +0000)]
MacGui: implement a slider for deblock.
- Slider goes from "Off" and then ranges from 5-15.
- Update preset code to handle the old bool for deblock where we convert "yes" to a value of 5.
- Note: though the deblock filter actually has a setting of 0, for the macgui we use an integer of 0, which shows up in the interface as "Off" to indicate not to load the filter at all. Made presets etc, easier to modify.
git-svn-id: svn://localhost/HandBrake/trunk@1750
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 23 Sep 2008 15:48:56 +0000 (15:48 +0000)]
WinGui:
- Deblock Slider now displays "Off" and scales from 5 to 15
git-svn-id: svn://localhost/HandBrake/trunk@1749
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 23 Sep 2008 15:40:53 +0000 (15:40 +0000)]
LinGui: refine deblock slider. now shows "Off" and values 5-15.
git-svn-id: svn://localhost/HandBrake/trunk@1748
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 23 Sep 2008 14:41:20 +0000 (14:41 +0000)]
LinGui: Add progress info to queue window
git-svn-id: svn://localhost/HandBrake/trunk@1747
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 23 Sep 2008 14:33:32 +0000 (14:33 +0000)]
MacGui: upon reloading a previous queue at launch, open up the queue window.
git-svn-id: svn://localhost/HandBrake/trunk@1746
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 23 Sep 2008 14:27:30 +0000 (14:27 +0000)]
MacGui: When reloading a previous queue at launch, as well as pending encodes also reload a queue item marked previously as "encoding" if it exists.
- An item marked as encoding in the qeueu at launch indicates that either we crashed during that encode, or that the user shut down during that encode.
- If the user chooses to reload, we change the status back to pending. Note: the encode will be at the top of the queue after launch.
- Change the queue reload alert window to tell the user how many pending jobs they have as well as if there was an encoding job.
git-svn-id: svn://localhost/HandBrake/trunk@1745
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 22 Sep 2008 17:46:32 +0000 (17:46 +0000)]
MacGui: Re-enable deleting encodes with the delete key if hilighted.
- Currently one at a time, multiple selections are shut off for queue sync reasons .
- Note: To delete a finished encode, click on it and hit your delete key ( since the action icon is an "open file in finder" magnifying glass) as this is the only way currently to delete a finished encode.
git-svn-id: svn://localhost/HandBrake/trunk@1744
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 22 Sep 2008 15:29:09 +0000 (15:29 +0000)]
MacGui: Fix sleep/shutdown warning so it only comes up once right when starting encoding instead of every time the queue starts the next encode.
git-svn-id: svn://localhost/HandBrake/trunk@1743
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 22 Sep 2008 14:44:13 +0000 (14:44 +0000)]
MacGui: Add encoding status readout to the queue window
- is fed info from controller.mm instead of the old setup which had another NSTimer polling libhb just for the queue.
git-svn-id: svn://localhost/HandBrake/trunk@1742
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 21 Sep 2008 20:08:07 +0000 (20:08 +0000)]
LinGui: delete key now deletes items in the queue
git-svn-id: svn://localhost/HandBrake/trunk@1741
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 21 Sep 2008 19:16:40 +0000 (19:16 +0000)]
Cygwin:
- We compile libz but don't actually link it in on cygwin. This is fixed.
- Added bzip2 lib which means we can get rid of another cygwin dll.
These are cygwin only so have no affect on any other platform.
git-svn-id: svn://localhost/HandBrake/trunk@1740
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Sun, 21 Sep 2008 04:40:09 +0000 (04:40 +0000)]
MacGui: End of encode/queue alerts and actions changes
- Growl alerts and "Send to MetaX" actions occur as each encode comes finishes in the queue.
- The standard alert window, computer sleep and computer shutdown all occur at the end of encoding the entire queue, specifically when the encoding is done, and there aren't any other pending encodes to process.
git-svn-id: svn://localhost/HandBrake/trunk@1739
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Sun, 21 Sep 2008 03:52:31 +0000 (03:52 +0000)]
MacGui: upon launch, if pending items are still in the queue, if you choose to reload them, you are not presented with the browse source window.
git-svn-id: svn://localhost/HandBrake/trunk@1738
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Sat, 20 Sep 2008 21:29:53 +0000 (21:29 +0000)]
MacGui: now requires vlc 0.9.xx to read protected dvd's in the users /Applications folder
git-svn-id: svn://localhost/HandBrake/trunk@1737
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 20 Sep 2008 16:28:28 +0000 (16:28 +0000)]
WinGui:
- Removed Red Background colour on chapter selection dropdown menus. This is no longer needed.
- Prevent the user from selecting an invalid combination of Chapters. e.g 12-5. Dropdowns now have the same behaviour as the macgui.
- Fixed Start/Stop Tooltips on the mainwindow
git-svn-id: svn://localhost/HandBrake/trunk@1736
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 20 Sep 2008 15:11:23 +0000 (15:11 +0000)]
WinGui:
- User presets and built in presets are now show in seperate colours. User preset's are shown in black and built in are blue.
- Added cancel button to add preset.
- Removed File Menu > Import. This is not required. Users can import old .hb files as text into the query editor if need be.
- Adding a new user preset no longer stores Title and file input/output information. While these were never used, it's a waste of space storing them in the user presets file.
- Added a comfirm dialog for removing presets.
git-svn-id: svn://localhost/HandBrake/trunk@1735
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 20 Sep 2008 01:26:14 +0000 (01:26 +0000)]
LinGui: improve the precision of the scaling of the preview image for display
small round off error caused the display to not visibly change for
every incremental change in the width control.
git-svn-id: svn://localhost/HandBrake/trunk@1734
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 19 Sep 2008 21:37:32 +0000 (21:37 +0000)]
WinGui:
- Fix: Small issue with Queue Recovery feature. Encoded files were not removed from the recovery file.
git-svn-id: svn://localhost/HandBrake/trunk@1733
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 19 Sep 2008 17:10:21 +0000 (17:10 +0000)]
WinGui:
- Fixed bug. --markers wasn't detected with user presets, only -m worked.
git-svn-id: svn://localhost/HandBrake/trunk@1732
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 19 Sep 2008 16:50:52 +0000 (16:50 +0000)]
WinGui:
- Just allow ISO_Open to open all files. Will save adding all the ffmpeg options available.
- Re-factored the chapter marker creation/query generation code.
git-svn-id: svn://localhost/HandBrake/trunk@1731
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 19 Sep 2008 14:55:38 +0000 (14:55 +0000)]
MacGui: Custom chapter names restored (borked in 1703)
- The chapter names are now stored in the queue as the key "ChapterNames" which has an array of names as its value and are re-applied to the job when the queue goes to that encode if applicable.
- As with all things, should save some work if you use a lot of custom chapter names and you have to shut down during a long queue encode and restart later.
git-svn-id: svn://localhost/HandBrake/trunk@1730
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 19 Sep 2008 14:09:52 +0000 (14:09 +0000)]
WinGui:
- Updated for x264's new default subme of 6. Remember to update your built-in presets!
git-svn-id: svn://localhost/HandBrake/trunk@1729
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 19 Sep 2008 14:07:46 +0000 (14:07 +0000)]
WinGui:
- Patch from canvas :- use format dropdown value for extension with the autoName function. Typo fix and add's the .m2ts file extension to the file open dialog box.
- Fix in calculateDuration, don't crash if start chapter > end chapter.
git-svn-id: svn://localhost/HandBrake/trunk@1728
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Fri, 19 Sep 2008 14:02:13 +0000 (14:02 +0000)]
Spit out the average encoding speed in the verbose log at the end of a job.
git-svn-id: svn://localhost/HandBrake/trunk@1727
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Fri, 19 Sep 2008 13:49:59 +0000 (13:49 +0000)]
CLI: Synchronizes presets with the MacGui, following x264's switch to subme 6 as default.
git-svn-id: svn://localhost/HandBrake/trunk@1726
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Fri, 19 Sep 2008 13:49:13 +0000 (13:49 +0000)]
Brings MacGui in line with x264's new default subme of 6. Remember to update your built-in presets!
git-svn-id: svn://localhost/HandBrake/trunk@1725
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Fri, 19 Sep 2008 13:48:02 +0000 (13:48 +0000)]
Bring libhb in line with x264's new default subme level of 6.
git-svn-id: svn://localhost/HandBrake/trunk@1724
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Fri, 19 Sep 2008 13:47:08 +0000 (13:47 +0000)]
Bumps x264 to r979-
6d4af9d, bringing Psy-RDO and Psy-Trellis to HandBrake.
Note: since the last x264 bump, they have changed the way CRF works. Throw out everything you thought you knew about the output bitrate for a given quality level.
git-svn-id: svn://localhost/HandBrake/trunk@1723
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Fri, 19 Sep 2008 13:36:23 +0000 (13:36 +0000)]
MacGui and MacCli: Sets the Xcode project's Deployment target to use GCC optimization level 3 instead of S, optimizing for speed instead of speed and size.
git-svn-id: svn://localhost/HandBrake/trunk@1722
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 19 Sep 2008 06:30:57 +0000 (06:30 +0000)]
WinGui:
- Forgot to remove a line of code used for debugging.
git-svn-id: svn://localhost/HandBrake/trunk@1721
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jbrjake [Fri, 19 Sep 2008 00:29:55 +0000 (00:29 +0000)]
Threaded decomb filter. Folds in eddyg's threaded yadif from r1628 and also analyzes cpu-count segments of the frame in parallel when generating the combing mask used to decide which frames to send to yadif.
git-svn-id: svn://localhost/HandBrake/trunk@1720
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 19 Sep 2008 00:19:46 +0000 (00:19 +0000)]
LinGui: tidy up how combobox values are handled internally and stored in plists
fix a problem with storing max picture dims to presets plist
git-svn-id: svn://localhost/HandBrake/trunk@1719
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 18 Sep 2008 18:54:31 +0000 (18:54 +0000)]
MacGui: "Stop" command modifications
- Clicking on the "stop" icon in the toolbar now produces a different alert window with three choices
- " Continue Encoding " default, just dismisses the window and continues on its merry way.
- " Cancel Current and Stop " Cancels the current encode and stops the queue
- " Cancel Current and Continue " Cancels the current encode and moves to the next pending encode (if there is one).
- Also fixed an issue with deleting a canceled encode at the top of the queue list.
git-svn-id: svn://localhost/HandBrake/trunk@1718
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 18 Sep 2008 16:51:49 +0000 (16:51 +0000)]
WinGui:
- Couple of bug fixes. Crop, -f option, typo
git-svn-id: svn://localhost/HandBrake/trunk@1717
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 18 Sep 2008 16:11:12 +0000 (16:11 +0000)]
MacGui: Queue allow proper deleting of encoding queue items and proper deleting of previously cancelled items. Also fixed Pause.
git-svn-id: svn://localhost/HandBrake/trunk@1716
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 18 Sep 2008 14:38:31 +0000 (14:38 +0000)]
MacGui: Fix issue from 1703 where once done doing at least one encode, all subsequent jobs would require that you add to queue first, then hit start.
- Now, even after encoding a queue is finished, you can just hit "Start" to add the currently loaded job in the GUI to the queue and start encoding right away.
git-svn-id: svn://localhost/HandBrake/trunk@1715
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 17 Sep 2008 19:02:49 +0000 (19:02 +0000)]
MacGui: fix turbo two pass (thanks beelsebob and jkint for help troubleshooting it )
- also added a few more debugging messages to prepareJob until things cool down a bit.
git-svn-id: svn://localhost/HandBrake/trunk@1714
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 17 Sep 2008 18:34:08 +0000 (18:34 +0000)]
MacGui: Add some temporary activity log messages to try to debug the new queue
- with any luck I can get rid of these down the road
git-svn-id: svn://localhost/HandBrake/trunk@1713
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Wed, 17 Sep 2008 17:06:38 +0000 (17:06 +0000)]
Filter timestamps to prevent missing/incorrect Transport Stream PCRs messing up A/V sync.
git-svn-id: svn://localhost/HandBrake/trunk@1712
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 17 Sep 2008 17:01:14 +0000 (17:01 +0000)]
MacGui: Fix crash when selecting between target size and abr.
- calculateBitrate shouldn't need nor can it any longer use prepareJob
- should still verify proper calcs for target bitrate and abr, but better not to crash.
git-svn-id: svn://localhost/HandBrake/trunk@1711
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 17 Sep 2008 15:46:10 +0000 (15:46 +0000)]
LinGui: prevent entering bitrates above 160 for faac
git-svn-id: svn://localhost/HandBrake/trunk@1710
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 17 Sep 2008 15:17:12 +0000 (15:17 +0000)]
WinGui:
- Possible fix in the Query Parser for the line "+ combing detected, may be interlaced or telecined" causing the parser to skip titles.
git-svn-id: svn://localhost/HandBrake/trunk@1709
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 17 Sep 2008 15:04:04 +0000 (15:04 +0000)]
MacGui: fix chapter markers which were borked in 1703
-Note: this only fixed adding chapter markers. Custom chapter names are *not* fixed, if chapter markers checkbox is checked you will currently get 001, 002, etc. etc. for chapter names.
git-svn-id: svn://localhost/HandBrake/trunk@1708
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 17 Sep 2008 14:24:41 +0000 (14:24 +0000)]
MacGui: Fix subtitle scan which I broke in 1703
- clean up some extra activity log messages
-NOTE: As of this time chapter markers are still broken.
git-svn-id: svn://localhost/HandBrake/trunk@1707
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 17 Sep 2008 00:03:01 +0000 (00:03 +0000)]
LinGui: Add mp4 options to queue description
fix a problem with audio bitrate and sample rate after reloading queue
git-svn-id: svn://localhost/HandBrake/trunk@1706
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Tue, 16 Sep 2008 21:53:56 +0000 (21:53 +0000)]
Bug fix to r1691: had the offsets for PTS & DTS reversed so we were trying to grab a DTS when there wasn't one.
git-svn-id: svn://localhost/HandBrake/trunk@1705
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Tue, 16 Sep 2008 21:31:46 +0000 (21:31 +0000)]
Another bug fix in the per-stream timing code: If the clock reference changes on the first buffer of a stream we haven't seen before we don't have the history we need to compute a clock offset & need to wait for a stream we've been tracking.
git-svn-id: svn://localhost/HandBrake/trunk@1704
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 16 Sep 2008 20:57:13 +0000 (20:57 +0000)]
MacGui: Resilient Queue: Initial Implementation
- Completely overhauls how encodes are setup by the MacGui
- All encodes are now stored in an NSMutableArray (QueueFileArray) and saved in a plist (~/Library/Application Support/HandBrake/Queue.plist)
- A separate instance of libhb (fQueueEncodeLibhb) is used for queue processing (includes single encodes)
- fHandle still takes care of all user intiated scans and encode parameters
- libhb now only stores multiple passes for a single encode instead of storing the entire queue
- If HB crashes, or if you stop encoding while there are still pending encodes in your queue, upon next launch you will be prompted to reload the previous queue from the Queue.plist
- Removed the current encoding information at the top of the queue window to make room for a larger list as I thought it to be redundant
- The queue list is now re-arrangeable via drag-n-drop (pending encodes only)
- Known issues and bugs:
-- If you delete a previously cancelled encode then try to restart with a new encode, nothing happens. Throw off the sync of the currently encoding job.
-- Probably alot more since its a total overhaul of how the MacGui has handled encoding since titer originally wrote it :)
git-svn-id: svn://localhost/HandBrake/trunk@1703
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 16 Sep 2008 11:30:30 +0000 (11:30 +0000)]
WinGui:
- Fixed a number of incorrect tooltips and text labels.
- Moved the deblock control again, see if I can't completely avoid it overlapping another control.
git-svn-id: svn://localhost/HandBrake/trunk@1702
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 15 Sep 2008 21:24:35 +0000 (21:24 +0000)]
LinGui: update queue descriptions to match what joe is doing in the mac gui
had to make queue window a little wider to accomidate.
git-svn-id: svn://localhost/HandBrake/trunk@1701
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 15 Sep 2008 15:01:08 +0000 (15:01 +0000)]
Fix a couple problem exposed through some valgrind testing. use of freed
memory in detelecine and use of uninitialized memory in decmpeg2
git-svn-id: svn://localhost/HandBrake/trunk@1700
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Mon, 15 Sep 2008 06:51:18 +0000 (06:51 +0000)]
If we always sort timestamps we can't detect & correct misordering caused by an SCR discontinuity. So only sort timestamps on streams that could have been broken by Microsoft (ffmpeg avi, wmv, mkv & mp4) and leave mpeg PS, TS & M2TS steams alone.
git-svn-id: svn://localhost/HandBrake/trunk@1699
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Mon, 15 Sep 2008 06:44:56 +0000 (06:44 +0000)]
The difference of two timestamps referenced to different clocks is a random number & not useful input to the average frame size computation. This major brain-o would occasionally cause huge average frame times which, when later used to compute the SCR correction, would result in large gaps in the audio and/or video streams. Fixed by always computing the average frame size from the scr-corrected timestamps.
git-svn-id: svn://localhost/HandBrake/trunk@1698
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 14 Sep 2008 20:50:55 +0000 (20:50 +0000)]
WinGui:
- Fix: Cropping setting incorrectly set if --crop 0:0:0:0 is used in a preset.
git-svn-id: svn://localhost/HandBrake/trunk@1697
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 14 Sep 2008 16:54:19 +0000 (16:54 +0000)]
WinGui:
- Delete key can now be used to delete presets & queue items.
- Queued items now have job id's. this isn't used for anything yet, however will be useful for editing current queue items.
- Moved batch script code to Queue.cs
git-svn-id: svn://localhost/HandBrake/trunk@1696
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 14 Sep 2008 15:52:55 +0000 (15:52 +0000)]
LinGui: refine the drop zone for queue drag n drop. now it only highlights
the zone between rows.
git-svn-id: svn://localhost/HandBrake/trunk@1695
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 14 Sep 2008 14:15:11 +0000 (14:15 +0000)]
WinGui:
- Removed invalid tooltip text from Size -> Source label.
- Moved deblock slider up a few px. The control has a horrible amount of uncontrollable padding which may overlap the de interlace control in some cases.
git-svn-id: svn://localhost/HandBrake/trunk@1694
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 13 Sep 2008 20:04:28 +0000 (20:04 +0000)]
LinGui: Add queue drag n drop reordering
Also add option to add chapter numbers to auto-generated destination name
git-svn-id: svn://localhost/HandBrake/trunk@1693
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 12 Sep 2008 17:20:37 +0000 (17:20 +0000)]
LinGui: fix another memory leak
git-svn-id: svn://localhost/HandBrake/trunk@1692
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Fri, 12 Sep 2008 05:37:56 +0000 (05:37 +0000)]
HD Home Run seems to strip the PCR from some streams (which makes HB refuse to process them) so use the video stream DTS as a substitute until the first real PCR appears.
git-svn-id: svn://localhost/HandBrake/trunk@1691
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 11 Sep 2008 21:34:05 +0000 (21:34 +0000)]
WinGui:
- Slider control for deblock.
- Fix: Load normal preset if userdefault setting string is empty.
git-svn-id: svn://localhost/HandBrake/trunk@1690
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 11 Sep 2008 16:12:31 +0000 (16:12 +0000)]
LinGui: change deblock control to a slider to set deblock strength
also clean up some resource handling. delete several depricated files.
git-svn-id: svn://localhost/HandBrake/trunk@1689
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 11 Sep 2008 16:04:21 +0000 (16:04 +0000)]
check return value of opendir in hb_close. hb_close was segfaulting when
called a second time to close a second instance of libhb.
git-svn-id: svn://localhost/HandBrake/trunk@1688
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Thu, 11 Sep 2008 04:05:04 +0000 (04:05 +0000)]
Various fixes for ffmpeg input files (mp4, avi, mkv, etc.):
- always use source time stamps (HB vfr mpeg4 files now handled correctly)
- handle Microsoft's braindead "VFW packed b-frames"
- compute average video frame rate from total duration & number of frames (ignore ffmpeg's frame rate which is closer to a max f.r. for vfr video).
- workaround an ffmpeg audio decode abort when it used SSE instructions on unaligned buffers.
git-svn-id: svn://localhost/HandBrake/trunk@1687
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 10 Sep 2008 11:16:21 +0000 (11:16 +0000)]
WinGui:
- New option to allow the user to enter which format they wish the autoName function to use.
git-svn-id: svn://localhost/HandBrake/trunk@1686
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 9 Sep 2008 23:14:28 +0000 (23:14 +0000)]
LinGui: consolidate all resources into one stringified plist file that gets
compiled in. icons and everyting all rolled up into one ball-o-wax.
hehe, plists are cool
git-svn-id: svn://localhost/HandBrake/trunk@1685
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 9 Sep 2008 19:01:38 +0000 (19:01 +0000)]
WinGui:
- Fixed Crop values not set on title change.
as per: http://forum.handbrake.fr/viewtopic.php?f=12&t=7050
git-svn-id: svn://localhost/HandBrake/trunk@1684
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 9 Sep 2008 17:31:44 +0000 (17:31 +0000)]
WinGui:
- Fix in CalculateDuration. Crash caused by end chapter dropdown menu not getting re-populated before calculate duration run. See:
http://forum.handbrake.fr/viewtopic.php?f=12&t=7050
git-svn-id: svn://localhost/HandBrake/trunk@1683
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Tue, 9 Sep 2008 16:48:33 +0000 (16:48 +0000)]
WinGui:
- Allow users to manually import / export the queue.
git-svn-id: svn://localhost/HandBrake/trunk@1682
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Tue, 9 Sep 2008 02:34:57 +0000 (02:34 +0000)]
CLI: exit rather than continue when invalid input audio tracks are selected.
git-svn-id: svn://localhost/HandBrake/trunk@1681
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 8 Sep 2008 23:44:13 +0000 (23:44 +0000)]
LinGui: internalize the UI description xml file. That's the last external
file that was neccessary. The ghb binary can now stand on its own without
external resource files. The makefile still installs a couple extra files
that adds HandBrake to the users "Sound & Video" menu.
git-svn-id: svn://localhost/HandBrake/trunk@1680
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 8 Sep 2008 23:16:45 +0000 (23:16 +0000)]
LinGui: simplify the makefile icon building command
git-svn-id: svn://localhost/HandBrake/trunk@1679
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 8 Sep 2008 23:11:15 +0000 (23:11 +0000)]
LinGui: Internalize all the icons so I don't have to install them in
a system directory. One step closer to being able to build a binary
that can stand on it's own without a bunch of additional resource files.
git-svn-id: svn://localhost/HandBrake/trunk@1678
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 8 Sep 2008 02:13:48 +0000 (02:13 +0000)]
LinGui: yikes, this thing leaks worse than my roof, fixed
git-svn-id: svn://localhost/HandBrake/trunk@1677
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 8 Sep 2008 00:24:11 +0000 (00:24 +0000)]
LinGui: fix memory issues found by valgrind
one uninitialized variable
one missing free
one malloc that's 1 byte too small
git-svn-id: svn://localhost/HandBrake/trunk@1676
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 7 Sep 2008 21:49:16 +0000 (21:49 +0000)]
Removed contrib pack from cygwin part of makefile.
git-svn-id: svn://localhost/HandBrake/trunk@1675
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 7 Sep 2008 17:58:11 +0000 (17:58 +0000)]
LinGui: Fix crash on ubuntu intrepid. Just luck it didn't crash on other
systems. Was freeing a GtkTreePath improperly.
Also fix spelling of "dependency"
git-svn-id: svn://localhost/HandBrake/trunk@1674
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 7 Sep 2008 17:06:39 +0000 (17:06 +0000)]
LinGui: Fix several strict-aliasing warnings and a null pointer dereference
that can happen if preferences don't yet exist and your running the app over
an ssh session.
git-svn-id: svn://localhost/HandBrake/trunk@1673
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 6 Sep 2008 22:43:10 +0000 (22:43 +0000)]
LinGui: Fix a crash with re-scanning prior to encoding. Incorrect title
index was being used. Must be sure to use title->index for this.
git-svn-id: svn://localhost/HandBrake/trunk@1672
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 6 Sep 2008 19:13:25 +0000 (19:13 +0000)]
LinGui: Fix a non-fatal Gtk assert when switching the source selection mode
from file to folder.
git-svn-id: svn://localhost/HandBrake/trunk@1671
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 6 Sep 2008 18:01:48 +0000 (18:01 +0000)]
LinGui: missed adding a file with last commit
git-svn-id: svn://localhost/HandBrake/trunk@1670
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 6 Sep 2008 17:00:09 +0000 (17:00 +0000)]
WinGui:
- Minor UI tweak to the Crop controls. Now uses radio buttons
git-svn-id: svn://localhost/HandBrake/trunk@1669
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 6 Sep 2008 16:48:54 +0000 (16:48 +0000)]
LinGui: Add queue save/restore
- 2 instances of libhb are used. One for queue activities and one for scanning
new sources prior to adding to the queue.
- Improve chapter entry usability. In addition to "return" advancing to the
next chapter for editing, up and down arrows will advance to prev/next and
put the cell in edit mode.
- Add an accelerator key to jump to the destination entry box.
- Fix a queue window resize problem.
git-svn-id: svn://localhost/HandBrake/trunk@1668
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 5 Sep 2008 15:25:49 +0000 (15:25 +0000)]
WinGui:
- Select which log file to view from the Activity Window rather than the tools menu / task bar.
git-svn-id: svn://localhost/HandBrake/trunk@1667
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 5 Sep 2008 14:46:56 +0000 (14:46 +0000)]
WinGui:
- Code Cleanup
- Bugfix: PresetLoader incorrectly loading audio track number with user presets.
git-svn-id: svn://localhost/HandBrake/trunk@1666
b64f7644-9d1e-0410-96f1-
a4d463321fa5
van [Fri, 5 Sep 2008 06:16:44 +0000 (06:16 +0000)]
- get rid of another deadlock: if there were more than 64 audio frames before the first video frame we'd lock up the reader.
- if we get a bogus timestamp at the end of some conversion just ignore it and don't try to generate minutes or hours of silence to fill the hole.
git-svn-id: svn://localhost/HandBrake/trunk@1665
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 4 Sep 2008 11:28:37 +0000 (11:28 +0000)]
Removed old CYGWIN contrib pack files.
git-svn-id: svn://localhost/HandBrake/trunk@1664
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Wed, 3 Sep 2008 01:21:01 +0000 (01:21 +0000)]
CLI: Sanity check audio options in HandBrakeCLI to prevent NULL dereferences when invalid audio inputs are used.
git-svn-id: svn://localhost/HandBrake/trunk@1663
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 2 Sep 2008 22:56:19 +0000 (22:56 +0000)]
LinGui: Presets and preferences are now stored as plists
This will also make saving/restoring the queue much easier.
It's a scary big change. 1400 new lines of code. Due to efficiencies
of a better desing, 2400 lines of old code also gets refactored
down to 1600. Giving a final net +600 lines.
Along the way, I stumbled across a couple bugs and fixed them.
Chapter list entry would get wedged under certain circumstances.
Pausing encoding didn't display pause message in status bar.
git-svn-id: svn://localhost/HandBrake/trunk@1662
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 1 Sep 2008 19:48:30 +0000 (19:48 +0000)]
Removed Cygwin info from BUILD file as it is no longer valid.
git-svn-id: svn://localhost/HandBrake/trunk@1661
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 1 Sep 2008 19:25:39 +0000 (19:25 +0000)]
Updated THANKS File
git-svn-id: svn://localhost/HandBrake/trunk@1660
b64f7644-9d1e-0410-96f1-
a4d463321fa5
eddyg [Fri, 29 Aug 2008 00:16:22 +0000 (00:16 +0000)]
Change buffer reuse policy to MRU to hopefully improve cache and VM performance.
git-svn-id: svn://localhost/HandBrake/trunk@1659
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 28 Aug 2008 20:15:07 +0000 (20:15 +0000)]
THANKS file updated, missed a name out, my bad.
git-svn-id: svn://localhost/HandBrake/trunk@1658
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 28 Aug 2008 20:13:05 +0000 (20:13 +0000)]
Added some names to THANKS file.
For those who have not yet been added, PM me please.
git-svn-id: svn://localhost/HandBrake/trunk@1657
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 28 Aug 2008 18:39:54 +0000 (18:39 +0000)]
WinGui:
- Fixed Custom Crop bug as per http://forum.handbrake.fr/viewtopic.php?f=12&t=6963
git-svn-id: svn://localhost/HandBrake/trunk@1656
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 27 Aug 2008 23:45:44 +0000 (23:45 +0000)]
WinGui:
- Code Refactoring and optimization to numerous files
git-svn-id: svn://localhost/HandBrake/trunk@1655
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 27 Aug 2008 15:26:26 +0000 (15:26 +0000)]
LinGui: plug small memory leak
git-svn-id: svn://localhost/HandBrake/trunk@1654
b64f7644-9d1e-0410-96f1-
a4d463321fa5