| 706 | } |
| 707 | |
| 708 | static const gchar* |
| 709 | get_extension(signal_user_data_t *ud, GhbValue *settings) |
| 710 | { |
| 711 | const char *mux_id; |
| 712 | const hb_container_t *mux; |
| 713 | |
| 714 | mux_id = ghb_dict_get_string(settings, "FileFormat"); |
| 715 | mux = ghb_lookup_container_by_name(mux_id); |
| 716 | |
| 717 | if ((mux->format & HB_MUX_MASK_MP4) && |
| 718 | ghb_dict_get_bool(ud->prefs, "UseM4v")) |
| 719 | { |
| 720 | return "m4v"; |
| 721 | } |
| 722 | return mux->default_extension; |
| 723 | } |
| 724 | |
| 725 | gboolean |
| 726 | ghb_check_name_template (signal_user_data_t *ud, const char *str) |
no test coverage detected