platform/upstream/gstreamer.git
14 years agompegtsdemux: fix memory corruption when parsing adaptation field
Zaheer Abbas Merali [Mon, 17 May 2010 15:26:03 +0000 (16:26 +0100)]
mpegtsdemux: fix memory corruption when parsing adaptation field

14 years agoRemove unused polyp audio plugin code
Tim-Philipp Müller [Mon, 17 May 2010 10:52:45 +0000 (11:52 +0100)]
Remove unused polyp audio plugin code

polypaudio was renamed to pulseaudio ages ago.

Fixes #618867.

14 years agoresindvd: Check for dvdnav and dvdread libraries
Sebastian Dröge [Sat, 15 May 2010 13:37:59 +0000 (15:37 +0200)]
resindvd: Check for dvdnav and dvdread libraries

14 years agoexamples: Don't install camerabin examples
Benjamin Otte [Fri, 14 May 2010 23:18:52 +0000 (01:18 +0200)]
examples: Don't install camerabin examples

14 years ago0.10.18.2 pre-release
Tim-Philipp Müller [Fri, 14 May 2010 23:19:17 +0000 (00:19 +0100)]
0.10.18.2 pre-release

14 years agodocs: remove more cruft related to plugins that have been moved to -good
Tim-Philipp Müller [Fri, 14 May 2010 17:31:52 +0000 (18:31 +0100)]
docs: remove more cruft related to plugins that have been moved to -good

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 14 May 2010 17:25:13 +0000 (18:25 +0100)]
Automatic update of common submodule

From 4d67bd6 to 357b0db

14 years agoconfigure: fix --disable-external
Tim-Philipp Müller [Fri, 14 May 2010 15:53:20 +0000 (16:53 +0100)]
configure: fix --disable-external

14 years agobuild: add old shave files in common to 'cruft' files
Tim-Philipp Müller [Fri, 14 May 2010 00:55:41 +0000 (01:55 +0100)]
build: add old shave files in common to 'cruft' files

14 years agofestival: Only close the connection if it's opened
Sebastian Dröge [Thu, 13 May 2010 12:42:48 +0000 (14:42 +0200)]
festival: Only close the connection if it's opened

14 years agofestival: Don't open an infinite number of connections to the server and close connec...
Ivan Zderadicka [Thu, 13 May 2010 12:41:08 +0000 (14:41 +0200)]
festival: Don't open an infinite number of connections to the server and close connections

Fixes bug #618527.

14 years agojacksrc: make sure we always read nframes
Wim Taymans [Thu, 13 May 2010 10:55:29 +0000 (12:55 +0200)]
jacksrc: make sure we always read nframes

Error out when we are asked to read a different size that what was configured as
the jack period size because that would mean something else is wrong.

Fixes #618409

14 years agojack: improve process_cb
Tristan Matthews [Tue, 11 May 2010 21:56:31 +0000 (17:56 -0400)]
jack: improve process_cb

14 years agofrei0r: Fix setting of boolean values
Joshua M. Doe [Tue, 11 May 2010 17:52:51 +0000 (13:52 -0400)]
frei0r: Fix setting of boolean values

Setting boolean type parameters from gst-launch failed because of improper handling of type conversions.

Fixes bug #618388.

14 years agompegtsparse: parse TDT table in mpegts.
Zaheer Abbas Merali [Wed, 12 May 2010 11:00:16 +0000 (13:00 +0200)]
mpegtsparse: parse TDT table in mpegts.

Some tables in MPEG-TS do not have a crc in the spec, so also mpegtsparse
is not calculating crc for sections with table_id 0x70 - 0x72 because they
do not have a CRC in the spec. See EN300468. Parse Time and Date table and
output bus message.

14 years agopo: remove oss4 strings
Tim-Philipp Müller [Tue, 11 May 2010 15:03:26 +0000 (16:03 +0100)]
po: remove oss4 strings

14 years agoRemove oss4 plugin
Tim-Philipp Müller [Tue, 11 May 2010 14:33:54 +0000 (15:33 +0100)]
Remove oss4 plugin

It has been moved to gst-plugins-good.

