Add support for short movies

Short movies can now be recorded (~30 seconds, depending on disk
space), with audio. New button is added, for that, depending on state
it shows "Rec" (you can record), "Stop" (you are recording) and "Busy"
(movie is being converted).
This commit is contained in:
Pavel Machek
2024-04-26 23:14:43 +02:00
committed by Martijn Braam
parent fcba2b33c2
commit 1c9202c4cf
4 changed files with 200 additions and 31 deletions

View File

@@ -38,7 +38,7 @@ struct mp_process_pipeline_state {
bool control_focus;
};
bool mp_process_find_processor(char *script);
bool mp_process_find_processor(char *script, char *filename);
void mp_process_find_all_processors(GtkListStore *store);
void mp_process_pipeline_start();
@@ -51,6 +51,9 @@ void mp_process_pipeline_process_image(MPBuffer buffer);
void mp_process_pipeline_capture();
void mp_process_pipeline_update_state(const mp_state_proc *new_state);
void on_movie_start(void);
void on_movie_stop(void);
typedef struct _MPProcessPipelineBuffer MPProcessPipelineBuffer;
void mp_process_pipeline_buffer_ref(MPProcessPipelineBuffer *buf);