summaryrefslogtreecommitdiff
path: root/gst/camerabin
Commit message (Collapse)AuthorAgeFilesLines
* various (gst): add missing G_PARAM_STATIC_STRINGS flagsStefan Kost2010-10-192-2/+4
| | | | Canonicalize property names as needed.
* camerabin: Remove unused entryThiago Santos2010-10-141-1/+0
| | | | Remove camerabin unused enum entry
* camerabin: Do not wrongly fail when starting a captureThiago Santos2010-09-291-3/+5
| | | | | | | | | | If the elements are in NULL/READY and changing state to PAUSED/PLAYING while a capture is started camerabin might not set the active_bin properly causing the capture start to fail. This patch fixes it by checking the current and pending state of the branches instead of only the current one
* photography: extend photography ifaceHu Gang2010-09-281-0/+1
| | | | | Add more color tone modes and add NoseReduction settings. Fixes #616814.
* camerabin: Adds new video-colorspace-flag to flagsThiago Santos2010-09-223-2/+16
| | | | | | | Adds a new flag to allow a colorspace convertion before the video encoder element. Fixes #603063
* camerabin: Use link_full version for disabling hierarchy checkThiago Santos2010-09-224-10/+20
| | | | | | Disable hierarchy checks when linking because we are already handling the element adding to bins and it should be done correctly.
* camerabin: Set queues to silentThiago Santos2010-09-222-1/+5
| | | | | We currently don't use queues' signals, so set them to silent.
* camerabin: Mention photography interface in docsThiago Santos2010-09-201-0/+5
| | | | | | | Add a note to docs about getting the videosource and accessing its photography interface (in case it has it) Fixes #616923
* camerabin: Adds missing variable initializationLasse Laukkanen2010-09-201-0/+1
| | | | Adds missing app_src_vid initialization
* camerabin: check state change to playing for imagebin and videobinTeemu Katajisto2010-09-201-6/+26
| | | | | Properly check and handle error cases related to imagebin and videobin state changes.
* camerabin: Remove useless src template padThiago Santos2010-09-201-7/+0
| | | | camerabin imagebin doesn't need a src template pad.
* camerabin: Forward tag events to preview pipelineThiago Santos2010-09-203-38/+88
| | | | | Forward tag events from image pipeline to preview pipeline so that preview elements can use capture tags information
* camerabin: add "preview-source-filter" propertyHoseok Chang2010-09-205-7/+98
| | | | | Adds 'preview-source-filter' for adding an element to proccess the preview images before posting them to the bus.
* camerabin: Make block-after-capture resetting more consistentThiago Santos2010-09-202-11/+48
| | | | | | | Adds another boolean to help controlling viewfinder blocking, making it possible for the applications to reset the viewfinder blocking after capture was started but before the blocking actually happens.
* camerabin: Unblock the viewfinder when going to READYThiago Santos2010-09-201-0/+5
| | | | | | Unblock the viewfinder when going to ready to avoid blocking when setting camerabin to playing again and attemping to capture. Keep the property as is.
* camerabin: add monitoring and support for photoiface zoom for video-sourceThiago Santos2010-09-201-16/+37
| | | | Makes camerabin aware of changes in its videosource zoom property.
* camerabin: Change zoom property from int to floatThiago Santos2010-09-202-20/+32
| | | | | Updates zoom property for a more natural type and makes it consistent with the photography API
* camerabin: remove caching photography interface settingsLasse Laukkanen2010-09-202-13/+0
| | | | | Camerabin doesn't implement photography interface, so we don't need caching the video source properties anymore.
* camerabin: remove photography interface implementation from camerabinTeemu Katajisto2010-09-204-929/+55
| | | | | | | | | Remove notify signal proxy for video-source. Application can use video-source directly from now on to get notified of property changes. Add monitoring scene-mode property change to select lowest possible framerate for video capture when night mode is selected. Fixes #616923
* camerabin: Set tags to more elementsThiago Santos2010-09-101-9/+3
| | | | | | Remove check for 'Muxer' category when setting tags for tagsetters. Set them to all tagsetters in the pipelines.
* camerabin: Use jifmux instead of metadatamuxThiago Santos2010-09-052-4/+1
| | | | Use jifmux element to write exif/xmp tags instead of metadatamux
* camerabin: Use new tags from -baseThiago Santos2010-09-052-11/+16
| | | | | Replace private tags from metadata plugin with the new generic tags from -base.
* camerabin: Fix viewfiner-sink property for binsThiago Santos2010-07-071-1/+1
| | | | | | | Correctly iterate viewfinder-sink children when it is a bin. Fixes #623802
* camerabin: Move debug category declaration to a separate fileThiago Santos2010-06-217-4/+35
| | | | | | Having GST_DEBUG_CATEGORY and GST_DEBUG_CATEGORY_EXTERN together might lead to 'undefined symbol' problems. This commit moves the _EXTERN to a separate new file.
* camerabin: Do not assert on set_property to NULL for elementsThiago Santos2010-06-081-2/+4
| | | | | Check if the value is NULL before reffing them in set_property for 'GstElement' properties
* camerabin: Do not assert on null caps propertyThiago Santos2010-06-081-0/+3
| | | | | If camerabin receives a null caps as 'filter-caps' argument, use the default value
* camerabin: Fix crash in 'filename' propertyThiago Santos2010-06-071-0/+3
| | | | | Do not crash when filename property is set to NULL, use an empty string instead.
* Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGSDavid Schleef2010-05-191-1/+1
| | | | | | | | | Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS, and fix all the Makefiles that use it. This is so that all the include directories are added in the proper order: first the directories in srcdir/builddir, then gst-plugins-base dirs, then gstreamer dirs. If the order is wrong, installed headers may be used instead of local headers and/or uninstalled headers from -base.
* camerabin: add meaningful names for queue elements inside camerabinLasse Laukkanen2010-04-212-7/+9
|
* camerabin: Avoid crashing when setting zoom in NULLThiago Santos2010-04-191-2/+6
| | | | | | Avoid setting zoom in NULL state because the source is not set yet and this leads to a crash. It is set on READY > PAUSED anyway.
* camerabin: reset software zooming if not set by the photo interfaceAdam Endrodi2010-04-151-0/+1
| | | | Otherwise both software (videoscal+videocrop) and hardware zooming would be used.
* camerabin: Add video-capture-width/height/framerate propertiesThiago Santos2010-04-134-38/+140
| | | | | | | | | | | Adds video-capture-width, video-capture-height and video-capture-framerate properties to allow applications to get/set those values. Getting was not possible before this patch, and setting was done through the set-video-resolution-fps action, which sets the properties and promptly resets the video source to use them. Fixes #614958
* camerabin: Adds image-capture-width/height propertiesThiago Santos2010-04-133-8/+62
| | | | | | | | | | Adds image-capture-width and image-capture-height properties to camerabin, allowing the user to get/set them. Getting was not possible before and setting was done through the set-image-resolution action, which shouldn't now just set the properties. Fixes #614958
* camerabin: photography: Spring G_PARAM_STATIC_STRINGSThiago Santos2010-04-131-19/+24
| | | | | Sprinkle some G_PARAM_STATIC_STRINGS over the properties in GstPhotography interface and in camerabin
* camerabin: add block-after-capture property for viewfinder blockingLasse Laukkanen2010-04-133-6/+81
| | | | | | | | Adds block-after-capture property to block running viewfinder after capturing. This property is useful if application wants to display capture preview and avoid running viewfinder on background. Based on a patch by Tommi Myöhänen <ext-tommi.1.myohanen@nokia.com>
* GstPhotography: Add flicker and focus mode settings to photography APITommi Myöhänen2010-04-133-1/+121
| | | | | Adds flicker and focus mode settings to photography API and also implement it in camerabin.
* camerabin: do not set imagebin sinkpad twiceTeemu Katajisto2010-04-131-1/+2
| | | | If we already have a sinkpad, do not get a new one
* camerabin: add viewfinder-filter propertyLasse Laukkanen2010-04-133-1/+46
| | | | | | | | Adds a new property called viewfinder-filter to camerabin. This property is used to add a filter to process the video flow right before the viewfinder sink. Also updates test to check property exists.
* camerabin: proxy video source photography interface property notify signalsLasse Laukkanen2010-04-131-0/+63
| | | | | If photography interface properties change in video source, notify the application by emitting notify for respective camerabin properties.
* camerabin: add api to query supported image capture resolutionLasse Laukkanen2010-04-133-1/+18
| | | | | | Adds new property 'image-capture-supported-caps' to GstPhotography to query the supported image capture caps. Also implement it in camerabin.
* camerabin: rename function and variable names, update documentationRené Stadler2010-04-136-139/+139
| | | | Get rid of user_* prefix internally, use app_* instead.
* camerabin: add video-source-filter propertyLasse Laukkanen2010-04-133-2/+46
| | | | | | | | | Add video-source-filter property that can be used to inject application specific gstreamer element to camerabin pipeline. The video-source-filter element will process all frames coming from video source. One could add image analyzers to collect information about the stream, or add image enhancers to improve capture quality, for example.
* camerabin: don't try adapting image capture resolution if no source-resize flagLasse Laukkanen2010-04-121-10/+30
| | | | | | If source-resize flag is disabled then set resolution to image capture caps according to capture resolution video source element produces. Otherwise we write wrong resolution to image metadata.
* camerabin: Fix capturing flag handling after image has been capturedLasse Laukkanen2010-04-121-10/+10
| | | | | Make sure capturing flag is unset and image-captured message is sent before sending eos event to image bin and saving the image to a file.
* camerabin: fix setting filter-caps property in NULL stateLasse Laukkanen2010-04-121-14/+28
| | | | | Split _set_capsfilter_caps() into two parts so that we can call one part regardless of the element state.
* camerabin: improve image done signal emissionLasse Laukkanen2010-04-121-1/+4
| | | | | Use g_idle_add_full() with G_PRIORITY_HIGH to emit image done signal, g_idle_add() is more likely to starve with higher priority events.
* Add -Wredundant-decls flagBenjamin Otte2010-03-221-9/+1
| | | | and fix warnings from it
* gst_element_class_set_details => gst_element_class_set_details_simpleBenjamin Otte2010-03-183-24/+15
|
* camerabin: activate video bin before feeding data to itMark Nauwelaerts2010-03-121-0/+2
| | | | Fixes #612615.
* camerabin: refactor cropping and adapting captured imagesLasse Laukkanen2010-03-112-118/+137
|