platform/upstream/gstreamer.git
12 years agobasecamerasrc: port to 0.11
René Stadler [Thu, 24 Nov 2011 10:59:19 +0000 (11:59 +0100)]
basecamerasrc: port to 0.11

Only to fix the build really (gtk-doc is trying to pick up the unbuildable
lib). Not tested at all (but pretty trivial case anyways).

12 years agoneonhttpsrc: remove iradio-* properties
Tim-Philipp Müller [Thu, 24 Nov 2011 01:56:07 +0000 (01:56 +0000)]
neonhttpsrc: remove iradio-* properties

Should send tags instead.

12 years agoneonhttpsrc: unconditionally send icecast request header, remove iradio-mode property
Tim-Philipp Müller [Thu, 24 Nov 2011 01:52:36 +0000 (01:52 +0000)]
neonhttpsrc: unconditionally send icecast request header, remove iradio-mode property

12 years agommssrc: make connection-speed property a guint64
Tim-Philipp Müller [Thu, 24 Nov 2011 01:22:13 +0000 (01:22 +0000)]
mmssrc: make connection-speed property a guint64

Even if the library limits it to an int.

12 years agosdpdemux: update for gstrtpbin -> rtpbin renaming
Tim-Philipp Müller [Thu, 24 Nov 2011 00:56:45 +0000 (00:56 +0000)]
sdpdemux: update for gstrtpbin -> rtpbin renaming

12 years agofaac, rtmp: more printf format fixes in debug messages
Tim-Philipp Müller [Wed, 23 Nov 2011 23:42:41 +0000 (23:42 +0000)]
faac, rtmp: more printf format fixes in debug messages

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

12 years agoFix printf format compiler warnings on OS X / 64 bit
Matej Knopp [Mon, 21 Nov 2011 21:45:15 +0000 (22:45 +0100)]
Fix printf format compiler warnings on OS X / 64 bit

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

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 23 Nov 2011 10:08:39 +0000 (11:08 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/opus/gstopusdec.c
ext/opus/gstopusenc.c
ext/opus/gstopusparse.c
gst/audiovisualizers/gstwavescope.c
gst/filter/Makefile.am
gst/filter/gstfilter.c
gst/filter/gstiir.c
gst/playondemand/gstplayondemand.c

12 years agoaudiovisualizers: add some simple drawing helpers for reuse
Stefan Sauer [Wed, 23 Nov 2011 07:40:49 +0000 (08:40 +0100)]
audiovisualizers: add some simple drawing helpers for reuse

Add a (uninstalled) header with simple drawing macros

12 years agosmoothwave: remove element unported from 0.8
Stefan Sauer [Wed, 23 Nov 2011 07:17:05 +0000 (08:17 +0100)]
smoothwave: remove element unported from 0.8

The wavescope element does achieve the same effect.

12 years agowavescope: add a style property for drawing modes
Stefan Sauer [Wed, 23 Nov 2011 07:14:38 +0000 (08:14 +0100)]
wavescope: add a style property for drawing modes

Add a style enum of { dots, lines}. Now this elements is a superset of smoothwave.

12 years agodocs: fix comment in gst_base_video_decoder_get_max_decode_time() docs
Tim-Philipp Müller [Tue, 22 Nov 2011 23:04:49 +0000 (23:04 +0000)]
docs: fix comment in gst_base_video_decoder_get_max_decode_time() docs

12 years agoopusenc: mark properties changeable at runtime with GST_PARAM_MUTABLE_PLAYING
Tim-Philipp Müller [Tue, 22 Nov 2011 20:27:50 +0000 (20:27 +0000)]
opusenc: mark properties changeable at runtime with GST_PARAM_MUTABLE_PLAYING

12 years agobasevideodecoder: fix weird event list handling
Tim-Philipp Müller [Tue, 22 Nov 2011 19:57:07 +0000 (19:57 +0000)]
basevideodecoder: fix weird event list handling

Get rid of weird code that copies a list manually, taking
ownership of the elements and then frees the old list. Instead,
just take over the old list entirely. (If the intent was to
reverse the list, one could use g_list_reverse() instead).

Then, push events in the list out from last to first (since they
were prepended as they came in) instead of just pushing out the
last in the list and leaking the others.

12 years agoopus: add test
Vincent Penquerc'h [Tue, 22 Nov 2011 18:33:17 +0000 (18:33 +0000)]
opus: add test

12 years agoopusenc: allow setting most properties at PLAYING time
Vincent Penquerc'h [Tue, 22 Nov 2011 17:04:09 +0000 (17:04 +0000)]
opusenc: allow setting most properties at PLAYING time

Opus allows these to be changed during encoding, transparently
to the decoder.

12 years agoopusenc: bound the bitrate to more sensible values
Vincent Penquerc'h [Tue, 22 Nov 2011 16:14:06 +0000 (16:14 +0000)]
opusenc: bound the bitrate to more sensible values

Go from the bounds mentioned in the spec, and allow some more
variation.
In particular, don't allow silly low bitrates, and allow reaching
the maximum useful bitrate.

12 years agoopusenc: fix crash on pathological parameters
Vincent Penquerc'h [Tue, 22 Nov 2011 15:33:20 +0000 (15:33 +0000)]
opusenc: fix crash on pathological parameters

Asking for 1 bit/s would select a 0 byte buffer, leading
to a crash. Buffer size is now controlled by a max-payload-size
property, which can't be less than 2.

12 years agoopusparse: do not send headers through data path
Vincent Penquerc'h [Mon, 21 Nov 2011 18:12:00 +0000 (18:12 +0000)]
opusparse: do not send headers through data path

Additionally, since Opus packets may change between stereo
and mono as the encoder sees fit, assume two channels when
we do not see a header, and use the header value otherwise.

12 years agoopus: move header magic testing to gstopusheader
Vincent Penquerc'h [Mon, 21 Nov 2011 17:48:54 +0000 (17:48 +0000)]
opus: move header magic testing to gstopusheader

12 years agoopusdec: skip pre-skip samples
Vincent Penquerc'h [Mon, 21 Nov 2011 17:01:49 +0000 (17:01 +0000)]
opusdec: skip pre-skip samples

12 years agoopusdec: read pre-skip from first header if available
Vincent Penquerc'h [Mon, 21 Nov 2011 12:50:22 +0000 (12:50 +0000)]
opusdec: read pre-skip from first header if available

12 years agompegtsparse: support more character set encodings
Sebastian Pölsterl [Thu, 17 Nov 2011 10:33:56 +0000 (11:33 +0100)]
mpegtsparse: support more character set encodings

Support UTF-16BE, EUC-KR (KSX1001), GB2312 and ISO-10646/UTF8 text
encoding and fixed new line for multibyte encoding

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

12 years agoplayondemand: remove unported plugin from 0.8
Stefan Sauer [Tue, 22 Nov 2011 08:11:35 +0000 (09:11 +0100)]
playondemand: remove unported plugin from 0.8

These days one would do the effect e.g. using gnonlin.

12 years agospeed: tiny doc blob clarification
Stefan Sauer [Tue, 22 Nov 2011 08:10:32 +0000 (09:10 +0100)]
speed: tiny doc blob clarification

12 years agofreeverb: add a freeverb port
Stefan Sauer [Mon, 21 Nov 2011 21:55:40 +0000 (22:55 +0100)]
freeverb: add a freeverb port

Freeverb is a public domain reverb implementation. Port it as a gstreamer
element and make use of gstreamer specific features (gap aware, disconts,
controller, ...).

12 years agoupdate for activation changes
Wim Taymans [Mon, 21 Nov 2011 12:37:20 +0000 (13:37 +0100)]
update for activation changes

12 years agoopusenc: reset tagsetter interface on stop
Vincent Penquerc'h [Mon, 21 Nov 2011 12:02:28 +0000 (12:02 +0000)]
opusenc: reset tagsetter interface on stop

12 years agoopusdec: handle NULL packets (used for PLC)
Vincent Penquerc'h [Mon, 21 Nov 2011 11:44:01 +0000 (11:44 +0000)]
opusdec: handle NULL packets (used for PLC)

12 years agoopusdec: light cleanup
Vincent Penquerc'h [Mon, 21 Nov 2011 11:28:10 +0000 (11:28 +0000)]
opusdec: light cleanup

12 years agoopusparse: parse raw opus packets
Vincent Penquerc'h [Sun, 20 Nov 2011 13:07:27 +0000 (13:07 +0000)]
opusparse: parse raw opus packets

12 years agoopusenc: do not push header buffers
Vincent Penquerc'h [Sun, 20 Nov 2011 09:58:06 +0000 (09:58 +0000)]
opusenc: do not push header buffers

Opus headers appear only when muxed in Ogg, so only place them
on the caps, where oggmux will find them, but other elements will
be blithely unaware of them.

12 years agoopus: make opusparse set headers on caps
Vincent Penquerc'h [Sun, 20 Nov 2011 09:52:46 +0000 (09:52 +0000)]
opus: make opusparse set headers on caps

Header-on-caps code moved to a new shared location to avoid
duplicating the code.

12 years agogme: Port to new pad function signatures
Edward Hervey [Mon, 21 Nov 2011 09:54:56 +0000 (10:54 +0100)]
gme: Port to new pad function signatures

12 years agosmooth: port to 0.10
Stefan Sauer [Mon, 21 Nov 2011 07:20:14 +0000 (08:20 +0100)]
smooth: port to 0.10

Port from GstElement to GstVideoFilter. Fix FIXMEs. Cleanup naming. Expose left
out property (kuma-only).

12 years agopassthrough: remove obsolete element
Stefan Sauer [Sun, 20 Nov 2011 19:16:03 +0000 (20:16 +0100)]
passthrough: remove obsolete element

It is not built by default. We have identity for some of the needs and otherwise
audio/videofilter base classes.

12 years agofilter: remove filter plugin
Stefan Sauer [Sun, 20 Nov 2011 19:08:47 +0000 (20:08 +0100)]
filter: remove filter plugin

We don't build it anyway and we have audioiirfilter in good.

12 years agointer: fix leftover boilerplace comments
Stefan Sauer [Sun, 20 Nov 2011 19:06:29 +0000 (20:06 +0100)]
inter: fix leftover boilerplace comments

12 years agocamerabin2: Also reset video/audio filters before capturing
Thiago Santos [Fri, 18 Nov 2011 06:31:32 +0000 (03:31 -0300)]
camerabin2: Also reset video/audio filters before capturing

Video and audio custom filter element should also be reset before
starting a new capture, otherwise we get wrong-state errors

12 years agoopusenc: fix terminating NUL being written in signature
Vincent Penquerc'h [Sat, 19 Nov 2011 15:58:09 +0000 (15:58 +0000)]
opusenc: fix terminating NUL being written in signature

12 years agoopusenc: make frame-size an enum
Vincent Penquerc'h [Wed, 16 Nov 2011 19:40:20 +0000 (19:40 +0000)]
opusenc: make frame-size an enum

It only supports a set number of specific values (including
a non integer one).

12 years agoopusenc: the encoder might not make use of all the bytes
Vincent Penquerc'h [Wed, 16 Nov 2011 19:22:44 +0000 (19:22 +0000)]
opusenc: the encoder might not make use of all the bytes

12 years agoopencv: use caps constants more
Stefan Sauer [Fri, 18 Nov 2011 18:28:26 +0000 (19:28 +0100)]
opencv: use caps constants more

12 years agoopencv: fixup doc blobs
Stefan Sauer [Fri, 18 Nov 2011 18:19:32 +0000 (19:19 +0100)]
opencv: fixup doc blobs

12 years agoopencv: fixup gobject naming conventions
Stefan Sauer [Fri, 18 Nov 2011 18:15:26 +0000 (19:15 +0100)]
opencv: fixup gobject naming conventions

12 years agoupdate for new scheduling query
Wim Taymans [Fri, 18 Nov 2011 16:59:47 +0000 (17:59 +0100)]
update for new scheduling query

12 years agoh264parse: remove redundant code
Mark Nauwelaerts [Fri, 18 Nov 2011 16:18:01 +0000 (17:18 +0100)]
h264parse: remove redundant code

... now that what should not be needed is really not needed anymore to cover
up bogus stuff that has been FIXMEd.

12 years agoh264parse: fix up AU collection processing
Mark Nauwelaerts [Fri, 18 Nov 2011 11:32:13 +0000 (12:32 +0100)]
h264parse: fix up AU collection processing

On the one hand, no need to collect nal if processing last one.
On the other hand, ensure AU collection processing to have sufficient
next NAL data in normal cases.

Fixes #663180.

12 years agoh264parse: mind to-be-skipped data in subsequent re-used offsets
Mark Nauwelaerts [Fri, 18 Nov 2011 14:12:46 +0000 (15:12 +0100)]
h264parse: mind to-be-skipped data in subsequent re-used offsets

12 years agoh264parse: avoid additional NAL parsing if no AU collection is needed
Mark Nauwelaerts [Fri, 18 Nov 2011 14:10:57 +0000 (15:10 +0100)]
h264parse: avoid additional NAL parsing if no AU collection is needed

12 years agoh264parse: some more get_caps tweaking
Mark Nauwelaerts [Fri, 18 Nov 2011 14:10:25 +0000 (15:10 +0100)]
h264parse: some more get_caps tweaking

... by having it use sink template rather than src template, and not
passing an downstream parsed(=true) to upstream.

12 years agoh264parser: initialize additional sps field value
Mark Nauwelaerts [Fri, 18 Nov 2011 14:07:01 +0000 (15:07 +0100)]
h264parser: initialize additional sps field value

Fixes #663552.

12 years agoadd parent to activate functions
Wim Taymans [Fri, 18 Nov 2011 12:58:41 +0000 (13:58 +0100)]
add parent to activate functions

12 years agofix for scheduling mode rename
Wim Taymans [Fri, 18 Nov 2011 11:38:14 +0000 (12:38 +0100)]
fix for scheduling mode rename

12 years agoopencv: remove empty finalize implementations
Stefan Sauer [Fri, 18 Nov 2011 07:29:31 +0000 (08:29 +0100)]
opencv: remove empty finalize implementations

12 years agovoamrwbenc: port to audioencoder
Mark Nauwelaerts [Thu, 17 Nov 2011 22:03:05 +0000 (23:03 +0100)]
voamrwbenc: port to audioencoder

12 years agovoaacenc: some code shuffle cleanup
Mark Nauwelaerts [Thu, 17 Nov 2011 22:02:55 +0000 (23:02 +0100)]
voaacenc: some code shuffle cleanup

12 years agovoaacenc: port to audioencoder
Mark Nauwelaerts [Thu, 17 Nov 2011 22:02:39 +0000 (23:02 +0100)]
voaacenc: port to audioencoder

12 years agoceltenc: properly report error case
Mark Nauwelaerts [Thu, 17 Nov 2011 22:02:31 +0000 (23:02 +0100)]
celtenc: properly report error case

12 years agoceltdec: remove unused instance variable
Mark Nauwelaerts [Thu, 17 Nov 2011 22:02:17 +0000 (23:02 +0100)]
celtdec: remove unused instance variable

12 years agobasevideoencoder: Only call ::reset once in READY->PAUSED
Sebastian Dröge [Thu, 17 Nov 2011 18:33:42 +0000 (10:33 -0800)]
basevideoencoder: Only call ::reset once in READY->PAUSED

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 17 Nov 2011 16:32:42 +0000 (17:32 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/celt/gstceltdec.c
ext/opus/gstopusdec.c
ext/opus/gstopusdec.h
ext/opus/gstopusenc.c
ext/opus/gstopusenc.h
ext/opus/gstopusparse.c

12 years agoadd parent to pad functions
Wim Taymans [Thu, 17 Nov 2011 14:53:42 +0000 (15:53 +0100)]
add parent to pad functions

12 years agolibs-docs: add -DGST_USE_UNSTABLE_API
Stefan Sauer [Thu, 17 Nov 2011 09:07:34 +0000 (10:07 +0100)]
libs-docs: add -DGST_USE_UNSTABLE_API

12 years agogme: port for pad_query api change
Stefan Sauer [Thu, 17 Nov 2011 08:56:34 +0000 (09:56 +0100)]
gme: port for pad_query api change

12 years agocollectpads: port API changes
Stefan Sauer [Thu, 17 Nov 2011 07:25:28 +0000 (08:25 +0100)]
collectpads: port API changes

12 years agofacedetect: detect face features
Stefan Sauer [Wed, 16 Nov 2011 19:53:13 +0000 (20:53 +0100)]
facedetect: detect face features

Also detect mouth, nose and eyes. Drop faces that don't have them. Fixes leaking the
cascades. Adds more docs.

12 years agofacedetect: Gstfacedetect -> GstFacedetect
Stefan Sauer [Wed, 16 Nov 2011 19:51:27 +0000 (20:51 +0100)]
facedetect: Gstfacedetect -> GstFacedetect

12 years agofacedetect: code maintenance
Stefan Sauer [Mon, 14 Nov 2011 10:05:44 +0000 (11:05 +0100)]
facedetect: code maintenance

Update example to be useful. Draw colored ellipses instead of unicolor circles.
Reflow code for more local variables. Improve parameter descriptions.

12 years agompeg4videoparse: Change rank to PRIMARY+1
Sebastian Dröge [Wed, 16 Nov 2011 18:57:55 +0000 (10:57 -0800)]
mpeg4videoparse: Change rank to PRIMARY+1

12 years agompeg4videoparse: Don't require parsed=false on the sinkpad caps
Sebastian Dröge [Wed, 16 Nov 2011 18:45:52 +0000 (10:45 -0800)]
mpeg4videoparse: Don't require parsed=false on the sinkpad caps

12 years agoopusenc: do not include variable fields in caps
Vincent Penquerc'h [Wed, 16 Nov 2011 18:49:03 +0000 (18:49 +0000)]
opusenc: do not include variable fields in caps

Those can vary from one packet to the next, so have no reason
to be in the caps.

12 years agoopusenc: fix constrained-vbr property name typo
Vincent Penquerc'h [Wed, 16 Nov 2011 18:43:53 +0000 (18:43 +0000)]
opusenc: fix constrained-vbr property name typo

12 years agoh264parse: Implement ::sink_get_caps to allow stream-format conversion again
Sebastian Dröge [Wed, 16 Nov 2011 18:38:49 +0000 (10:38 -0800)]
h264parse: Implement ::sink_get_caps to allow stream-format conversion again

Just proxying the downstream caps will prevent h264parse from
accepting a different stream-format than what is supported
downstream, although it could convert to a different stream-format.

12 years agoopusdec: let the base class handle all timing
Vincent Penquerc'h [Wed, 16 Nov 2011 18:35:29 +0000 (18:35 +0000)]
opusdec: let the base class handle all timing

12 years agoceltdec: port to audiodecoder
Mark Nauwelaerts [Wed, 16 Nov 2011 18:18:50 +0000 (19:18 +0100)]
celtdec: port to audiodecoder

12 years agoceltenc: port to audioencoder
Mark Nauwelaerts [Wed, 16 Nov 2011 18:11:24 +0000 (19:11 +0100)]
celtenc: port to audioencoder

12 years agoopusparse: add opusparse element
Vincent Penquerc'h [Tue, 15 Nov 2011 19:53:33 +0000 (19:53 +0000)]
opusparse: add opusparse element

A very simple element that parses Opus streams from the ad hoc
framing used by the Opus test vectors.

12 years agoopusdec: allow negotiation of rate/channels with downstream
Vincent Penquerc'h [Wed, 16 Nov 2011 17:24:20 +0000 (17:24 +0000)]
opusdec: allow negotiation of rate/channels with downstream

Since an opus stream may be decoded to any (sensible) rate,
and either stereo or mono, we try to accomodate downstream.

12 years agoopusdec: rewrite logic
Vincent Penquerc'h [Wed, 16 Nov 2011 17:05:17 +0000 (17:05 +0000)]
opusdec: rewrite logic

Parameters such as frame size, etc, are variable. Pretty much
everything can change within a stream, so be prepared about it,
and do not cache parameters in the decoder.

12 years agoopus: port to base audio encoder/decoder
Vincent Penquerc'h [Wed, 16 Nov 2011 16:56:43 +0000 (16:56 +0000)]
opus: port to base audio encoder/decoder

12 years agoadd parent to query function
Wim Taymans [Wed, 16 Nov 2011 16:28:10 +0000 (17:28 +0100)]
add parent to query function

12 years agoopusdec: allow negotiation of rate/channels with downstream
Vincent Penquerc'h [Wed, 16 Nov 2011 13:26:35 +0000 (13:26 +0000)]
opusdec: allow negotiation of rate/channels with downstream

Since an opus stream may be decoded to any (sensible) rate,
and either stereo or mono, we try to accomodate downstream.

12 years agoopusdec: rewrite logic
Vincent Penquerc'h [Wed, 16 Nov 2011 01:14:32 +0000 (01:14 +0000)]
opusdec: rewrite logic

Parameters such as frame size, etc, are variable. Pretty much
everything can change within a stream, so be prepared about it,
and do not cache parameters in the decoder.

12 years agoopusdec: remove buffer pool, buffers are not constant size
Vincent Penquerc'h [Tue, 15 Nov 2011 23:00:32 +0000 (23:00 +0000)]
opusdec: remove buffer pool, buffers are not constant size

12 years agoopusparse: add opusparse element
Vincent Penquerc'h [Tue, 15 Nov 2011 19:53:33 +0000 (19:53 +0000)]
opusparse: add opusparse element

A very simple element that parses Opus streams from the ad hoc
framing used by the Opus test vectors.

12 years agotsdemux: Add notes on synchronization and scheduling
Edward Hervey [Wed, 16 Nov 2011 11:46:04 +0000 (12:46 +0100)]
tsdemux: Add notes on synchronization and scheduling

12 years agoupdate for renamed flags
Wim Taymans [Wed, 16 Nov 2011 11:40:58 +0000 (12:40 +0100)]
update for renamed flags

Use the _check_reconfigure method instead of checking flags.

12 years agoh264parse: outgoing byte stream prefix always has size 4
Jonas Larsson [Wed, 16 Nov 2011 09:56:24 +0000 (10:56 +0100)]
h264parse: outgoing byte stream prefix always has size 4

Fixes #664123.

12 years agoopusenc: fix pointer mismatch in memcpy on drain
Vincent Penquerc'h [Tue, 15 Nov 2011 17:49:48 +0000 (17:49 +0000)]
opusenc: fix pointer mismatch in memcpy on drain

12 years ago_query_peer_*() -> _peer_query_*()
Wim Taymans [Tue, 15 Nov 2011 16:55:50 +0000 (17:55 +0100)]
_query_peer_*() -> _peer_query_*()

12 years ago_peer_get_caps() -> _peer_query_caps()
Wim Taymans [Tue, 15 Nov 2011 16:24:07 +0000 (17:24 +0100)]
_peer_get_caps() -> _peer_query_caps()

12 years agochange getcaps to query
Wim Taymans [Tue, 15 Nov 2011 15:34:13 +0000 (16:34 +0100)]
change getcaps to query

12 years agocamerabin: Document requirement for PLAYING state
David King [Mon, 14 Nov 2011 10:30:13 +0000 (11:30 +0100)]
camerabin: Document requirement for PLAYING state

As described in GNOME bug 663998, the element must be in the PLAYING
state before calling capture-start.

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

12 years agocamerabin2: Fix some racyness in tests
Thiago Santos [Mon, 14 Nov 2011 21:34:18 +0000 (18:34 -0300)]
camerabin2: Fix some racyness in tests

Fix some racyness as the test was checking the idle property
right after it got the preview message for video recordings. In some
conditions, it might happen that camerabin2 still hasn't decremented
the processing counter after posting the preview and/or the image/video-done
message and the test will get idle=false and fail.

The approach for checking for the idle property was a busy loop with
a sleep. Far from elegant, but good enough for these tests.

12 years agocamerabin2: Also reset audio elements when video capture finishes
Thiago Santos [Mon, 14 Nov 2011 19:55:37 +0000 (16:55 -0300)]
camerabin2: Also reset audio elements when video capture finishes

Audio elements also need to be reset after each capture, do it
together with the video elements' reset

12 years agocamerabin2: Add one debug line about camerabin2 being idle
Thiago Santos [Fri, 11 Nov 2011 12:58:30 +0000 (09:58 -0300)]
camerabin2: Add one debug line about camerabin2 being idle

12 years agocamerabin2: Remove video elements' state clearing from start-capture
Thiago Santos [Thu, 10 Nov 2011 19:53:40 +0000 (16:53 -0300)]
camerabin2: Remove video elements' state clearing from start-capture

Reduce start-capture workload by moving the elements' state reseting to the
finishing steps of the capture. This reduces the time start-capture takes to
actually start a capture and return to its caller, improving user experience.

As the elements' state reset is now triggered from the message handling
function, it needs to spawn a new thread, changing state from the pad's
task would cause a deadlock.

12 years agocamerabin2: keep track of video recording state
Thiago Santos [Thu, 10 Nov 2011 19:11:56 +0000 (16:11 -0300)]
camerabin2: keep track of video recording state

Adds a new variable to keep track of the state of the video
recording in camerabin2. This allows start-capture to reject
new video recording requests when one is already ongoing. This
fixes one of check tests.

12 years agoopus: port to encoder/decoder base classes
Vincent Penquerc'h [Mon, 14 Nov 2011 13:41:58 +0000 (13:41 +0000)]
opus: port to encoder/decoder base classes