See #614305.

14 years agoRemove imagefreeze plugin/element.
Tim-Philipp Müller [Tue, 11 May 2010 13:02:33 +0000 (14:02 +0100)]
Remove imagefreeze plugin/element.

It has been moved to gst-plugins-good.

See #613786.

14 years agotests: don't fail tagschecking test if qtdemux is not available or too old
Tim-Philipp Müller [Tue, 11 May 2010 12:15:37 +0000 (13:15 +0100)]
tests: don't fail tagschecking test if qtdemux is not available or too old

14 years agoRemove capssetter element
Tim-Philipp Müller [Tue, 11 May 2010 12:08:41 +0000 (13:08 +0100)]
Remove capssetter element

It has been moved to gst-plugins-good.

See #617739.

14 years agoconfigure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0
Sebastian Dröge [Tue, 11 May 2010 08:04:50 +0000 (10:04 +0200)]
configure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0

14 years agoscaletempo: Don't use deprecated GTK symbols in the demo
Sebastian Dröge [Tue, 11 May 2010 08:01:23 +0000 (10:01 +0200)]
scaletempo: Don't use deprecated GTK symbols in the demo

14 years agomimdec: Don't try to re-send the same event more than once
Olivier Crête [Fri, 7 May 2010 23:15:31 +0000 (19:15 -0400)]
mimdec: Don't try to re-send the same event more than once

14 years agojpegformat: make the intention of the elements more clear
Stefan Kost [Fri, 7 May 2010 19:53:17 +0000 (22:53 +0300)]
jpegformat: make the intention of the elements more clear

14 years agoRevert "jifmux: Merge xmp and tagsetter tags."
Thiago Santos [Fri, 7 May 2010 16:57:12 +0000 (13:57 -0300)]
Revert "jifmux: Merge xmp and tagsetter tags."

This reverts commit 4e5c4122349031264bf47e6af9338f8ae0236d5f.

jifmux shouldn't be able to handle jif and shouldn't expect
any xmp on its data. So, no need to handle them.

14 years agojifmux: Merge xmp and tagsetter tags.
Thiago Santos [Fri, 7 May 2010 15:42:23 +0000 (12:42 -0300)]
jifmux: Merge xmp and tagsetter tags.

When the current file already has tags, they shouldn't be ignored,
parse them and merge with the tagsetter ones.

14 years agojifmux: Reject buffers without caps
Thiago Santos [Fri, 7 May 2010 14:07:34 +0000 (11:07 -0300)]
jifmux: Reject buffers without caps

jifmux expects whole jpeg pictures in buffers, so it should
reject buffers without caps.

14 years agojifmux: Be safe and check bytewriter returns
Thiago Santos [Fri, 7 May 2010 13:59:22 +0000 (10:59 -0300)]
jifmux: Be safe and check bytewriter returns

Check GstByteWriter returns to know when recombining the image
failed and log a warning.

14 years agojifmux: Avoid adding 2 xmp packets
Thiago Santos [Fri, 7 May 2010 13:13:54 +0000 (10:13 -0300)]
jifmux: Avoid adding 2 xmp packets

jifmux was only appending a new xmp packet to the stream,
it should replace if there is already one.

14 years agodocs: add freeze to plugin docs
Stefan Kost [Fri, 7 May 2010 07:58:49 +0000 (10:58 +0300)]
docs: add freeze to plugin docs

14 years agompegtsmux: Move multi-program muxing example at least to the correct directory
Sebastian Dröge [Fri, 7 May 2010 06:12:43 +0000 (08:12 +0200)]
mpegtsmux: Move multi-program muxing example at least to the correct directory

But it doesn't work out of the box because of hardcoded paths.

14 years agomimic: Push out newsegment from current timestamp if the incoming ts is valid
Olivier Crête [Thu, 6 May 2010 17:51:22 +0000 (13:51 -0400)]
mimic: Push out newsegment from current timestamp if the incoming ts is valid

Push out newsegment event with the timestamp from the incoming buffer if
the incoming buffers have a valid timestamp but no valid newsegment event
has been through.

