camerabin2: Send serialized custom events for filename changes in image sink
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 22 Jun 2011 19:27:00 +0000 (16:27 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 23 Jun 2011 03:05:13 +0000 (00:05 -0300)
commitf31554bc4f8d0451778680fa4dfd432a95100b35
tree5b6908a7ad0ccbc6236207c3ab94a6c654120440
parenta33eae1a659ea8eb2c104a63c45c7c2e81243f9d
camerabin2: Send serialized custom events for filename changes in image sink

Using serialized custom events for switching image capture saving
location makes camerabin2 save each capture correctly to the location
that was set during the moment start-capture was called, and not
the moment the filesink was writing to disk.

This prevents captures to be overwriten by racyness among start-capture
and setting location for images.
gst/camerabin2/gstcamerabin2.c
gst/camerabin2/gstcamerabin2.h