summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: refactor --enable-gst optionjstebbins2011-01-291-2/+5
| | | | | | | change to --disable-gst and make it work for both mingw and linux git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3774 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update copyright datesjstebbins2011-01-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3731 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow specifying file to scan on command linejstebbins2010-11-011-1/+7
| | | | | | | | The gui will immediately scan this file at startup. Makes 'Open with' nautilus options behave as expected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3636 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bump ffmpeg from 22950 to 25082jstebbins2010-09-141-5/+0
| | | | | | | | | | | | | | It's been 5 months since an ffmpeg bump. One negative is that we loose LATM support. The LATM patch is just impossible to apply anymore since ffmpeg dropped support for using the external faad lib. There are ifdef's in the code should anyone wish to revert to an earlier ffmpeg and enable LATM. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3526 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework some of the logic behind the audio tab handlerjstebbins2010-06-071-6/+2
| | | | | | | | | gets rid of some duplication of values that i had. makes it easier to keep the visible list and the data structures behind it in sync. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3369 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Improvements to audio paneljstebbins2010-06-061-2/+3
| | | | | | | | | | When codec is "Choose for me", show the codec chosen in the list, but leave the combo box showing "Choose for me". This way, if the user saves the settings in a new preset, the audio codec saved remaines 'auto' instead of reverting to the codec that was chosen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3361 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add SSA subtitle supportjstebbins2010-06-011-14/+7
| | | | | | | Thanks to davidfster git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3342 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add option to completely disable update checkingjstebbins2010-05-241-0/+5
| | | | | | | | | configure --disable-gtk-update-checks removes the code that does update checks including the webkit library used for displaying the appcast. this is useful when packaging for a repository that has it's own update mechanism. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3323 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix stderr redirection on mingw. dup2 function doesn't work as it should so ↵jstebbins2010-05-231-0/+5
| | | | | | | | | must reach inside stderr struct and modify _file member directly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3318 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: drop dependency on hal, use udev insteadjstebbins2010-04-271-1/+3
| | | | | | | | this means support for older linux versions is being dropped. ubuntu 9.10 and above and fedora 12 and above are known to work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3270 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a mingw build issuejstebbins2010-04-141-11/+57
| | | | | | | The new multi-instance file locking needs to be ifdef'd for mingw git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3221 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: forgot to keep the activity logs distinct for multiple instancesjstebbins2010-04-091-2/+58
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3213 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow multiple instances of the gui to runjstebbins2010-04-091-15/+1
| | | | | | | | | | | | Each instance has a queue named "queue.<pid>". On startup, the gui opens and locks with lockf a file "ghb.pid.<pid>". Then it searches for any other ghb.pid.<pid> files that exist that are not locked. If it finds one, then some instance of ghb exited and may have left behind a queue. Try to reload it. If there are no items in the queue, continue looking for unlocked ghb.pid.<pid> files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3212 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use a more portable, elegant way of redirecting stderr to pipejstebbins2010-03-141-5/+2
| | | | | | | Thanks to scsi guy for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3168 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix an issue with hud widget sytle overridesjstebbins2010-03-111-1/+8
| | | | | | | | The overrides are based on widget name, and the names are no longer being set by GtkBuilder. So I have to set them myself. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3161 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a bunch of brokenness on Ubuntu 10.04 (lucid)jstebbins2010-02-231-2/+2
| | | | | | | | | | | gtk 2.19 has changed how object id's are stored by gtkbuilder. The widget name is no longer assigned to the builder object id. Instead the id is stored in a special property. Getting incorrect object id's caused all settings values to be referenced incorrectly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3135 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix an issue with column width in the audio treeviewjstebbins2009-11-231-4/+4
| | | | | | | on some displays, the columns were too wide and caused horiz scrolling git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2960 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: adjust some widget sizes to prevent window resizing at random timesjstebbins2009-11-231-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2958 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: force button images to be always enabledjstebbins2009-11-201-0/+2
| | | | | | | | A change in gnome/gtk makes button images invisible if the button has a label. This is pure idiocy, so I'm overriding it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2946 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: adjust the width of the subtitle listjstebbins2009-11-021-4/+4
| | | | | | | the narrower main window was causing it to scroll horizontally git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2911 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use a smaller font in audio settings controlsjstebbins2009-11-021-5/+5
| | | | | | | allows a small reduction in the width of the main window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2910 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make the activity window a little widerjstebbins2009-10-061-2/+4
| | | | | | | and make the label showing the location of the activity log file big/bold git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: create a queue lock file to prevent simultaneous access to the queuejstebbins2009-10-041-0/+15
| | | | | | | from 2 running instances of ghb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more preset list improvementsjstebbins2009-07-111-3/+8
| | | | | | | | - Make separate menu items for creating new folders and saving presets - Make custom preset and folder names editable git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2684 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with subtitle controls and large fontsjstebbins2009-07-021-0/+15
| | | | | | | | the controls would get the bottoms clipped if you used a large font git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2658 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: limit field width of srt filename in the subtitle listjstebbins2009-06-301-0/+1
| | | | | | | to prevent horizontal scrolling of the list git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2649 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: SRT supportjstebbins2009-06-301-5/+15
| | | | | | | | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@2648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: modify behavior of system tray iconjstebbins2009-06-261-5/+3
| | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@2624 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make mingw gtk ui work again.jstebbins2009-06-241-0/+1
| | | | | | | neglect caused it become broken git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2610 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add audio-dub/add-subtitle radio buttons for preferred language controljstebbins2009-06-221-2/+4
| | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@2600 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make status icon code backwards compatible to gtk 2.10jstebbins2009-06-201-0/+11
| | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@2589 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: jstebbins2009-06-191-0/+1
| | | | | | | | | | - clear the dvd volume name cache when rescanning the attached dvd devices. - also protect the cache with a mutex to prevent the unlikely-but-possible collision between threads. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2579 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Put DVD volume name scanning on it's own thread.jstebbins2009-06-191-1/+1
| | | | | | | | | | At startup, I scan all dvd devices for their volume names. Usually this information is cached by the filesystem so this is fast. But every once in a while this takes several seconds which delays the initial display of the UI. This activity is now on it's own thread to prevent the delay. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2578 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make the status icon in the system tray a bit more usefuljstebbins2009-06-171-0/+9
| | | | | | | | | | | Succumbing to the pleading of users... - Use HB icon for status - Add tooltip to status icon that shows progress - Add preference option to skip the taskbar. So clikcing on the status icon un-minimizes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2565 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add preference for update check frequencyjstebbins2009-06-171-4/+1
| | | | | | | | Options are Never, Daily, Weekly, and Monthly. Default is Weekly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2561 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: replace drc hscale with scalebuttonjstebbins2009-06-081-0/+1
| | | | | | | | | scale button pops up a scale when needed, so is more compact. audio settings now all fit in one row. this opens the possibility of making the audio tab behave more like the mac ui's git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2503 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: when preview window is really small, the hud can be wider thanjstebbins2009-06-051-1/+1
| | | | | | | the image. center the image when this is the case. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2490 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make default width of subtitle track colum wider so that itjstebbins2009-06-031-0/+2
| | | | | | | doesn't need to readjust it's size when a longer subtitle is added git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2478 b64f7644-9d1e-0410-96f1-a4d463321fa5
* softsubs:jstebbins2009-06-031-23/+11
| | | | | | | | | | | | | | - add ability to have 1 source subtitle feed many output subtitles use hb_subtitle_add() to add output tracks. example use case: you want forced subtitles from a source track on one output track and the entire subtitle stream from the same source track on a second output track - LinGui: make subtitle tab resemble functionality of the audio tab any track can be added multiple times with different settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2476 b64f7644-9d1e-0410-96f1-a4d463321fa5
* softsubtitles:jstebbins2009-06-021-5/+14
| | | | | | | | | | | | | | | | | | - when doing an indepth scan, do not scan CC tracks - separate subtitle configureation attributes into separate hb_subtitle_config_t. Add an instance of this to hb_job_t for setting the attributes of the subtitle found through an indepth scan - Add a default_track flag to hb_subtitle_config_t that tells the muxer that the track should be flaged as the default. muxmkv uses this. - When an indepth scan is complete, check to see if the autoselected subtitle matchces (by id) one of the manually selected subtitles. If a match is found, the autoselected subtitle with all the attributes the user assigned to it replaces the manually selected subtitle. - LinGui: Add "Default" column to subtitle tab. This is a radio that lets the user choose which subtitle should be displayed by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2468 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: automatically update the built-in presets when the hb build number ↵jstebbins2009-05-261-1/+1
| | | | | | changes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2453 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-221-0/+4
| | | | | | reload subtitles properly when a queue item is edited git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2438 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-211-11/+15
| | | | | | | add 'enable' checkbox to subtitle list and show all subtitles in the list after scanning. Thanks eddyg for the suggestions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2434 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-201-1/+6
| | | | | | | - Move the subtitle track combo into the treeview list Each subtitle entry has its own combo to select the track now git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2433 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: give feedback indicating problems with subtitle selectionsjstebbins2009-05-201-6/+8
| | | | | | | | | - highlight subtitles that can not be encoded for some reason example: user adds several subtitles, then changes container from mkv to mp4 - validate subtitle list when adding to queue and show warning popup when there's a problem git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2432 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mkv soft subtitle supportjstebbins2009-05-191-1/+63
| | | | | | | | | | | | | - new libmkv 0.6.4 with subtitle track support - muxmkv supports vobsub and closed caption subtitles - added subtitle format, source, and dest initialization to dvdnav - moved subtitle_force flag into hb_subtitle_t struct as it needs to be settable per subtitle - gtk ui added subtitle tab which allows selection of multiple subtitles - reorgainize subtitle sync code to prevent dropping of subtitles when multiple subtitles are enabled git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2428 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: jstebbins2009-05-021-1/+5
| | | | | | | | | | | poll for dvd volume labels after the ui is fully displayed truncate leading and trailing spaces in volume labels sanitize volume label after making a copy instead of stepping on dvdreads private copy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2370 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-04-171-3/+0
| | | | | | | | | - add volume label to dvd source shortcuts in the file menu - move loose crop option from preferences to picture settings - add label to show cropped dimensions to picture settings git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2337 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: merge gtk mingw cross compiling supportjstebbins2009-04-161-27/+69
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2332 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: first cut at anamorphic picture settings enhancementsjstebbins2009-04-131-0/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2325 b64f7644-9d1e-0410-96f1-a4d463321fa5