14 years agoresindvd: Apply caps to generated buffers
Jan Schmidt [Thu, 6 May 2010 12:38:22 +0000 (22:38 +1000)]
resindvd: Apply caps to generated buffers

Avoid the new warning from the core about not being able to apply caps
to NAV packet buffers, where resindvdsrc holds a ref.

14 years agocapssetter: Some minor cleanup
Sebastian Dröge [Thu, 6 May 2010 11:12:32 +0000 (13:12 +0200)]
capssetter: Some minor cleanup

14 years agommssrc: Use the escaped location for the RTSP redirect message
Sebastian Dröge [Thu, 6 May 2010 07:51:15 +0000 (09:51 +0200)]
mmssrc: Use the escaped location for the RTSP redirect message

gst_uri_get_location() unescapes the location, which could result in
an invalid RTSP URI.

14 years agommssrc: Check URI for validity and work around URI parsing bugs in libmms
Sebastian Dröge [Thu, 6 May 2010 07:48:00 +0000 (09:48 +0200)]
mmssrc: Check URI for validity and work around URI parsing bugs in libmms

Fixes bug #617650.

14 years agommssrc: Some random cleanup
Sebastian Dröge [Thu, 6 May 2010 06:08:06 +0000 (08:08 +0200)]
mmssrc: Some random cleanup

14 years agoimagefreeze: Set fixed caps on the correct pad
Sebastian Dröge [Wed, 5 May 2010 10:23:56 +0000 (12:23 +0200)]
imagefreeze: Set fixed caps on the correct pad

This makes the sink getcaps function actually used instead of using
the fixed caps function for it.

14 years agoAdd new camerabin test binary to .gitignore
Tim-Philipp Müller [Sat, 1 May 2010 11:31:51 +0000 (12:31 +0100)]
Add new camerabin test binary to .gitignore

14 years agovdpau: fix small typo
Carl-Anton Ingmarsson [Sat, 1 May 2010 13:00:27 +0000 (15:00 +0200)]
vdpau: fix small typo

14 years agovdpau: add leftover gstvdp.h
Carl-Anton Ingmarsson [Sat, 1 May 2010 12:58:30 +0000 (14:58 +0200)]
vdpau: add leftover gstvdp.h

14 years agovdpauvideopostprocess: fix crasher on setting properties before we're in READY
Carl-Anton Ingmarsson [Sat, 1 May 2010 12:45:04 +0000 (14:45 +0200)]
vdpauvideopostprocess: fix crasher on setting properties before we're in READY

14 years agovdpau: remove debug code
Carl-Anton Ingmarsson [Thu, 29 Apr 2010 20:43:59 +0000 (22:43 +0200)]
vdpau: remove debug code

14 years agovdpau: small api cleanup
Carl-Anton Ingmarsson [Thu, 29 Apr 2010 20:24:35 +0000 (22:24 +0200)]
vdpau: small api cleanup

merge gst_vdp_video_buffer_get_allowed_[video|yuv]_caps into
gst_vdp_video_buffer_get_allowed_caps

14 years agovdpau: small fixes
Carl-Anton Ingmarsson [Thu, 22 Apr 2010 10:57:30 +0000 (12:57 +0200)]
vdpau: small fixes

14 years agovdpau: add back gstvdpau.c
Carl-Anton Ingmarsson [Thu, 22 Apr 2010 10:52:42 +0000 (12:52 +0200)]
vdpau: add back gstvdpau.c

14 years agovdpau: add gst_vdp_init function where we register types
Carl-Anton Ingmarsson [Wed, 17 Mar 2010 20:02:07 +0000 (21:02 +0100)]
vdpau: add gst_vdp_init function where we register types

14 years agovdpau: add better error handling to GstVdpOutputSrcPad
Carl-Anton Ingmarsson [Wed, 17 Mar 2010 19:59:08 +0000 (20:59 +0100)]
vdpau: add better error handling to GstVdpOutputSrcPad

gst_vdp_output_src_pad_push, gst_vdp_output_src_pad_alloc_buffer and
gst_vdp_output_src_pad_get_device now take a GError parameter to be able to
signal errors to the caller

14 years agovdpau: make GstVdpVideoSrcPad(Class)? private
Carl-Anton Ingmarsson [Sat, 28 Nov 2009 22:58:57 +0000 (23:58 +0100)]
vdpau: make GstVdpVideoSrcPad(Class)? private

14 years agovdpaumpegdec: follow GstVdpVideoSrcPad changes
Carl-Anton Ingmarsson [Sat, 28 Nov 2009 22:55:09 +0000 (23:55 +0100)]
vdpaumpegdec: follow GstVdpVideoSrcPad changes

14 years agovdpau: remove template-caps propery form GstVdpVideoSrcPad
Carl-Anton Ingmarsson [Sat, 28 Nov 2009 22:52:15 +0000 (23:52 +0100)]
vdpau: remove template-caps propery form GstVdpVideoSrcPad

GstVdpVideoSrcPad now use the template property of GstPad instead. Also changed
the _new function to be like gst_pad_new_from_template.

14 years agoFix warnings in directdrawsink and directsoundsrc
Руслан Ижбулатов [Fri, 30 Apr 2010 21:16:50 +0000 (01:16 +0400)]
Fix warnings in directdrawsink and directsoundsrc

Fixes #617331

14 years agoBump core/base requirements to released versions
Tim-Philipp Müller [Fri, 30 Apr 2010 18:03:58 +0000 (19:03 +0100)]
Bump core/base requirements to released versions

14 years agojpegparse: improve buffer scanning
Mark Nauwelaerts [Thu, 29 Apr 2010 14:33:44 +0000 (16:33 +0200)]
jpegparse: improve buffer scanning

Specifically, when scanning for entropy data segment length and needing
more data, do not rescan from start next time around, but resume at
last position.

See also #583047.

14 years agojack: implement multichannel support correctly for jackaudiosrc
Tristan Matthews [Tue, 27 Apr 2010 14:48:32 +0000 (10:48 -0400)]
jack: implement multichannel support correctly for jackaudiosrc

Fixes parts of bug #616541.

14 years agooss4sink: implement GstStreamVolume interface and add mute and volume properties
Brian Cameron [Thu, 29 Apr 2010 12:18:58 +0000 (13:18 +0100)]
oss4sink: implement GstStreamVolume interface and add mute and volume properties

OSS4 supports per-stream volume control, so expose this using the right
API, so that playbin2 and applications like totem can make use of it
(instead of using a volume element for volume control).

Fixes #614305.

14 years agoFix printf format strings for gcc 4.5
Руслан Ижбулатов [Thu, 29 Apr 2010 00:42:21 +0000 (04:42 +0400)]
Fix printf format strings for gcc 4.5

Done on Windows/MinGW.

Fixes #617146

14 years agojack: remove empty dispose and finalize methods
Stefan Kost [Tue, 27 Apr 2010 08:21:16 +0000 (11:21 +0300)]
jack: remove empty dispose and finalize methods

14 years agojack: don't leak caps
Stefan Kost [Tue, 27 Apr 2010 07:59:00 +0000 (10:59 +0300)]
jack: don't leak caps

Add dispose methods to clear caps.

14 years agojack: don't use GST_DEBUG_FUNCPTR for gobject vmethods
Stefan Kost [Tue, 27 Apr 2010 07:34:24 +0000 (10:34 +0300)]
jack: don't use GST_DEBUG_FUNCPTR for gobject vmethods

14 years agoladspa,lv2: don't fail in plugin_init when having 0 elements
Stefan Kost [Mon, 26 Apr 2010 12:06:09 +0000 (15:06 +0300)]
ladspa,lv2: don't fail in plugin_init when having 0 elements

If we fail, the plugin scanner will blacklist us.

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 23 Apr 2010 13:41:17 +0000 (14:41 +0100)]
Automatic update of common submodule

From fc85867 to 4d67bd6

14 years agocamerabin: add meaningful names for queue elements inside camerabin
Lasse Laukkanen [Tue, 20 Apr 2010 13:58:33 +0000 (16:58 +0300)]
camerabin: add meaningful names for queue elements inside camerabin

