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
Wim Taymans [Thu, 17 Nov 2011 14:53:42 +0000 (15:53 +0100)]
add parent to pad functions
Stefan Sauer [Thu, 17 Nov 2011 09:07:34 +0000 (10:07 +0100)]
libs-docs: add -DGST_USE_UNSTABLE_API
Stefan Sauer [Thu, 17 Nov 2011 08:56:34 +0000 (09:56 +0100)]
gme: port for pad_query api change
Stefan Sauer [Thu, 17 Nov 2011 07:25:28 +0000 (08:25 +0100)]
collectpads: port API changes
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.
Stefan Sauer [Wed, 16 Nov 2011 19:51:27 +0000 (20:51 +0100)]
facedetect: Gstfacedetect -> GstFacedetect
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.
Sebastian Dröge [Wed, 16 Nov 2011 18:57:55 +0000 (10:57 -0800)]
mpeg4videoparse: Change rank to PRIMARY+1
Sebastian Dröge [Wed, 16 Nov 2011 18:45:52 +0000 (10:45 -0800)]
mpeg4videoparse: Don't require parsed=false on the sinkpad 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.
Vincent Penquerc'h [Wed, 16 Nov 2011 18:43:53 +0000 (18:43 +0000)]
opusenc: fix constrained-vbr property name typo
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.
Vincent Penquerc'h [Wed, 16 Nov 2011 18:35:29 +0000 (18:35 +0000)]
opusdec: let the base class handle all timing
Mark Nauwelaerts [Wed, 16 Nov 2011 18:18:50 +0000 (19:18 +0100)]
celtdec: port to audiodecoder
Mark Nauwelaerts [Wed, 16 Nov 2011 18:11:24 +0000 (19:11 +0100)]
celtenc: port to audioencoder
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.
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.
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.
Vincent Penquerc'h [Wed, 16 Nov 2011 16:56:43 +0000 (16:56 +0000)]
opus: port to base audio encoder/decoder
Wim Taymans [Wed, 16 Nov 2011 16:28:10 +0000 (17:28 +0100)]
add parent to query function
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.
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.
Vincent Penquerc'h [Tue, 15 Nov 2011 23:00:32 +0000 (23:00 +0000)]
opusdec: remove buffer pool, buffers are not constant size
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.
Edward Hervey [Wed, 16 Nov 2011 11:46:04 +0000 (12:46 +0100)]
tsdemux: Add notes on synchronization and scheduling
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.
Jonas Larsson [Wed, 16 Nov 2011 09:56:24 +0000 (10:56 +0100)]
h264parse: outgoing byte stream prefix always has size 4
Fixes #664123.
Vincent Penquerc'h [Tue, 15 Nov 2011 17:49:48 +0000 (17:49 +0000)]
opusenc: fix pointer mismatch in memcpy on drain
Wim Taymans [Tue, 15 Nov 2011 16:55:50 +0000 (17:55 +0100)]
_query_peer_*() -> _peer_query_*()
Wim Taymans [Tue, 15 Nov 2011 16:24:07 +0000 (17:24 +0100)]
_peer_get_caps() -> _peer_query_caps()
Wim Taymans [Tue, 15 Nov 2011 15:34:13 +0000 (16:34 +0100)]
change getcaps to query
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
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.
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
Thiago Santos [Fri, 11 Nov 2011 12:58:30 +0000 (09:58 -0300)]
camerabin2: Add one debug line about camerabin2 being idle
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.
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.
Vincent Penquerc'h [Mon, 14 Nov 2011 13:41:58 +0000 (13:41 +0000)]
opus: port to encoder/decoder base classes
Sreerenj Balachandran [Thu, 3 Nov 2011 12:09:52 +0000 (14:09 +0200)]
mpegvideoparse:Correct the skipping of vbv_delay in picture header and some typo fixes.
https://bugzilla.gnome.org/show_bug.cgi?id=663309
Tim-Philipp Müller [Sun, 13 Nov 2011 23:55:56 +0000 (23:55 +0000)]
Update for GstURIHandler get_protocols() changes
Vincent Penquerc'h [Fri, 11 Nov 2011 17:46:41 +0000 (17:46 +0000)]
opus: port to 0.11
Mart Raudsepp [Thu, 10 Nov 2011 13:13:34 +0000 (15:13 +0200)]
mimic, opencv, vp8, acmmp3dec, linsys: Don't build static plugins
Pass --tag=disable-static to libtool everywhere where it's been forgotten
https://bugzilla.gnome.org/show_bug.cgi?id=663768
Wim Taymans [Fri, 11 Nov 2011 09:39:17 +0000 (10:39 +0100)]
Merge branch 'master' into 0.11
Matej Knopp [Thu, 10 Nov 2011 22:42:40 +0000 (19:42 -0300)]
mpegvideoparse: add support for progressive frames
https://bugzilla.gnome.org/show_bug.cgi?id=663782
Stefan Sauer [Wed, 9 Nov 2011 19:09:01 +0000 (20:09 +0100)]
audiovisualizer: port to 0.11
Edward Hervey [Thu, 10 Nov 2011 17:34:03 +0000 (18:34 +0100)]
gme: Remove query_types
Wim Taymans [Thu, 10 Nov 2011 17:34:48 +0000 (18:34 +0100)]
Merge branch 'master' into 0.11
Wim Taymans [Thu, 10 Nov 2011 17:25:53 +0000 (18:25 +0100)]
update for adapter api change
Vincent Penquerc'h [Thu, 10 Nov 2011 17:13:40 +0000 (17:13 +0000)]
opusenc: fix bandwidth property type mismatch
Wim Taymans [Thu, 10 Nov 2011 11:14:19 +0000 (12:14 +0100)]
Merge branch 'master' into 0.11
Wim Taymans [Thu, 10 Nov 2011 11:11:21 +0000 (12:11 +0100)]
chain up in set_clock
Thiago Santos [Wed, 9 Nov 2011 15:21:37 +0000 (12:21 -0300)]
camerabin2: protect image location list with mutex
Rename the image taglists' mutex into image capture mutex and
use it also for the image capture list to prevent concurrent
access from different threads (application and capture threads).
Thiago Santos [Wed, 9 Nov 2011 14:45:27 +0000 (11:45 -0300)]
camerabin2: Handle null taglists for images
Add NULL and check for them to the image capture taglist list, representing
that a capture has no application tags set.
Thiago Santos [Wed, 9 Nov 2011 14:17:15 +0000 (11:17 -0300)]
camerabin2: Don't store preview location if preview isn't requested
Do not store preview location is post-previews is false, this would
mess up preview naming in case application switches between enabling
and disabling previews
Lasse Laukkanen [Wed, 9 Nov 2011 12:41:44 +0000 (09:41 -0300)]
camerabin2: Avoid blocking in start-capture and send application tags later
Tags are currently sent from start-capture, which is run in the
application thread. For images we can delay the tags pushing to the
buffer probe and push the tags with the location event and reduce
start-capture time.
Wim Taymans [Wed, 9 Nov 2011 11:24:37 +0000 (12:24 +0100)]
Merge branch 'master' into 0.11
Wim Taymans [Wed, 9 Nov 2011 11:19:04 +0000 (12:19 +0100)]
Merge branch 'master' into 0.11
Conflicts:
gst/colorspace/colorspace.c
Thijs Vermeir [Wed, 9 Nov 2011 11:00:05 +0000 (12:00 +0100)]
fix documentation typo
Thijs Vermeir [Wed, 9 Nov 2011 10:56:07 +0000 (11:56 +0100)]
dtmf: fix compiler warning for uninitialized values
Wim Taymans [Wed, 9 Nov 2011 10:55:14 +0000 (11:55 +0100)]
remove query types
Olivier Crête [Fri, 4 Nov 2011 21:54:04 +0000 (17:54 -0400)]
dtmfsrc: Reject start/stop requests that come out of order
Olivier Crête [Sat, 29 Oct 2011 16:24:26 +0000 (18:24 +0200)]
dtmf: Post messages when starting to send/receive DTMF
This way, the UI can display the DTMF events as they as being sent.
Thiago Santos [Tue, 8 Nov 2011 11:08:20 +0000 (08:08 -0300)]
camerabin2: Decrement processing counter when message handling finishes
Some messages might be interesting to applications, so we can only
decrement the processing counter and send the idle notification
when those messages are posted on the pipline's bus
Thiago Santos [Tue, 8 Nov 2011 10:33:59 +0000 (07:33 -0300)]
camerabin2: update tests to set post-previews to true
Makes most of camerabin2 tests pass again
Wim Taymans [Tue, 8 Nov 2011 10:28:41 +0000 (11:28 +0100)]
update for probe api changes
Lasse Laukkanen [Tue, 8 Nov 2011 10:09:41 +0000 (07:09 -0300)]
camerabin2: change post-previews property default value as false
Generating and posting preview image always comes with a performance
penalty so set default value as false. The preview-caps property that
defines the preview image format is also NULL by default, so instead
of generating preview image of unspecified format by default explicit
action from application should be required for enabling preview image
posting feature.
Application also has to add custom code to be able
to handle preview messages on its message handling function anyway.
Reynaldo H. Verdejo Pinochet [Mon, 7 Nov 2011 23:39:56 +0000 (20:39 -0300)]
Add Android buildsystem hooks for codecparsers
Vincent Penquerc'h [Tue, 1 Nov 2011 20:37:17 +0000 (20:37 +0000)]
colorspace: fix r210 writing only half a scanline
https://bugzilla.gnome.org/show_bug.cgi?id=663203
Vincent Penquerc'h [Mon, 7 Nov 2011 16:41:42 +0000 (16:41 +0000)]
adpcm: add more consts, espcially for static const data
Wim Taymans [Mon, 7 Nov 2011 16:13:11 +0000 (17:13 +0100)]
dvdbasebin: fix for pad probes update
Vincent Penquerc'h [Thu, 3 Nov 2011 18:55:24 +0000 (18:55 +0000)]
autoconvert: merge caps instead of using union
It's a lot faster, and preserves caps ordering.
https://bugzilla.gnome.org/show_bug.cgi?id=663346
Vincent Penquerc'h [Thu, 27 Oct 2011 14:53:48 +0000 (15:53 +0100)]
tiger: add a 'silent' property to skip rendering
https://bugzilla.gnome.org/show_bug.cgi?id=662857
Vincent Penquerc'h [Mon, 29 Aug 2011 12:00:02 +0000 (13:00 +0100)]
mpegdemux: catch section lengths extending past the buffer length
This is probably the cause for an occasional crash while streaming
MPEG. Blind fix after staring at the code and following logic, so
may or may not fix the issue, I cannot test.
Vincent Penquerc'h [Thu, 20 Oct 2011 09:42:42 +0000 (10:42 +0100)]
resindvdsrc: do not try to seek before the first chapter
https://bugzilla.gnome.org/show_bug.cgi?id=589064
Vincent Penquerc'h [Wed, 5 Oct 2011 17:30:23 +0000 (18:30 +0100)]
celtenc: fix latency query
https://bugzilla.gnome.org/show_bug.cgi?id=616421
Vincent Penquerc'h [Wed, 5 Oct 2011 17:25:58 +0000 (18:25 +0100)]
opusenc: fix latency query
This makes live 'audiosrc ! opusenc ! opusdec ! audiosink' pipelines
actually work without all audio being dumped.
https://bugzilla.gnome.org/show_bug.cgi?id=660999
Vincent Penquerc'h [Wed, 5 Oct 2011 14:47:06 +0000 (15:47 +0100)]
opusenc: use debug level for debug info, not error
https://bugzilla.gnome.org/show_bug.cgi?id=660999
Vincent Penquerc'h [Thu, 29 Sep 2011 13:22:53 +0000 (14:22 +0100)]
celtenc: fix calculation of filler data size
https://bugzilla.gnome.org/show_bug.cgi?id=660469
Vincent Penquerc'h [Thu, 29 Sep 2011 13:22:33 +0000 (14:22 +0100)]
opusenc: fix calculation of filler data size
https://bugzilla.gnome.org/show_bug.cgi?id=660469
Vincent Penquerc'h [Mon, 3 Oct 2011 17:28:14 +0000 (18:28 +0100)]
mpegpsdemux: fix zero length packet handling
https://bugzilla.gnome.org/show_bug.cgi?id=631416
Vincent Penquerc'h [Wed, 2 Nov 2011 12:41:54 +0000 (12:41 +0000)]
tests: mark test input data const
https://bugzilla.gnome.org/show_bug.cgi?id=663235
Vincent Penquerc'h [Wed, 2 Nov 2011 12:41:30 +0000 (12:41 +0000)]
mpegvideoparser: input data is const, mark it so
Vincent Penquerc'h [Wed, 2 Nov 2011 12:38:30 +0000 (12:38 +0000)]
tests: allow building with older versions of glib (g_list_free_full)
https://bugzilla.gnome.org/show_bug.cgi?id=663234
Wim Taymans [Mon, 7 Nov 2011 09:02:00 +0000 (10:02 +0100)]
Merge branch 'master' into 0.11
Reynaldo H. Verdejo Pinochet [Fri, 4 Nov 2011 21:06:51 +0000 (18:06 -0300)]
Fix missing sources on bayer's buildsystem androgenizer call
Stefan Sauer [Fri, 4 Nov 2011 17:52:35 +0000 (18:52 +0100)]
controller: port to new controller location and api
Wim Taymans [Fri, 4 Nov 2011 15:34:11 +0000 (16:34 +0100)]
more template fixes
Edward Hervey [Fri, 4 Nov 2011 15:23:03 +0000 (16:23 +0100)]
examples : Port to 0.11
René Stadler [Fri, 4 Nov 2011 12:04:19 +0000 (13:04 +0100)]
h264parser: add more size checks and improve existing
Don't subtract with unsigned values, that will bite us. Also fix format
specifier in the log message.
Wim Taymans [Fri, 4 Nov 2011 11:31:19 +0000 (12:31 +0100)]
more template fixes
Wim Taymans [Fri, 4 Nov 2011 11:22:37 +0000 (12:22 +0100)]
make request pads take _%u
Wim Taymans [Fri, 4 Nov 2011 10:24:53 +0000 (11:24 +0100)]
video: port somewhat to 0.11
In 0.11 this should be done differently
Wim Taymans [Fri, 4 Nov 2011 10:01:42 +0000 (11:01 +0100)]
Merge branch 'master' into 0.11
Edward Hervey [Fri, 4 Nov 2011 09:17:38 +0000 (10:17 +0100)]
gme: Fix for removal of gst_element_found_tags_for_pad()
Olivier Crête [Thu, 3 Nov 2011 21:17:10 +0000 (17:17 -0400)]
surfaceconverter: Remove duplicated forward declaration
It seems that some compilers don't like duplicated typedefs.
Wim Taymans [Thu, 3 Nov 2011 15:57:29 +0000 (16:57 +0100)]
videoenc: fix compiler warning
Wim Taymans [Thu, 3 Nov 2011 15:57:17 +0000 (16:57 +0100)]
video: fix for metadata API change
Edward Hervey [Thu, 3 Nov 2011 13:01:41 +0000 (14:01 +0100)]
vp8: Port to 0.11
Edward Hervey [Thu, 3 Nov 2011 12:56:49 +0000 (13:56 +0100)]
libs/video: Finish porting to 0.11