| 2180 | } |
| 2181 | |
| 2182 | static gchar* |
| 2183 | get_aspect_string(gint aspect_n, gint aspect_d) |
| 2184 | { |
| 2185 | gchar *aspect; |
| 2186 | |
| 2187 | if (aspect_d < 10) |
| 2188 | { |
| 2189 | aspect = g_strdup_printf("%d:%d", aspect_n, aspect_d); |
| 2190 | } |
| 2191 | else |
| 2192 | { |
| 2193 | gdouble aspect_nf = (gdouble)aspect_n / aspect_d; |
| 2194 | aspect = g_strdup_printf("%.2f:1", aspect_nf); |
| 2195 | } |
| 2196 | return aspect; |
| 2197 | } |
| 2198 | |
| 2199 | void |
| 2200 | ghb_update_title_info(signal_user_data_t *ud) |
no outgoing calls
no test coverage detected