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

Function framerate_changed_cb

gtk/src/videohandler.c:360–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360G_MODULE_EXPORT void
361framerate_changed_cb (GtkWidget *widget, gpointer data)
362{
363 signal_user_data_t *ud = ghb_ud();
364 ghb_widget_to_setting(ud->settings, widget);
365 ghb_update_summary_info(ud);
366
367 if (ghb_settings_video_framerate_rate(ud->settings, "VideoFramerate") != 0)
368 {
369 if (!ghb_dict_get_bool(ud->settings, "VideoFrameratePFR"))
370 {
371 ghb_ui_update("VideoFramerateCFR", ghb_boolean_value(TRUE));
372 }
373 }
374 if (ghb_settings_video_framerate_rate(ud->settings, "VideoFramerate") == 0 &&
375 ghb_dict_get_bool(ud->settings, "VideoFrameratePFR"))
376 {
377 ghb_ui_update("VideoFramerateVFR", ghb_boolean_value(TRUE));
378 }
379 ghb_clear_presets_selection(ud);
380 ghb_live_reset(ud);
381}
382
383G_MODULE_EXPORT void
384framerate_mode_changed_cb (GtkWidget *widget, gpointer data)

Callers

nothing calls this directly

Calls 9

ghb_udFunction · 0.85
ghb_widget_to_settingFunction · 0.85
ghb_update_summary_infoFunction · 0.85
ghb_dict_get_boolFunction · 0.85
ghb_ui_updateFunction · 0.85
ghb_boolean_valueFunction · 0.85
ghb_live_resetFunction · 0.85

Tested by

no test coverage detected