mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
shell-recorder: send EOS to the pipeline
Send EOS to the complete pipeline instead of only to our own source. When there are multiple sources in the pipeline (for example when we also record audio), the pipeline will send the EOS to all sources in order to shut down the complete pipeline.
This commit is contained in:
parent
b057e786a4
commit
17f481f6fe
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue