Lasse Laukkanen
8a39d28002
camerabin: set image bin to PAUSED when starting capture
...
Set image bin to PAUSED also when starting capture using photography
interface.
2009-06-24 18:58:16 +03:00
Lasse Laukkanen
a265e4d2b3
camerabin: leave v4l2camsrc "capture-mode" as video mode when pausing
2009-06-24 18:58:16 +03:00
Stefan Kost
a971391906
camerabin: code cruft removal and debug logs
...
Remove unused code. Add lots of debug loging. Change comments for local
functions to not use /** gtk-doc start style.
2009-06-22 13:41:16 +03:00
Stefan Kost
80408b1de2
camerabin: set imagebin to PAUSED on capture and delayed filename setting
...
We need to set imagebin to PAUSED to not fail the bufferalloc. We also need to
keep the filesinks state locked until we have the filename for the run.
2009-06-14 10:56:30 +03:00
Lasse Laukkanen
6a47f6f594
camerabin: preview image sending optimization
...
* decouple image capturing from image post-processing and encoding
* post image-captured message after image is captured
* post preview-image message with snapshot of captured image
2009-06-05 15:51:31 +03:00
Lasse Laukkanen
430f343522
camerabin: unblock if error occurs during capture
2009-06-05 15:51:31 +03:00
Lasse Laukkanen
cbcd4e3330
camerabin: stop ongoing capture if changing resolution
2009-06-05 15:51:30 +03:00
Lasse Laukkanen
3ff7128293
camerabin: don't proxy gst xoverlay interface
...
Default view finder sink in camerabin is autovideosink which doesn't
support xoverlay iface. If application decides to use another sink
that supports xoverlay, then it can use the interface directly.
2009-06-05 15:51:30 +03:00
Lasse Laukkanen
710faaef68
camerabin: allow configuring photography settings when in NULL state
...
Cache the photography settings if set in NULL state and apply them later
2009-06-05 15:51:30 +03:00
Lasse Laukkanen
53e6e4b0d5
camerabin: crop still image capture frame if necessary
...
If incoming still image capture frame aspect ratio differs from aspect
ratio that application requested, then apply crop to the frame.
2009-06-05 15:51:30 +03:00
Lasse Laukkanen
78b208125a
camerabin: clean up and fix assertion fail when setting zoom in NULL state
2009-04-16 16:08:42 +03:00
Lasse Laukkanen
9b0fa11a5d
camerabin: fix format matching when detecting allowed frame rate
2009-04-16 16:08:41 +03:00
Lasse Laukkanen
0847a84f41
camerabin: don't lose pending state when changing resolution
2009-04-16 16:08:40 +03:00
Lasse Laukkanen
65ddcd6d5d
camerabin: change img-done signal parameter from GString* to const gchar*
...
Don't allow setting filename via img-done signal parameter but force app
use filename property. Don't stop capture when setting filename property.
Update check unit test based on the change.
2009-04-16 15:19:20 +03:00
Jan Schmidt
81a950ddf8
camerabin: Make the tests pass when the camerabin can't initialise.
...
The camerabin tests were throwing glib errors and hanging when
gst-plugins-good elements (jpegenc, videocrop) can't found.
2009-03-07 00:31:07 +00:00
Stefan Kost
fab9dfa5d0
camerabin: rework signaling and tests
...
Revert the GString change. There are no marshallers for it. A better change is
now described in http://bugzilla.gnome.org/show_bug.cgi?id=573370 .
Test should work again.
2009-02-27 12:35:14 +02:00
Stefan Kost
53f975f63c
docs: various doc fixes
...
No short-desc as we have them in the element details.
Also keep things (Makefile.am and sections.txt) sorted.
Reword ambigous returns. No text after since please.
2009-02-25 12:42:36 +02:00
Stefan Kost
518d98899e
camerabin: update signal marshaller and docs
...
Use GString instead of GPointer for the marshaller as this is what the callback uses.
Slightly reformat docs.
2009-02-25 11:41:36 +02:00
Lasse Laukkanen
c81bce2b21
camerabin: unblock correct pad in reset, support fakesink as view finder
2009-02-25 10:45:19 +02:00
Lasse Laukkanen
bde8707b65
camerabin: Add aspect ratio capsfilter for view finder
...
If dealing with larger frame sizes than view finder sink element
accepts then maintain aspect ratio when scaling frames to fit.
2009-02-23 14:20:13 +02:00
Lasse Laukkanen
24d99bbe56
camerabin: Scale incoming frames if their size does not match requested size
...
If capture preparation in videosrc results in frame size different
from requested size, then we need to scale them.
2009-02-23 14:20:12 +02:00
Andoni Morales
7992233522
camerabin: Fix compilation on Windows with Visual Studio
...
Windows doesn't have strcasecmp so we should use
g_ascii_strcasecmp here instead.
Also Windows doesn't have sys/time.h so we first
need to check if it actually exists and if not
we should not include it.
Fixes bug #572315 .
2009-02-22 18:41:08 +01:00
René Stadler
ff2d0621f7
camerabin: Sanitize constants used for element factory names.
2009-02-11 01:59:39 +02:00
René Stadler
6675318107
camerabin: Use v4l2src as default source.
2009-02-11 01:59:39 +02:00
René Stadler
d821246de6
camerabin: Fix plugin details to use GST_PACKAGE_* values.
2009-02-11 00:19:22 +02:00
Nokia Corporation
3751eaeb79
Add camerabin element.
2009-02-09 10:22:09 +02:00