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

Function live_preview_stop

gtk/src/preview.c:363–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363static void
364live_preview_stop (void)
365{
366 GtkRange *progress;
367 signal_user_data_t *ud = ghb_ud();
368
369 if (!ud->preview->live_enabled)
370 return;
371
372 live_preview_pause(ud);
373 gtk_media_file_clear(GTK_MEDIA_FILE(ud->preview->video));
374 live_preview_set_state(PREVIEW_STATE_STOPPED);
375
376 progress = GTK_RANGE(ghb_builder_widget("live_preview_progress"));
377 gtk_range_set_value(progress, 0);
378}
379
380void
381ghb_live_reset(signal_user_data_t *ud)

Callers 3

ghb_live_resetFunction · 0.85
init_preview_imageFunction · 0.85
preview_close_request_cbFunction · 0.85

Calls 4

ghb_udFunction · 0.85
live_preview_pauseFunction · 0.85
live_preview_set_stateFunction · 0.85
ghb_builder_widgetFunction · 0.85

Tested by

no test coverage detected