gstreamer/gst/camerabin2
Thiago Santos cfda1aafa3 wrappercamerabinsrc: stop source to do internal reconfiguration safely
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
2014-02-04 14:17:26 -03:00
..
camerabin2-src.txt
camerabingeneral.c wrappercamerabinsrc: Don't unset the video-source property on pipeline start 2013-06-10 16:16:29 +02:00
camerabingeneral.h
gstcamerabin2.c camerabin: remove unused variable 2014-02-04 14:17:26 -03:00
gstcamerabin2.h
gstplugin.c
gstviewfinderbin.c
gstviewfinderbin.h
gstwrappercamerabinsrc.c wrappercamerabinsrc: stop source to do internal reconfiguration safely 2014-02-04 14:17:26 -03:00
gstwrappercamerabinsrc.h
Makefile.am gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
PORTING