mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
basecamerasrc: document why we set preview to PLAYING
This commit is contained in:
parent
5aa37ebdc8
commit
2d17cd3350
1 changed files with 2 additions and 0 deletions
|
@ -476,6 +476,8 @@ gst_base_camera_src_change_state (GstElement * element,
|
|||
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
||||
if (!setup_pipeline (self))
|
||||
return GST_STATE_CHANGE_FAILURE;
|
||||
/* without this the preview pipeline will not post buffer
|
||||
* messages on the pipeline */
|
||||
gst_element_set_state (self->preview_pipeline->pipeline,
|
||||
GST_STATE_PLAYING);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue