summaryrefslogtreecommitdiffstats
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: change page increment of preview frame sliderjstebbins2011-06-271-1/+1
| | | | | | | make page the same as step. it's not realy useful to "page" this slider. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4080 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix initial enabled state of audio options after scanjstebbins2011-06-271-0/+1
| | | | | | | | audios that are disabled were not getting grayed out in the audio options list till the track or encoder selection changed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4079 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with enabling dts and dts-hd passthru in audio optionsjstebbins2011-06-271-4/+4
| | | | | | | | | | | audio_config.in.codec in these cases is HB_ACODEC_DTS* | HB_ACODEC_FF_I_FLAG. I was not masking off the FF_I_FLAG when checking the input codec. Note, that this problem goes away in the RB patch that cleans up ffmpeg hacks, the FF_I_FLAG being one such hack. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4078 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix appindicator warning message in log at startupjstebbins2011-06-221-8/+11
| | | | | | | | | A signal that causes an indicator update happens before the indicator has been created, triggering a warning. so check that the indicator exists first. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4075 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix scaling problem with preview windowjstebbins2011-06-221-1/+1
| | | | | | | | ... when the screen is smaller than the preview. If the width fit but the height didn't, it computed incorrect size and displayed with wrong aspect. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4074 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: when appindicator is found, disable gtkstatusiconjstebbins2011-06-212-26/+34
| | | | | | | | | 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-205-0/+97
| | | | | | | | | 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
* Add DTS-HD passthru \o/jstebbins2011-06-142-8/+18
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4055 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix another problem with setting proper mixdownjstebbins2011-06-121-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4051 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: oops, part of another patch went with last commitjstebbins2011-06-121-6/+0
| | | | | | | revert broken bits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4044 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with mixdown optionsjstebbins2011-06-123-11/+22
| | | | | | | | incorrect mixdown options were disabled when the "Choose for me" encoder option was selected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4043 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix parameters to value-changed callback for gain and drcjstebbins2011-06-111-2/+2
| | | | | | | stupid cut-and-paste error. caused crashes on some systems. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4039 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Refresh "Normal" presetjstebbins2011-06-091-33/+29
| | | | | | | | | | - Changes "Normal" to use x264 --preset veryfast --profile main Nearly doubles it's speed for little loss of file size or quality. - remove dummy average bitrate values from all built-in presets - adds Large File Size to the High Profile preset git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4035 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: move advanced audio from a dialog popup to an expander boxjstebbins2011-06-081-249/+235
| | | | | | | | The expander fits on the audio tab and expands the advanced controls when activated. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4032 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add ffaac encode supportjstebbins2011-06-081-0/+10
| | | | | | | | Adds "AAC (ffmpeg)" option to lingui and macui, "ffaac" option to cli. Does not yet remove faac. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4031 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add support for naming audio tracks.jstebbins2011-06-034-15/+71
| | | | | | | | Also fix hb_audio_add. It was not copying the audio name. And fix audio track name parsing in the CLI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4020 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix preview encode progress display when # previews > 10jstebbins2011-06-031-1/+1
| | | | | | | | | flags array indicating that the preview had already been encoded for live playback was limited to 10. Forgot to change it when we started allowing more previews. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4018 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix spelling errorjstebbins2011-04-261-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3959 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Simplify some code in the hud compositorjstebbins2011-04-211-20/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3948 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a potential crash when hud is destroyed jstebbins2011-04-191-2/+6
| | | | | | | link list could be modified while being traversed in the "forall" method. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3940 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remember user window size changesjstebbins2011-04-194-4/+39
| | | | | | | | 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: fix a problem with display of audio gain value.jstebbins2011-04-172-3/+5
| | | | | | | Was not updating properly, showed -1 and -0 when should have been 0. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3936 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix PAR overflow issues.jstebbins2011-04-162-6/+26
| | | | | | | PAR values were saturating the max values allowed in PAR widget controls. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3932 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix incorrect list element free in custom hud widgetjstebbins2011-04-151-2/+4
| | | | | | | was freeing the widget instead of the structure that contains the widget. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3927 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: fix a couple layout issuesjstebbins2011-04-051-3/+4
| | | | | | | | Source title display was truncated. Notbook widget was changing sizes when changing video encoders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3905 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix build error on mingwjstebbins2011-04-051-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3904 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add audio gain adjustment and create advanced audio dialog.jstebbins2011-04-058-131/+338
| | | | | | | | | 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
* Fix garbled previews from BD h.264 sourcesjstebbins2011-04-022-2/+2
| | | | | | | | | | | Forome reason, frames that are tagged as recovery points in many BD h.264 streams do not result in complete frames when decoded. Pushing 2 extra frames through the decoder seems to always fix this. This patch extends something I was already doing when generating previews from a BD structure. This just applies the same logic to ffmpeg streams that have h.264 video. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3895 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix type in tooltipjstebbins2011-03-271-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3884 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix building on ubuntu 10.04jstebbins2011-03-241-0/+2
| | | | | | | A couple gtk functions were deprecated at a different version than I thought. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3878 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: backwards compatibility fixjstebbins2011-03-231-1/+12
| | | | | | | gtk versions prior to 2.22 don't have gtk_widget_set/get_realized() func git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3876 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: a few more random deprecated functions and macros removedjstebbins2011-03-235-71/+52
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3875 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove some deprecated widget propertiesjstebbins2011-03-231-7/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix incorrect base class in ghbcompositorjstebbins2011-03-231-2/+2
| | | | | | | "Works" with gtk2, but causes error in gtk3 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3873 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: don't use private gtk_marshal_* functionsjstebbins2011-03-226-23/+22
| | | | | | | They are not exported in gtk+-3, so create our own marshalers git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix backward compatibility issuejstebbins2011-03-2215-16/+34
| | | | | | | 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: another improper access to gtk member variablesjstebbins2011-03-221-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3870 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: clean up more accesses to private gtk member variablesjstebbins2011-03-221-23/+46
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use g_object_set to set widget propertiesjstebbins2011-03-221-3/+3
| | | | | | | | instead of directly setting the member variables. The member variables dissepear into priv data in gtk+-3.0. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3868 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix printf with too many parametersjstebbins2011-03-221-2/+1
| | | | | | | cut/paste error git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3867 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove use of deprecated GTK_WIDGET_VISIBLE macrojstebbins2011-03-222-10/+13
| | | | | | | Replace with gtk_widget_get_visible() git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3866 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove use of depricated GDK_DRAWABLE_XIDjstebbins2011-03-222-2/+2
| | | | | | | Replace with GDK_WINDOW_XID git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3865 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove use of private member "window" of GtkWidgetjstebbins2011-03-223-18/+22
| | | | | | | It doesn't exist in gtk+-3.0. Use gtk_widget_get_window() instead. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3864 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
* LinGui: Remove deprecated use of GDK_* keysymsjstebbins2011-03-222-3/+3
| | | | | | | They have been changed to GDK_KEY_* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3862 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove use of deprecated GTK_WIDGET_SENSITIVE and GTK_WIDGET_HAS_FOCUSjstebbins2011-03-223-13/+13
| | | | | | | Replace with gtk_widget_is_sensitive and gtk_widget_has_focus git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3861 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove use of deprecated GTK_WIDGET_TYPE and GTK_OBJECT_TYPE macrosjstebbins2011-03-224-5/+5
| | | | | | | replace with G_OBJECT_TYPE git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3860 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove use of deprecated gdk_draw_pixbufjstebbins2011-03-221-6/+12
| | | | | | | Use gdk_ciaro_set_source_bixbuf and ciaro_paint instead git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3859 b64f7644-9d1e-0410-96f1-a4d463321fa5