diff options
author | Justin Bull <[email protected]> | 2019-02-13 09:52:48 -0500 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-02-13 06:52:48 -0800 |
commit | d0e37ca0d75fbcef5bdf47aafe8543e262314ec5 (patch) | |
tree | e2766be1f7734793f992bf4c1dbd4ede1b97e086 /gtk/src/main.c | |
parent | 7cc7d562b6c67c875b684a48451910af37b3fda7 (diff) |
Add WebM support (#1822)
Note that since webm has no official subtitle support, only burned in subtitles can be used with this muxer at this time.
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index e82360668..dd86cf242 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -1126,6 +1126,7 @@ ghb_activate_cb(GApplication * app, signal_user_data_t * ud) SourceFilterEVO SourceFilterVOB SourceFilterMKV + SourceFilterWebM SourceFilterMP4 SourceFilterAVI SourceFilterMOV @@ -1174,6 +1175,10 @@ ghb_activate_cb(GApplication * app, signal_user_data_t * ud) gtk_file_filter_add_pattern(filter, "*.mkv"); gtk_file_filter_add_pattern(filter, "*.MKV"); gtk_file_chooser_add_filter(chooser, filter); + filter = GTK_FILE_FILTER(GHB_OBJECT(ud->builder, "SourceFilterWebM")); + gtk_file_filter_set_name(filter, "WebM"); + gtk_file_filter_add_pattern(filter, "*.webm"); + gtk_file_chooser_add_filter(chooser, filter); filter = GTK_FILE_FILTER(GHB_OBJECT(ud->builder, "SourceFilterMP4")); gtk_file_filter_set_name(filter, "MP4"); gtk_file_filter_add_pattern(filter, "*.mp4"); |