summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: add chapter start time to chapter tab displayjstebbins2013-11-271-3/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5906 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: mark more strings as translation candidatesjstebbins2013-08-011-14/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5678 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb/common: improve fallback mechanism.Rodeo2013-06-031-0/+2
| | | | | | | | | | | | | | | | | | | | API changes: - added hb_global_init(), must be called before any other libhb function - removed (somewhat pointless) hb_mixdown_t.internal_name - some hb_*_get_from_name() functions now return 0 instead of -1. Instead of hardcoded fallbacks, list items now have a specific fallback, and a generic ID for when the specific fallback is unavailable. Encoder availability is checked at runtime (hb_global_init calling hb_common_global_init) and the item's value/fallback is sanity-checked and updated if necessary. See https://reviews.handbrake.fr/r/506/ for more detailed information. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5547 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve scan progress granularityjstebbins2013-03-011-1/+1
| | | | | | | | We were only updating progress after completely processing each title. Now progress is updated as we generate previews as well. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5276 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add tooltips for subtitle optionsjstebbins2013-02-021-0/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5233 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix compatibility with GTK versions < 2.32jstebbins2013-01-151-4/+11
| | | | | | | | Ubuntu 11.04 and 11.10 use this and I'm not quite ready to drop support for these. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5172 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add GTK+-3 supportjstebbins2013-01-131-91/+230
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5170 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Update copyright datesjstebbins2012-12-301-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5117 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: convert tabs to spacesjstebbins2012-12-271-746/+746
| | | | | | | Makes lingui source conform to hb standard for indentation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5112 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add x264 preset/tune/profile/level supportjstebbins2012-12-271-0/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5110 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a bunch of compiler warningsjstebbins2012-05-261-2/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4701 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: replace references to "Rip" with encode or transcodejstebbins2011-11-141-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4349 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use monospace font for activity windowjstebbins2011-09-271-0/+6
| | | | | | makes text align as better and improves readability. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4258 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remember filter setting in source selection dialogjstebbins2011-09-231-0/+7
| | | | | | | | | I was resetting it every time the dialog is opened which is annoying if you are trying to open a collection of a single file type (e.g. TS files). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4241 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add source type filter to source dialogjstebbins2011-09-191-0/+96
| | | | | | | Lets you filter down the list to just the files you are interested in seeing. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4234 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: when appindicator is found, disable gtkstatusiconjstebbins2011-06-211-13/+18
| | | | | | | | | libappindicator has a fallback mode that creates a gtkstatusicon automatically if the indicator service can not be contacted. so I should only enable one or the other, not both. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4073 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a couple compiler warningsjstebbins2011-06-211-2/+2
| | | | | | | missed some necessary casts when adding AppIndicator support git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4072 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add status tray icon support for Ubuntu 11.04jstebbins2011-06-201-0/+20
| | | | | | | | | Ubuntu disables GtkStatusIcon support in Unity and instead uses a new API called AppIndicator. So this adds support for appindicator when it is detected by configure. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4067 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remember user window size changesjstebbins2011-04-191-2/+6
| | | | | | | | window size gets stored in prefs when changed and restored whenever ghb starts. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3939 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove old unnecessary gtk bug workaround.jstebbins2011-04-151-7/+0
| | | | | | | They seem to have fixed the problem now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3925 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add audio gain adjustment and create advanced audio dialog.jstebbins2011-04-051-3/+8
| | | | | | | | | Gain, DRC, and Sample Rate are now in an advanced audio dialog. This makes the audio tab less crowded and makes room for future improvements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3903 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix backward compatibility issuejstebbins2011-03-221-1/+1
| | | | | | | Versions of gdk on Ubuntu 9.10 and 10.04 do not have GDK_KEY_* macros git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3871 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: No need to call gtk_set_localejstebbins2011-03-221-1/+0
| | | | | | | | gtk_init does it for us. And since gtk_set_locale is being removed from gtk+-3.0, might as well remove the call. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3863 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add parameter parsing and b-frame support to ffmpeg mpeg-4 encoderjstebbins2011-03-111-0/+9
| | | | | | | | | | | | | The cli will now accept ':' separated parameters using the '-x' option for ffmpeg mpeg-4. The linux gui has an entry box on the advanced tab to add options. The option keys and values are the same as what the ffmpeg command line allows. Calculation of DTS timestamps was added to encavcodec.c in order to allow out of order b-frames. The algorithm is similar to what x264 uses. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3839 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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