summaryrefslogtreecommitdiff
path: root/src/shell-recorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell-recorder.c')
-rw-r--r--src/shell-recorder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell-recorder.c b/src/shell-recorder.c
index f0b3a642..494ae52b 100644
--- a/src/shell-recorder.c
+++ b/src/shell-recorder.c
@@ -1541,8 +1541,8 @@ recorder_close_pipeline (ShellRecorder *recorder)
* is written. The bus watch for the pipeline will get it and do
* final cleanup
*/
- shell_recorder_src_close (SHELL_RECORDER_SRC (recorder->current_pipeline->src));
-
+ gst_element_send_event (recorder->current_pipeline->pipeline,
+ gst_event_new_eos());
recorder->current_pipeline = NULL;
}
}