summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: Queue allow proper deleting of encoding queue items and proper ↵dynaflash2008-09-182-8/+61
| | | | | | deleting of previously cancelled items. Also fixed Pause. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1716 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue from 1703 where once done doing at least one encode, all ↵dynaflash2008-09-181-22/+25
| | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1715 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix turbo two pass (thanks beelsebob and jkint for help ↵dynaflash2008-09-171-3/+9
| | | | | | | | troubleshooting it ) - also added a few more debugging messages to prepareJob until things cool down a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1714 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add some temporary activity log messages to try to debug the new queuedynaflash2008-09-171-4/+5
| | | | | | - with any luck I can get rid of these down the road git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1713 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Filter timestamps to prevent missing/incorrect Transport Stream PCRs messing ↵van2008-09-171-0/+19
| | | | | | up A/V sync. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1712 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix crash when selecting between target size and abr.dynaflash2008-09-171-3/+1
| | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1711 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: prevent entering bitrates above 160 for faacjstebbins2008-09-173-94/+120
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1710 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-171-0/+8
| | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1709 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix chapter markers which were borked in 1703dynaflash2008-09-171-1/+1
| | | | | | -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://svn.handbrake.fr/HandBrake/trunk@1708 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix subtitle scan which I broke in 1703dynaflash2008-09-171-3/+4
| | | | | | | - clean up some extra activity log messages -NOTE: As of this time chapter markers are still broken. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1707 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add mp4 options to queue descriptionjstebbins2008-09-177-33/+215
| | | | | | | fix a problem with audio bitrate and sample rate after reloading queue git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1706 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bug fix to r1691: had the offsets for PTS & DTS reversed so we were trying ↵van2008-09-161-7/+7
| | | | | | to grab a DTS when there wasn't one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1705 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Another bug fix in the per-stream timing code: If the clock reference ↵van2008-09-161-7/+29
| | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1704 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Resilient Queue: Initial Implementationdynaflash2008-09-166-3201/+2302
| | | | | | | | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1703 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: sr552008-09-164-66/+67
| | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1702 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update queue descriptions to match what joe is doing in the mac guijstebbins2008-09-156-94/+193
| | | | | | | had to make queue window a little wider to accomidate. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1701 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a couple problem exposed through some valgrind testing. use of freedjstebbins2008-09-152-3/+7
| | | | | | | memory in detelecine and use of uninitialized memory in decmpeg2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1700 b64f7644-9d1e-0410-96f1-a4d463321fa5
* If we always sort timestamps we can't detect & correct misordering caused by ↵van2008-09-151-16/+26
| | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1699 b64f7644-9d1e-0410-96f1-a4d463321fa5
* The difference of two timestamps referenced to different clocks is a random ↵van2008-09-151-5/+7
| | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1698 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-146-27/+28
| | | | | | - Fix: Cropping setting incorrectly set if --crop 0:0:0:0 is used in a preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1697 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-146-88/+144
| | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1696 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: refine the drop zone for queue drag n drop. now it only highlightsjstebbins2008-09-141-0/+11
| | | | | | | the zone between rows. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1695 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-142-27/+20
| | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1694 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add queue drag n drop reorderingjstebbins2008-09-1312-63/+448
| | | | | | | Also add option to add chapter numbers to auto-generated destination name git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1693 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix another memory leakjstebbins2008-09-122-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1692 b64f7644-9d1e-0410-96f1-a4d463321fa5
* HD Home Run seems to strip the PCR from some streams (which makes HB refuse ↵van2008-09-121-6/+29
| | | | | | to process them) so use the video stream DTS as a substitute until the first real PCR appears. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1691 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-119-45/+101
| | | | | | | - Slider control for deblock. - Fix: Load normal preset if userdefault setting string is empty. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1690 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change deblock control to a slider to set deblock strengthjstebbins2008-09-1121-11964/+15907
| | | | | | | also clean up some resource handling. delete several depricated files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1689 b64f7644-9d1e-0410-96f1-a4d463321fa5
* check return value of opendir in hb_close. hb_close was segfaulting whenjstebbins2008-09-111-9/+12
| | | | | | | called a second time to close a second instance of libhb. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1688 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Various fixes for ffmpeg input files (mp4, avi, mkv, etc.):van2008-09-113-185/+331
| | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1687 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-108-81/+157
| | | | | | - New option to allow the user to enter which format they wish the autoName function to use. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1686 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: consolidate all resources into one stringified plist file that getsjstebbins2008-09-0941-5958/+3889
| | | | | | | | compiled in. icons and everyting all rolled up into one ball-o-wax. hehe, plists are cool git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1685 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-093-11/+12
| | | | | | | - Fixed Crop values not set on title change. as per: http://forum.handbrake.fr/viewtopic.php?f=12&t=7050 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1684 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: sr552008-09-091-0/+3
| | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1683 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-0910-76/+169
| | | | | | - Allow users to manually import / export the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1682 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: exit rather than continue when invalid input audio tracks are selected.eddyg2008-09-091-6/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1681 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: internalize the UI description xml file. That's the last external jstebbins2008-09-084-55/+4677
| | | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1680 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: simplify the makefile icon building commandjstebbins2008-09-081-24/+24
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1679 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Internalize all the icons so I don't have to install them injstebbins2008-09-0855-55/+5964
| | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1678 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: yikes, this thing leaks worse than my roof, fixedjstebbins2008-09-089-24/+75
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1677 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix memory issues found by valgrindjstebbins2008-09-083-1/+3
| | | | | | | | | one uninitialized variable one missing free one malloc that's 1 byte too small git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1676 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removed contrib pack from cygwin part of makefile.sr552008-09-071-5/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1675 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix crash on ubuntu intrepid. Just luck it didn't crash on other jstebbins2008-09-071-26/+26
| | | | | | | | | systems. Was freeing a GtkTreePath improperly. Also fix spelling of "dependency" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1674 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix several strict-aliasing warnings and a null pointer dereferencejstebbins2008-09-074-19/+67
| | | | | | | | | that can happen if preferences don't yet exist and your running the app over an ssh session. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1673 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix a crash with re-scanning prior to encoding. Incorrect title jstebbins2008-09-063-5/+30
| | | | | | | index was being used. Must be sure to use title->index for this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1672 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix a non-fatal Gtk assert when switching the source selection modejstebbins2008-09-061-14/+7
| | | | | | | from file to folder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1671 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: missed adding a file with last commitjstebbins2008-09-061-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1670 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-064-101/+72
| | | | | | - Minor UI tweak to the Crop controls. Now uses radio buttons git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1669 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add queue save/restorejstebbins2008-09-0617-255/+2946
| | | | | | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@1668 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-055-43/+211
| | | | | | - Select which log file to view from the Activity Window rather than the tools menu / task bar. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1667 b64f7644-9d1e-0410-96f1-a4d463321fa5