summaryrefslogtreecommitdiffstats
path: root/gst/camerabin/gstcamerabin.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-31camerabin: Set camerasrc to READY state instead of PAUSED when acquiring ↵Tommi Myöhänen1-9/+6
allowed caps
2009-07-28camerabin: do not put video pipeline into READY when start recording ↵Tommi Myöhänen1-3/+1
camerabin: remember probe IDs and disconnect them when destroying pipelines
2009-07-21camerabin: small speedup in software zoomStefan Kost1-0/+4
Force crop on even pixel position to avoid slowpath in crop & scale.
2009-07-17camerabin: use gst_caps_replace instead of separate callsStefan Kost1-10/+4
This fixes setting snapshot caps back to NULL also.
2009-07-15camerabin: leave image/video bin in ready when changing modeStefan Kost1-1/+1
2009-06-26camerabin: code cleanupsStefan Kost1-14/+10
Downgrade a WARNING to INFO. Use a bit more compact code. Add a fixme comment.
2009-06-26camerabin: just ref caps, we don't need a writable copyStefan Kost1-1/+3
2009-06-26camerabin: no need to ref and unref this temporarilyStefan Kost1-2/+3
2009-06-26camerabin: don't leak sink_caps if they would be any-capsStefan Kost1-22/+24
2009-06-26camerabin: don't leak preview imagesStefan Kost1-0/+1
2009-06-26camerabin: don't leak viewfinder-capsStefan Kost1-0/+2
2009-06-25camerabin: don't leak requestpadsStefan Kost1-0/+5
Requestpads need to be released and unreffed. Add a comment in one case where we intentionaly don't unref.
2009-06-24camerabin: buffer-alloc support fixes to image and video bin handlingLasse Laukkanen1-45/+29
Keep image bin in PAUSED state in image mode except when processing/saving (PLAYING/READY). Change output-selector to view finder before setting video bin to READY. Fix filename sent with img-done signal.
2009-06-24camerabin: set image bin to PAUSED when starting captureLasse Laukkanen1-3/+3
Set image bin to PAUSED also when starting capture using photography interface.
2009-06-24camerabin: leave v4l2camsrc "capture-mode" as video mode when pausingLasse Laukkanen1-12/+0
2009-06-22camerabin: code cruft removal and debug logsStefan Kost1-14/+51
Remove unused code. Add lots of debug loging. Change comments for local functions to not use /** gtk-doc start style.
2009-06-14camerabin: set imagebin to PAUSED on capture and delayed filename settingStefan Kost1-1/+4
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-05camerabin: preview image sending optimizationLasse Laukkanen1-151/+399
* 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-05camerabin: unblock if error occurs during captureLasse Laukkanen1-9/+34
2009-06-05camerabin: stop ongoing capture if changing resolutionLasse Laukkanen1-0/+3
2009-06-05camerabin: don't proxy gst xoverlay interfaceLasse Laukkanen1-15/+1
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-05camerabin: allow configuring photography settings when in NULL stateLasse Laukkanen1-4/+14
Cache the photography settings if set in NULL state and apply them later
2009-06-05camerabin: crop still image capture frame if necessaryLasse Laukkanen1-6/+56
If incoming still image capture frame aspect ratio differs from aspect ratio that application requested, then apply crop to the frame.
2009-04-16camerabin: clean up and fix assertion fail when setting zoom in NULL stateLasse Laukkanen1-31/+53
2009-04-16camerabin: fix format matching when detecting allowed frame rateLasse Laukkanen1-15/+28
2009-04-16camerabin: don't lose pending state when changing resolutionLasse Laukkanen1-3/+12
2009-04-16camerabin: change img-done signal parameter from GString* to const gchar*Lasse Laukkanen1-29/+38
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-03-07camerabin: Make the tests pass when the camerabin can't initialise.Jan Schmidt1-6/+8
The camerabin tests were throwing glib errors and hanging when gst-plugins-good elements (jpegenc, videocrop) can't found.
2009-02-27camerabin: rework signaling and testsStefan Kost1-5/+6
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-25docs: various doc fixesStefan Kost1-1/+0
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-25camerabin: update signal marshaller and docsStefan Kost1-15/+9
Use GString instead of GPointer for the marshaller as this is what the callback uses. Slightly reformat docs.
2009-02-25camerabin: unblock correct pad in reset, support fakesink as view finderLasse Laukkanen1-4/+4
2009-02-23camerabin: Add aspect ratio capsfilter for view finderLasse Laukkanen1-11/+118
If dealing with larger frame sizes than view finder sink element accepts then maintain aspect ratio when scaling frames to fit.
2009-02-23camerabin: Scale incoming frames if their size does not match requested sizeLasse Laukkanen1-20/+71
If capture preparation in videosrc results in frame size different from requested size, then we need to scale them.
2009-02-22camerabin: Fix compilation on Windows with Visual StudioAndoni Morales1-4/+4
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-11camerabin: Sanitize constants used for element factory names.René Stadler1-27/+18
2009-02-11camerabin: Use v4l2src as default source.René Stadler1-7/+4
2009-02-11camerabin: Fix plugin details to use GST_PACKAGE_* values.René Stadler1-1/+1
2009-02-09Add camerabin element.Nokia Corporation1-0/+2762