summaryrefslogtreecommitdiffstats
path: root/gtk/src/ghb.ui
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: add a "Reset All Titles" buttonjstebbins2014-02-251-61/+61
| | | | | | | This provides a convenient way for the user to update all currently loaded titles to the current settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6085 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: UI layout changesjstebbins2014-02-251-185/+179
| | | | | | | Make some things fit a little better and make room for additional auto passthru options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6082 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some preset loading issuesjstebbins2014-02-251-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6081 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: improvements to queue windowjstebbins2014-02-221-1/+1
| | | | | | | | | Add x264 preset/tune/profile/level. LinGui has been missing this. Reformat audio and subtitle list. Don't show "Turbo" when not encoding 2 pass ABR. Don't show "Filters" line if there are no filters. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6061 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add dialog to select multiple titles to add to queuejstebbins2014-02-221-10/+214
| | | | | | | | Replaces "Add All to Queue". Dialog provides checkboxes to select titles to add to the queue and file chooser/file entry to change destination file names. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6056 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: remove a52decjstebbins2014-02-201-17/+0
| | | | | | | replace it with libavcodec ac3 decoder git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6049 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix several issues with loading presetsjstebbins2014-02-201-176/+11
| | | | | | pull on a string and the whole sweater comes apart git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6048 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework title listjstebbins2014-02-191-5/+7
| | | | | | | | | | | | | | Title list is now linked to a settings list. There is one settings dict per title. The settings list is populated when scan completes. As you change titles, the settings for that title populate the UI. Changes made are saved in the settings and restored if you go to another title and then return. This is preparation for improvements to "Add All to Queue" feature. Settings for each title can be customized before adding to the queue. All titles don't have to use the same preset or settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6046 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Audio and subtitle UI rework.jstebbins2014-02-181-1011/+1625
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds new tabs for audio and subtitle defaults (presets). "Audio" and "Subtitle" tabs renamed to "Audio List" and "Subtitle List" New Preset Keys: AudioLanguageList - array of strings List of languages that will be used to generate the output audio tracks for a job. Values: preset - UI display iso639_2 codes - native_name if not NULL, else eng_name SubtitleLanguageList - array of strings List of languages that will be used to generate the output subtitle tracks for a job. Values: preset - UI display iso639_2 codes - native_name if not NULL, else eng_name AudioTrackSelectionBehavior - string Defines how source tracks will be selected when generating the audio list for a job. Values: preset - UI display none - None first - First Matching Selected Languages all - All Matching Selected Languages SubtitleTrackSelectionBehavior - string Defines how source tracks will be selected when generating the subtitle list for a job. Values: preset - UI display none - None first - First Matching Selected Languages all - All Matching Selected Languages SubtitleAddCC - boolean Add Closed Caption track to subtitle list if available SubtitleAddForeignAudioSearch - boolean Add Foreign audio search pass to job if a default subtitle language is set (i.e. SubtitleLanguageList is not empty and first entry is not "Any") and default audio track language matches subtitle preferred language. SubtitleAddForeignAudioSubtitle - boolean Add preferred language subtitle track if the default subtitle language is set (i.e. SubtitleLanguageList is not empty and first entry is not "Any") and default audio track language does not match the preferred subtitle language. Removed Preset Keys: AudioTrack SubtitleList - I think only the LinGui had this key. Note that the remaining keys in the pre-existing AudioList are reused and map to the "Audio Encoder Settings" on the "Audio Defaults" tab. They used to map to the entries in the list on the old "Audio" tab. The old "Audio" tab is now the "Audio List" tab. Nothing in the "Audio List" tab map to preset values in the new design. The contents of this tab is strictly for use in the encode job. Ditto for "Subtitle Defaults" and "Subtitle List". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6040 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: UI layout changesjstebbins2014-01-271-25/+17
| | | | | | | Allows reduction of window height when advanced tab is hidden git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6003 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some trailing white spacejstebbins2014-01-201-6/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5987 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix more damage caused by gladejstebbins2014-01-201-114/+272
| | | | | | | | and reformat some tooltips since gtk3 seems to not do automatic wrapping of tootips. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5986 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem with un-editable GtkEntry fieldsjstebbins2014-01-181-5/+5
| | | | | | | This affected custom denoise, deinterlace, and decomb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5983 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix deprecated GtkTable, GtkHBox, GtkVBox, GtkHSeparatorjstebbins2014-01-161-1087/+1152
| | | | | | | | | | GtkTable -> GtkGrid GtkHBox -> GtkBox GtkVBox -> GtkBox GtkHSeparator -> GtkSeparator git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5981 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix formatting of icon lists in UI xmljstebbins2014-01-161-10/+10
| | | | | | | | glade screwed up the formatting which causes the icons to be incorrectly parsed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5978 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix incompatibility with older versions of gtkjstebbins2014-01-151-36/+0
| | | | | | | glade added some unnecessary objects git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5977 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix deprecation of GtkAction and GtkUIManagerjstebbins2014-01-151-3531/+4516
| | | | | | | Farely large change since these were the old way of creating menus :-\ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5974 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix deprecated GtkHScalejstebbins2014-01-141-8/+16
| | | | | | | | Fixing this deprecation makes the LinGui incompatible with versions of gtk prior to 2.16. Too bad for you if you are using such and ancient gtk. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5970 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: mark more strings as translatablejstebbins2013-07-261-10/+10
| | | | | | | Thanks to Уважением Виктор git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5670 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: add experimental avformat muxer for mkv and mp4jstebbins2013-06-301-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5620 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: increase max number of static previews to 60jstebbins2013-02-201-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5261 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: increase max live preview duration to 240 secondsjstebbins2013-02-201-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5260 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add tooltips for subtitle optionsjstebbins2013-02-021-0/+58
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5233 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix crash caused by bug in newer versions of gtk2jstebbins2013-02-011-13/+1
| | | | | | | | | GtkCombobBoxText is not initialized correctly by gtk2. Reading out it's current value fails and returns NULL. So explicitely initialize the text column value and guard against future bugs by checking return value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5231 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove unnecessary GtkFramejstebbins2013-01-291-18/+11
| | | | | | | It was being rendered incorrectly in gtk2 anyway :-\ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5223 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add GTK+-3 supportjstebbins2013-01-131-3424/+3486
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5170 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Update copyright datesjstebbins2012-12-301-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5117 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: convert tabs to spacesjstebbins2012-12-271-725/+725
| | | | | | | 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-398/+713
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5110 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve management of titles and jobsjstebbins2012-11-121-0/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleans up several several unavoidable memory leaks caused by old api. Clearly separates titles from jobs. Titles are set during scan and never modified now. Since titles are immutable, this lead to API some changes. For example, We were setting chapter names in the title from the front ends. Now these get set in the job. These new APIs allow us to start moving away from our use of title->job. Eventually, I would like to eliminate title->job completely, but the mac ui is too tightly tied to using this field to allow removing it at this time. So there is temporarily a convenience function used only by the mac ui that allows it to continue using title->job and also use the new APIs. New APIs: typedef struct hb_title_set_s hb_title_set_t; struct hb_title_set_s { hb_list_t * list_title; int feature; // Detected DVD feature title }; hb_title_set_t * hb_get_title_set( hb_handle_t * ); This is just something I added to clean up how "feature title" info is passed. hb_job_t * hb_job_init( hb_title_t * title ); Initializes a new job with default settings from the title. hb_job_t * hb_job_init_by_index( hb_handle_t *h, int title_index ); Same as hb_job_init(). For use by win Interop lib. void hb_job_reset( hb_job_t * job ); Convenience function for the MacUi. Clears audio, subtitle, and filter lists. The macui still uses title->job because it is so intricately tied to it. So I created this convenience function that it can call after adding a job. void hb_job_close( hb_job_t ** job ); Releases the job an all resources it contains. void hb_job_set_advanced_opts( hb_job_t *job, const char *advanced_opts ); Makes a copy of "advanced_opts" and stores in job. Freed by hb_job_close(). void hb_job_set_file( hb_job_t *job, const char *file ); Makes a copy of "file" and stores in job. Freed by hb_job_close(). void hb_chapter_set_title(hb_chapter_t *chapter, const char *title); Makes a copy of "title" and stores in chapter. Freed by hb_chapter_close(). Recommended usage (cli and lingui are updated to do this): job = hb_job_init( title ); // set job settings ... hb_add(h, job); hb_job_close( &job ); I have also added new APIs for managing metadata. These are used to add metadata to a job. void hb_metadata_set_name( hb_metadata_t *metadata, const char *name ); void hb_metadata_set_artist( hb_metadata_t *metadata, const char *artist ); void hb_metadata_set_composer( hb_metadata_t *metadata, const char *composer ); void hb_metadata_set_release_date( hb_metadata_t *metadata, const char *release_date ); void hb_metadata_set_comment( hb_metadata_t *metadata, const char *comment ); void hb_metadata_set_genre( hb_metadata_t *metadata, const char *genre ); void hb_metadata_set_album( hb_metadata_t *metadata, const char *album ); void hb_metadata_set_coverart( hb_metadata_t *metadata, const uint8_t *coverart, int size ); Example: job = hb_job_init( &job ); // set job settings ... hb_metadata_set_artist( job->metadata, "Danny Elfman" ); hb_add(h, job); hb_job_close( &job ); Some APIs have changed in order to avoid using title incorrectly and use the new hb_title_set_t. -void hb_autopassthru_apply_settings( hb_job_t * job, hb_title_t * title ); +void hb_autopassthru_apply_settings( hb_job_t * job ); -void hb_get_preview( hb_handle_t *, hb_title_t *, int, uint8_t * ); +void hb_get_preview( hb_handle_t *, hb_job_t *, int, uint8_t * ); hb_thread_t * hb_scan_init( hb_handle_t *, volatile int * die, const char * path, int title_index, - hb_list_t * list_title, int preview_count, + hb_title_set_t * title_set, int preview_count, int store_previews, uint64_t min_duration ); These APIs have been removed. Win Interop will need some changes. I think what I've provided will be suffecient, but let me know if it's not. -void hb_get_preview_by_index( hb_handle_t *, int, int, uint8_t * ); -void hb_set_anamorphic_size_by_index( hb_handle_t *, int, - int *output_width, int *output_height, - int *output_par_width, int *output_par_height ); git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5058 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update iconsjstebbins2012-11-111-6/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5054 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Lingui: make hb icon more visible on Summary tab.jstebbins2012-09-281-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4992 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Lingui: update hb icon. Fix icon in notification bubble on fedora.jstebbins2012-09-271-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4991 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix audio gain and quality icon display.jstebbins2012-02-211-10/+10
| | | | | | | Accidentally broke when adding tabs to make things "prettier" :-\ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4460 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Oops, disabled more widgets than I meant tojstebbins2012-01-141-359/+384
| | | | | | Only disable the auto-passthru widgets, not gain, quality, drc, ... git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4411 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add preference to enabled auto passthru optionsjstebbins2012-01-141-3/+28
| | | | | | | | The advanced auto passthru options are probably overkill for 90% of people. So simplify the UI by hiding them unless the user explicitly asks for them in preferences. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4410 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: experimental support for batch queuingjstebbins2011-10-161-1/+11
| | | | | | | | | This allows all titles in the title popup to be added to the queue in one go. It uses the current *preset* for the settings. I.e. settings changes in the UI are ignored. This deficiency will be rectified at a future time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4294 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add flac + quality + compression level supportjstebbins2011-10-121-159/+340
| | | | | | | | | Adds flac audio to cli, lingui, and macgui Adds quality and compression level options to cli Adds quality option to lingui Quality option works for vorbis and lame git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4281 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change window type hint for popup windowsjstebbins2011-10-071-3/+4
| | | | | | | Fedora 16 does not put a close button on windows that have the dialog hint. So change the hint to 'utility'. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4269 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add source type filter to source dialogjstebbins2011-09-191-0/+26
| | | | | | | 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: Show video codec name in summary tabjstebbins2011-09-011-10/+39
| | | | | | | | | | I found myself wanting to know what the source video codec was when I discovered that several of my VC-1 trancodes were crap. So this adds the video codec name to the summary information I display on the summary tab. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4197 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui / LinGui: Add subme 11 to both ui's now that x264 has it. This way ↵dynaflash2011-08-031-1/+3
| | | | | | ... we "can go to 11..." git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4153 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add more audio passthru optionsjstebbins2011-08-011-4/+140
| | | | | | | | | | | | | | | | | adds aac and mp3 passthru for mp4 and mkv containers adds dts and dtshd for mp4 container (mkv already had it) Note: The only player known (to me) to support dts(hd) in mp4 is ff/avplay In LinGui there is a new option to limit which passthru codecs will be used by the "Auto Passthru" audio codec options. The CLI already has this ability with "--audio_copy-mask" which is use in conjunction with the "copy" audio codec option. Also corrects some A/V sync issues when video frames are dropped due to a gap detected in the audio. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4149 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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: Add status tray icon support for Ubuntu 11.04jstebbins2011-06-201-0/+13
| | | | | | | | | 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: 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
* LinGui: Add support for naming audio tracks.jstebbins2011-06-031-14/+49
| | | | | | | | 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 spelling errorjstebbins2011-04-261-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3959 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remember user window size changesjstebbins2011-04-191-2/+3
| | | | | | | | 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-171-1/+1
| | | | | | | 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