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

Function queue_update_current_stats

gtk/src/queuehandler.c:816–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

814}
815
816static void
817queue_update_current_stats (signal_user_data_t * ud)
818{
819 GtkListBox * lb;
820 GtkListBoxRow * row;
821 gint index;
822 GhbValue * queueDict;
823
824 lb = GTK_LIST_BOX(ghb_builder_widget("queue_list"));
825 row = gtk_list_box_get_selected_row(lb);
826 if (row != NULL)
827 {
828 // There is a queue list row selected
829 index = gtk_list_box_row_get_index(row);
830 if (index < 0 || index >= ghb_array_len(ud->queue))
831 { // Should never happen
832 return;
833 }
834 queueDict = ghb_array_get(ud->queue, index);
835 queue_update_stats(queueDict, ud);
836 }
837}
838
839#define ACTIVITY_MAX_READ_SZ (1024*1024)
840static void read_log (signal_user_data_t * ud, const char * log_path)

Callers 3

queue_reset_action_cbFunction · 0.85

Calls 2

ghb_builder_widgetFunction · 0.85
queue_update_statsFunction · 0.85

Tested by

no test coverage detected