summaryrefslogtreecommitdiffstats
path: root/gst/camerabin
AgeCommit message (Collapse)AuthorFilesLines
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: use nonbuffered io to save memcopiesStefan Kost2-7/+5
We write large blocks anyway, so no extra buffering please. Also use one g_object_set to set multiple properties on same object.
2009-07-15camerabin: track todo itemsStefan Kost1-0/+31
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-26camerabin: insert a few blank lines for readabilityStefan Kost1-1/+3
2009-06-26camerabin: don't leak messages and element refs in previewStefan Kost1-1/+14
2009-06-25camerabin: don't leak requestpadsStefan Kost2-0/+9
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: fix setting mute when video bin elements haven't been createdLasse Laukkanen2-12/+16
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: add local include dir to CFLAGSStefan Kost1-1/+3
2009-06-22camerabin: code cruft removal and debug logsStefan Kost5-134/+92
Remove unused code. Add lots of debug loging. Change comments for local functions to not use /** gtk-doc start style.
2009-06-16camerabin: reset filename after capture to avoid racy when capturing againStefan Kost1-0/+1
If we don't reset the filename we cannot check if we still expect the filename for a subsequent capture pass. The imagebin would good to paused and we set the filename in that state. This trigers an error-message and would capture to the old filename.
2009-06-14camerabin: set imagebin to PAUSED on capture and delayed filename settingStefan Kost2-6/+25
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: fix link orderStefan Kost1-2/+2
Move local version up in the link order.
2009-06-05camerabin: preview image sending optimizationLasse Laukkanen7-232/+723
* 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: don't lose post processing element in first resetLasse Laukkanen1-1/+0
2009-06-05camerabin: add debug including dot graph writingLasse Laukkanen3-3/+21
2009-06-05camerabin: unblock if error occurs during captureLasse Laukkanen1-9/+34
2009-06-05camerabin: ignore night mode handling if already in night modeLasse Laukkanen1-8/+12
2009-06-05camerabin: stop ongoing capture if changing resolutionLasse Laukkanen1-0/+3
2009-06-05camerabin: limit the size of video bin queue leading to view finderLasse Laukkanen1-1/+1
We don't want to show old buffers in view finder.
2009-06-05camerabin: don't proxy gst xoverlay interfaceLasse Laukkanen4-118/+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 Laukkanen3-53/+283
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 Laukkanen3-34/+40
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-22Makefile.am: no static libs for pluginsStefan Kost1-1/+1
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-03-07camerabin: Partly fix distcheckJan Schmidt1-8/+1
Don't dist the generated marshal.h header by putting it in the headers list.
2009-03-04photography: declare interface as unstable API by means of a warningTim-Philipp Müller1-1/+1
Application developers won't know right away which module an interface comes from, and may assume that it is covered by the usual GStreamer API guarantees, so make it as clear as possible that this particular API is still subject to change (should have done that with other libraries in -bad before too really).
2009-02-27camerabin: rework signaling and testsStefan Kost3-7/+8
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 Kost2-16/+10
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 Laukkanen2-11/+120
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 Morales2-4/+6
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: Add .gitignore to hide generated signal marshaller files.René Stadler1-0/+2