summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* WinGui:sr552008-09-054-28/+47
| | | | | | | - Code Cleanup - Bugfix: PresetLoader incorrectly loading audio track number with user presets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1666 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - get rid of another deadlock: if there were more than 64 audio frames ↵van2008-09-051-7/+16
| | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1665 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removed old CYGWIN contrib pack files.sr552008-09-042-13/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1664 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Sanity check audio options in HandBrakeCLI to prevent NULL dereferences ↵eddyg2008-09-031-27/+66
| | | | | | when invalid audio inputs are used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1663 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Presets and preferences are now stored as plistsjstebbins2008-09-0227-3302/+8338
| | | | | | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@1662 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removed Cygwin info from BUILD file as it is no longer valid.sr552008-09-011-22/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1661 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated THANKS Filesr552008-09-011-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1660 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change buffer reuse policy to MRU to hopefully improve cache and VM performance.eddyg2008-08-292-1/+39
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1659 b64f7644-9d1e-0410-96f1-a4d463321fa5
* THANKS file updated, missed a name out, my bad.sr552008-08-281-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1658 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added some names to THANKS file.sr552008-08-281-0/+11
| | | | | | For those who have not yet been added, PM me please. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1657 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-281-4/+4
| | | | | | - Fixed Custom Crop bug as per http://forum.handbrake.fr/viewtopic.php?f=12&t=6963 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1656 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-2711-237/+167
| | | | | | - Code Refactoring and optimization to numerous files git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1655 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: plug small memory leakjstebbins2008-08-271-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1654 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-2412-107/+297
| | | | | | | | | | - Adds checkbox to enable decomb. - Program Options updated with an option to customize decomb values. - Queue Recovery feature. If you close the GUI without letting a queue complete, the user will be prompted if they'd like to recover the queue on next launch. - Small bugfix with the queue HandBrakeCLI monitor thread not stopping when the GUI is closed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1653 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: oops. presets weren't saved after refreshing standard presets, so thejstebbins2008-08-242-3/+6
| | | | | | | refresh got lost after restarting the app git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1652 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: bundle the standard presets in the exe. eliminates installingjstebbins2008-08-244-84/+646
| | | | | | | | a separate file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1651 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow standard presets to be deleted and provide a button to reloadjstebbins2008-08-238-142/+202
| | | | | | | them. This makes the lingui conform more closely to the macgui. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1650 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: improve data entry method for deinterlace and denoise settings in jstebbins2008-08-227-144/+496
| | | | | | | | tweaks mode. replaces GtkComboBox with GtkComboBoxEntry. add easter egg that gives access to hidden preferences git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1649 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add a hidden feature to allow tweaking some settings. currentlyjstebbins2008-08-217-16/+357
| | | | | | | | | | tweaks are available for detelecine, decomb, deinterlace, deblock, and denoise to enable, you must manually edit preferences file and add "allow_tweaks=1" to tweak a setting, right click on the widget, an entry dialog will appear. minimal validity checking is done on the tweak's value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: force use of contrib libs. libtool seems to be pretty arbitraryjstebbins2008-08-201-1/+27
| | | | | | | about where it picks libs from git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1647 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix Solaris buildseddyg2008-08-202-5/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1646 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix subtitle indepth scan abort & hang.van2008-08-192-4/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1645 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't allow theora to use pkg-config and use system versions of ogg and vorbiseddyg2008-08-182-1/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1644 b64f7644-9d1e-0410-96f1-a4d463321fa5
* The per-stream timing changes (r1570) make the overall timing depend on ↵van2008-08-181-7/+3
| | | | | | which media streams we process. So we can't ignore audio during pass 1 or the video timing will change between passes & make x264 abort. (Thanks to jbrjake for pointing out the problem.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1643 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - To reliably find audio in 720p or 1080i TS streams we need to search ↵van2008-08-181-5/+18
| | | | | | | | | | through first 50MB of file looking for the stream rather than first 18MB. - When we're looking for a PES header for some PID, check both that the TS 'start' bit is set and that the first 3 data bytes are an MPEG start code (the start bit may get set by an error not caught by the CRC). - Print the substream id when we reject a PID as "not audio" so we'll be able to debug TS streams using non-standard PES encapsulations. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1642 b64f7644-9d1e-0410-96f1-a4d463321fa5
* If we try to release old frames in the loop that searches for a free one we ↵van2008-08-181-19/+6
| | | | | | may free one that's in use & crash in avcodec_default_release_buffer. (Bug tracked down by eddyg). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1641 b64f7644-9d1e-0410-96f1-a4d463321fa5