mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-09 10:59:39 +00:00
cfda1aafa3
In order to be able to change the caps on multiple capsfilters the source element needs to be stopped, otherwise it will get a few reconfigure events and might try to renegotiate while the bin is still transitioning its caps, leading to a not-negotiated failure and the image capture won't happen because the source will be unusable. The solution is to keep the source in paused while the caps are being changed in the bin, and then bring the element back to playing once it is done. Unfortunately this increases the image capture latency, but it should always work. A possible improvement to reduce the latency is to add another signal to be called before 'start-capture': 'prepare-capture'. At this step the camera source should set all caps it needs and get the source ready for doing the capture as soon as 'start-capture' is called. This can be done on a future commit |
||
---|---|---|
.. | ||
camerabin2-src.txt | ||
camerabingeneral.c | ||
camerabingeneral.h | ||
gstcamerabin2.c | ||
gstcamerabin2.h | ||
gstplugin.c | ||
gstviewfinderbin.c | ||
gstviewfinderbin.h | ||
gstwrappercamerabinsrc.c | ||
gstwrappercamerabinsrc.h | ||
Makefile.am | ||
PORTING |