14 years agompeg4videoparse: also set short configuration data in codec_data
Mark Nauwelaerts [Tue, 20 Apr 2010 13:37:03 +0000 (15:37 +0200)]
mpeg4videoparse: also set short configuration data in codec_data

That is, header configuration may start at Video Object (startcode),
rather than at Visual Object Sequence, which is catered for and parsed,
so let's also take it as codec_data if no more available.

Fixes (remainder of) #572551.

14 years agocamerabin: Avoid crashing when setting zoom in NULL
Thiago Santos [Mon, 19 Apr 2010 22:04:24 +0000 (19:04 -0300)]
camerabin: Avoid crashing when setting zoom in NULL

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.

14 years agompegvideoparse: Export profile and level in caps
Arun Raghavan [Sun, 18 Apr 2010 09:21:35 +0000 (14:51 +0530)]
mpegvideoparse: Export profile and level in caps

This exports profile and level in caps for MPEG 2 streams.

https://bugzilla.gnome.org/show_bug.cgi?id=616078

14 years agoresindvdbin: Use GST_FLOW_CUSTOM_SUCCESS instead of some integer
Sebastian Dröge [Fri, 16 Apr 2010 17:45:16 +0000 (19:45 +0200)]
resindvdbin: Use GST_FLOW_CUSTOM_SUCCESS instead of some integer

Fixes compiler warnings with gcc 4.5.

This is the same as commit 5a51dbd.

14 years agompegdemux: Use GST_FLOW_CUSTOM_SUCCESS instead of some integer
Sebastian Dröge [Fri, 16 Apr 2010 17:43:59 +0000 (19:43 +0200)]
mpegdemux: Use GST_FLOW_CUSTOM_SUCCESS instead of some integer

Fixes compiler warning with gcc 4.5.

14 years agoRevert "mpegpsdemux: Workaround new gcc 4.5 compiler warning"
Sebastian Dröge [Fri, 16 Apr 2010 17:42:00 +0000 (19:42 +0200)]
Revert "mpegpsdemux: Workaround new gcc 4.5 compiler warning"

This reverts commit a331228eccfb8c66493fa3c8c49338c79cf4642c.

14 years agoRevert "resindvdbin: Apply gcc 4.5 compiler warning workaround to the mpegpsdemux...
Sebastian Dröge [Fri, 16 Apr 2010 17:41:46 +0000 (19:41 +0200)]
Revert "resindvdbin: Apply gcc 4.5 compiler warning workaround to the mpegpsdemux copy"

This reverts commit 65b0f75d1b3119316b2dcaf5bff4dfd2bd824cc1.

14 years agometadata: Another workaround for enum values that are not actually member of the...
Sebastian Dröge [Thu, 15 Apr 2010 19:44:23 +0000 (21:44 +0200)]
metadata: Another workaround for enum values that are not actually member of the enum

14 years agoresindvdbin: Apply gcc 4.5 compiler warning workaround to the mpegpsdemux copy
Sebastian Dröge [Thu, 15 Apr 2010 19:40:19 +0000 (21:40 +0200)]
resindvdbin: Apply gcc 4.5 compiler warning workaround to the mpegpsdemux copy

Same as a331228eccfb8c66493fa3c8c49338c79cf4642c.

14 years agovdpau: Initialize possibly uninitialized variable
Sebastian Dröge [Thu, 15 Apr 2010 19:38:54 +0000 (21:38 +0200)]
vdpau: Initialize possibly uninitialized variable

14 years agodvbsrc: Actually compare the state and not the state change return from _get_state()
Sebastian Dröge [Thu, 15 Apr 2010 19:35:15 +0000 (21:35 +0200)]
dvbsrc: Actually compare the state and not the state change return from _get_state()

14 years agompegpsdemux: Workaround new gcc 4.5 compiler warning
Sebastian Dröge [Thu, 15 Apr 2010 19:26:45 +0000 (21:26 +0200)]
mpegpsdemux: Workaround new gcc 4.5 compiler warning

