mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-15 20:44:16 +00:00
camerabin2: No need to force audiosrc to null on stop_capture
Setting the audio source to null isn't needed and it could make the EOS that is still flowing be dropped if autoaudiosrc is used because its pads go flushing before the EOS gets pushed from the real source.
This commit is contained in:
parent
2da37d966d
commit
6913db30f8
1 changed files with 0 additions and 1 deletions
|
@ -258,7 +258,6 @@ gst_camera_bin_stop_capture (GstCameraBin * camerabin)
|
|||
|
||||
if (camerabin->mode == MODE_VIDEO && camerabin->audio_src) {
|
||||
gst_element_send_event (camerabin->audio_src, gst_event_new_eos ());
|
||||
gst_element_set_state (camerabin->audio_src, GST_STATE_NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue