summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
diff options
context:
space:
mode:
authorJustin Bull <[email protected]>2019-02-13 09:52:48 -0500
committerJohn Stebbins <[email protected]>2019-02-13 06:52:48 -0800
commitd0e37ca0d75fbcef5bdf47aafe8543e262314ec5 (patch)
treee2766be1f7734793f992bf4c1dbd4ede1b97e086 /gtk/src/main.c
parent7cc7d562b6c67c875b684a48451910af37b3fda7 (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.c5
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");