gcc 4.5 warns when comparing some integer with an enum value, in
the case of GstFlowReturn this is valid though. We should later
add GST_FLOW_CUSTOM_OK1, GST_FLOW_CUSTOM_OK2, etc. after new core
is released.

14 years agocdxaparse: Compare the correct variable to GST_SEEK_TYPE_SET
Sebastian Dröge [Thu, 15 Apr 2010 18:50:58 +0000 (20:50 +0200)]
cdxaparse: Compare the correct variable to GST_SEEK_TYPE_SET

14 years agoconfigure: Drop -Wcast-align
Thiago Santos [Thu, 15 Apr 2010 10:24:16 +0000 (07:24 -0300)]
configure: Drop -Wcast-align

Commit message copied from core's commit from Benjamin Otte:
246f5dba96a5b50bb74621af67b30942cca72af5
Apparently gcc warns that GstMiniObject is not castable to
GstEvent/Message/Buffer due to them containing 64bit variables, even
though ARM hackers claim that those only need 4byte alignment. And as
long as gcc behaves that way, this warning is not very useful.

So we'll remove the warning until this problem is fixed.

Fixes #615698

14 years agocamerabin: reset software zooming if not set by the photo interface
Adam Endrodi [Thu, 15 Apr 2010 10:20:42 +0000 (13:20 +0300)]
camerabin: reset software zooming if not set by the photo interface

Otherwise both software (videoscal+videocrop) and hardware zooming would be used.

14 years agoinvtelecine: Fix up element details
David Schleef [Wed, 14 Apr 2010 23:42:57 +0000 (16:42 -0700)]
invtelecine: Fix up element details

14 years agotools: Add element-maker
David Schleef [Wed, 14 Apr 2010 23:32:34 +0000 (16:32 -0700)]
tools: Add element-maker

Add a script that creates elements based on any of the GStreamer
base classes.  It isn't very user friendly at the moment, one
needs to edit the script to make it work properly.  Each base class
has a template file describing what to put into the constructed
element.  Eventually, these templates should be moved to reside
with the base class source and installed to a well-known directory,
where an installed script could find them.

The template files use the .c ending so editors know they are C
source, but gst-indent doesn't handle them correctly.  So they
need to be committed with -n.  Ugh.  I'll try to figure out a fix
for that soon.

14 years agocamerabin: Add video-capture-width/height/framerate properties
Thiago Santos [Tue, 13 Apr 2010 23:32:50 +0000 (20:32 -0300)]
camerabin: Add video-capture-width/height/framerate properties

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

14 years agocamerabin: Adds image-capture-width/height properties
Thiago Santos [Tue, 13 Apr 2010 21:33:40 +0000 (18:33 -0300)]
camerabin: Adds image-capture-width/height properties

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

14 years agocamerabin: photography: Spring G_PARAM_STATIC_STRINGS
Thiago Santos [Tue, 13 Apr 2010 18:59:04 +0000 (15:59 -0300)]
camerabin: photography: Spring G_PARAM_STATIC_STRINGS

Sprinkle some G_PARAM_STATIC_STRINGS over the properties
in GstPhotography interface and in camerabin

14 years agocamerabin: add block-after-capture property for viewfinder blocking
Lasse Laukkanen [Tue, 2 Mar 2010 12:04:44 +0000 (14:04 +0200)]
camerabin: add block-after-capture property for viewfinder blocking

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>

14 years agoexamples: camerabin: add viewfinder-filter and filter caps properties
Lasse Laukkanen [Tue, 9 Feb 2010 12:52:49 +0000 (14:52 +0200)]
examples: camerabin: add viewfinder-filter and filter caps properties

Adds support for setting filter-caps and viewfinder-filter
properties in the gst-camerabin-test application

14 years agoGstPhotography: Add flicker and focus mode settings to photography API
Tommi Myöhänen [Tue, 26 Jan 2010 13:18:24 +0000 (15:18 +0200)]
GstPhotography: Add flicker and focus mode settings to photography API

Adds flicker and focus mode settings to photography API and also
implement it in camerabin.

