MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / ghb_show_container_options

Function ghb_show_container_options

gtk/src/callbacks.c:1196–1215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1194}
1195
1196void ghb_show_container_options(signal_user_data_t *ud)
1197{
1198 GtkWidget *w1, *w2, *w3;
1199 w1 = ghb_builder_widget("AlignAVStart");
1200 w2 = ghb_builder_widget("Optimize");
1201 w3 = ghb_builder_widget("Mp4iPodCompatible");
1202
1203 const char *mux_id;
1204 const hb_container_t *mux;
1205
1206 mux_id = ghb_dict_get_string(ud->settings, "FileFormat");
1207 mux = ghb_lookup_container_by_name(mux_id);
1208
1209 gint enc = ghb_settings_video_encoder_codec(ud->settings, "VideoEncoder");
1210
1211 gtk_widget_set_visible(w1, (mux->format & HB_MUX_MASK_MP4));
1212 gtk_widget_set_visible(w2, (mux->format & HB_MUX_MASK_MP4));
1213 gtk_widget_set_visible(w3, (mux->format & HB_MUX_MASK_MP4) &&
1214 (enc == HB_VCODEC_X264_8BIT));
1215}
1216
1217static void
1218adjustment_configure(

Callers 3

vcodec_changed_cbFunction · 0.85
ghb_load_post_settingsFunction · 0.85
container_changed_cbFunction · 0.85

Calls 4

ghb_builder_widgetFunction · 0.85
ghb_dict_get_stringFunction · 0.85

Tested by

no test coverage detected