Returns TRUE if the preview video is loaded. */
| 131 | |
| 132 | /* Returns TRUE if the preview video is loaded. */ |
| 133 | static gboolean |
| 134 | live_preview_is_ready (void) |
| 135 | { |
| 136 | int state = live_preview_get_state(); |
| 137 | return (state == PREVIEW_STATE_PLAYING || state == PREVIEW_STATE_PAUSED); |
| 138 | } |
| 139 | |
| 140 | static void |
| 141 | live_preview_set_state (int state) |
no test coverage detected