14 years agocamerabin: add gst-camerabin-test command line test tool
Teemu Katajisto [Thu, 26 Nov 2009 10:12:06 +0000 (12:12 +0200)]
camerabin: add gst-camerabin-test command line test tool

gst-camerabin-test tool can be used to capture still images and
video clips using camerabin element.

14 years agocamerabin: do not set imagebin sinkpad twice
Teemu Katajisto [Mon, 16 Nov 2009 13:02:03 +0000 (15:02 +0200)]
camerabin: do not set imagebin sinkpad twice

If we already have a sinkpad, do not get a new one

14 years agocamerabin: update unit tests
Teemu Katajisto [Mon, 16 Nov 2009 13:13:31 +0000 (15:13 +0200)]
camerabin: update unit tests

Add testing of setting and getting of camerabin property elements and
add post-processing elements to pipeline.

14 years agocamerabin: add unit tests for setting different flags when capturing
Teemu Katajisto [Fri, 13 Nov 2009 14:42:44 +0000 (16:42 +0200)]
camerabin: add unit tests for setting different flags when capturing

Adds some tests that use flags for capturing to asure it works
with flags set or not.

14 years agocamerabin: add paused video capture file validity check in unit test
Teemu Katajisto [Wed, 28 Oct 2009 15:37:56 +0000 (17:37 +0200)]
camerabin: add paused video capture file validity check in unit test

Also check that the file captured in the paused capture unit test is
playable.

14 years agocamerabin: add viewfinder-filter property
Lasse Laukkanen [Mon, 19 Oct 2009 11:31:54 +0000 (14:31 +0300)]
camerabin: add viewfinder-filter property

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.

14 years agocamerabin: set videotestsrc pattern to white in unit test
Lasse Laukkanen [Wed, 21 Oct 2009 15:02:27 +0000 (18:02 +0300)]
camerabin: set videotestsrc pattern to white in unit test

Lower complexity of encoding and videotestsrc redrawing in order
to prevent unit test timeouts.

14 years agocamerabin: proxy video source photography interface property notify signals
Lasse Laukkanen [Wed, 14 Oct 2009 11:01:34 +0000 (14:01 +0300)]
camerabin: proxy video source photography interface property notify signals

If photography interface properties change in video source, notify the
application by emitting notify for respective camerabin properties.

14 years agocamerabin: New unit tests
Teemu Katajisto [Wed, 14 Oct 2009 11:42:01 +0000 (14:42 +0300)]
camerabin: New unit tests

Add unit tests for camerabin properties setting and getting,
adds one for video capturing with pause.

Also does some c99 variable declaration fixes.

14 years agocamerabin: update unit test to have test on recording snapshot preview
Shenghua Liu [Wed, 14 Oct 2009 11:01:05 +0000 (14:01 +0300)]
camerabin: update unit test to have test on recording snapshot preview

Adds a small check to verify that the preview image message is
being sent on video recording.

14 years agocamerabin: add api to query supported image capture resolution
Lasse Laukkanen [Mon, 21 Sep 2009 14:47:20 +0000 (17:47 +0300)]
camerabin: add api to query supported image capture resolution

Adds new property 'image-capture-supported-caps' to GstPhotography
to query the supported image capture caps.
Also implement it in camerabin.

14 years agocamerabin: rename function and variable names, update documentation
René Stadler [Thu, 2 Jul 2009 15:03:57 +0000 (18:03 +0300)]
camerabin: rename function and variable names, update documentation

Get rid of user_* prefix internally, use app_* instead.

14 years agocamerabin: add video-source-filter property
Lasse Laukkanen [Wed, 16 Sep 2009 12:11:49 +0000 (15:11 +0300)]
camerabin: add video-source-filter property

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.

14 years agocheck: Don't re-declare 'GList *buffers' in the tests
Edward Hervey [Mon, 12 Apr 2010 16:07:29 +0000 (18:07 +0200)]
check: Don't re-declare 'GList *buffers' in the tests

It's an external which lives in gstcheck.c. Redeclaring it makes some
compilers/architectures think the 'buffers' in the individual tests are
a different symbol... and therefore we end up comparing holodecks with
oranges.