| 1194 | } |
| 1195 | |
| 1196 | void 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 | |
| 1217 | static void |
| 1218 | adjustment_configure( |
no test coverage detected