platform/upstream/gstreamer.git
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 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 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 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 agompegvideoparse:Correct the skipping of vbv_delay in picture header and some typo...
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

12 years agomimic, opencv, vp8, acmmp3dec, linsys: Don't build static plugins
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

12 years agompegvideoparse: add support for progressive frames
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

12 years agoopusenc: fix bandwidth property type mismatch
Vincent Penquerc'h [Thu, 10 Nov 2011 17:13:40 +0000 (17:13 +0000)]
opusenc: fix bandwidth property type mismatch

12 years agocamerabin2: protect image location list with mutex
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).

12 years agocamerabin2: Handle null taglists for images
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.

12 years agocamerabin2: Don't store preview location if preview isn't requested
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

12 years agocamerabin2: Avoid blocking in start-capture and send application tags later
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.

12 years agofix documentation typo
Thijs Vermeir [Wed, 9 Nov 2011 11:00:05 +0000 (12:00 +0100)]
fix documentation typo

12 years agodtmf: fix compiler warning for uninitialized values
Thijs Vermeir [Wed, 9 Nov 2011 10:56:07 +0000 (11:56 +0100)]
dtmf: fix compiler warning for uninitialized values

12 years agodtmfsrc: Reject start/stop requests that come out of order
Olivier Crête [Fri, 4 Nov 2011 21:54:04 +0000 (17:54 -0400)]
dtmfsrc: Reject start/stop requests that come out of order

12 years agodtmf: Post messages when starting to send/receive DTMF
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.

12 years agocamerabin2: Decrement processing counter when message handling finishes
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

12 years agocamerabin2: update tests to set post-previews to true
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

12 years agocamerabin2: change post-previews property default value as false
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.

12 years agoAdd Android buildsystem hooks for codecparsers
Reynaldo H. Verdejo Pinochet [Mon, 7 Nov 2011 23:39:56 +0000 (20:39 -0300)]
Add Android buildsystem hooks for codecparsers

12 years agocolorspace: fix r210 writing only half a scanline
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

12 years agoadpcm: add more consts, espcially for static const data
Vincent Penquerc'h [Mon, 7 Nov 2011 16:41:42 +0000 (16:41 +0000)]
adpcm: add more consts, espcially for static const data

12 years agoautoconvert: merge caps instead of using union
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

12 years agotiger: add a 'silent' property to skip rendering
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

12 years agompegdemux: catch section lengths extending past the buffer length
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.

12 years agoresindvdsrc: do not try to seek before the first chapter
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

12 years agoceltenc: fix latency query
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

12 years agoopusenc: fix latency query
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

12 years agoopusenc: use debug level for debug info, not error
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

12 years agoceltenc: fix calculation of filler data size
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

12 years agoopusenc: fix calculation of filler data size
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

12 years agompegpsdemux: fix zero length packet handling
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

12 years agotests: mark test input data const
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

12 years agompegvideoparser: input data is const, mark it so
Vincent Penquerc'h [Wed, 2 Nov 2011 12:41:30 +0000 (12:41 +0000)]
mpegvideoparser: input data is const, mark it so

12 years agotests: allow building with older versions of glib (g_list_free_full)
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

13 years agoFix missing sources on bayer's buildsystem androgenizer call
Reynaldo H. Verdejo Pinochet [Fri, 4 Nov 2011 21:06:51 +0000 (18:06 -0300)]
Fix missing sources on bayer's buildsystem androgenizer call

13 years agoh264parser: add more size checks and improve existing
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.

13 years agosurfaceconverter: Remove duplicated forward declaration
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.

13 years agovideo: Add libgstbasevideo PC file
Nicolas Dufresne [Wed, 28 Sep 2011 23:29:07 +0000 (19:29 -0400)]
video: Add libgstbasevideo PC file

13 years agovideo: Add GstVideoContext interface
Nicolas Dufresne [Wed, 19 Oct 2011 20:19:51 +0000 (16:19 -0400)]
video: Add GstVideoContext interface

This interface will be used to implement video context sharing. Those
context could be X11 Display, VaDisplay, etc.

13 years agovideo: Abstract surface API for HW accelerated codecs
Nicolas Dufresne [Fri, 7 Oct 2011 23:05:30 +0000 (19:05 -0400)]
video: Abstract surface API for HW accelerated codecs

13 years agotests: make const data const
Vincent Penquerc'h [Wed, 26 Oct 2011 15:31:39 +0000 (16:31 +0100)]
tests: make const data const

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

13 years agovc1parser: do not overwrite buffer
Vincent Penquerc'h [Wed, 26 Oct 2011 15:29:35 +0000 (16:29 +0100)]
vc1parser: do not overwrite buffer

I do not know the bitstream format, but this seems likely
to be what was intended. Also add a check on the number of
items to read.

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

13 years agovc1parser: fix parsing of RANGEREDFRM
Sreerenj Balachandran [Fri, 21 Oct 2011 10:18:26 +0000 (13:18 +0300)]
vc1parser: fix parsing of RANGEREDFRM

13 years agocamerabin2: On capture error, skip previews
Thiago Santos [Tue, 1 Nov 2011 14:47:46 +0000 (11:47 -0300)]
camerabin2: On capture error, skip previews

When the camera source fails to do some capture, skip the next
preview and decrement processing counter.

13 years agocamerabin2: track also preview images with processing counter
Lasse Laukkanen [Tue, 1 Nov 2011 13:38:33 +0000 (10:38 -0300)]
camerabin2: track also preview images with processing counter

Makes camerabin2 only signal that it is idle after all previews have
been generated, images are captured and saved, and videos have
been finished properly.

13 years agoh264parser: fix access to uninitialized memory
René Stadler [Tue, 1 Nov 2011 14:08:26 +0000 (15:08 +0100)]
h264parser: fix access to uninitialized memory

When vui->timing_info_present is 0, vui->fixed_frame_rate_flag and others
cannot be accessed since they have not been set.

It was also possible that sps->fps_{num,den} end up initialized here.

13 years agoconfigure: hack around broken mplex 2.0.0 headers in mplex check
Brad Smith [Tue, 1 Nov 2011 11:11:47 +0000 (11:11 +0000)]
configure: hack around broken mplex 2.0.0 headers in mplex check

Due to the addition of an unconditional inclusion of config.h in
mjpegtool 2.0.0's stream_params.h header the autoconf test for the
mplex module failed. Hack around this in the same way we did for
mpeg2enc.

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

13 years agoconfigure: fix typo in mpeg2enc check so CPPFLAGS get restored correctly
Brad Smith [Tue, 1 Nov 2011 11:09:52 +0000 (11:09 +0000)]
configure: fix typo in mpeg2enc check so CPPFLAGS get restored correctly

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

13 years agoh264parser: fix MAX_SPS/PPS boundary checks
René Stadler [Tue, 1 Nov 2011 11:29:35 +0000 (12:29 +0100)]
h264parser: fix MAX_SPS/PPS boundary checks

13 years agotests: h264parse: fix exit code
René Stadler [Tue, 1 Nov 2011 11:12:56 +0000 (12:12 +0100)]
tests: h264parse: fix exit code

13 years agofieldanalysis: Don't reset the context on DISCONT
Robert Swain [Fri, 28 Oct 2011 09:10:06 +0000 (11:10 +0200)]
fieldanalysis: Don't reset the context on DISCONT

On discont, the queue of frames was being cleared, but also the
context reset. We only need to clear the queue.

13 years agobasevideoencoder: handle failures in start() and stop()
Alessandro Decina [Mon, 31 Oct 2011 10:36:06 +0000 (11:36 +0100)]
basevideoencoder: handle failures in start() and stop()

13 years agobasecamerasrc: optimize state changing speed
Tommi Myöhänen [Mon, 31 Oct 2011 09:59:53 +0000 (06:59 -0300)]
basecamerasrc: optimize state changing speed

Create preview pipeline already in initialization phase. This speeds
up NULL_TO_READY state change. Also implement a separate function for
setting the preview filter element.

This also restricts the preview filter property to work only on
NULL state.

13 years agovc1parser: Correct the parsing of FRMRTQ_POSTPROC and BITRTQ_POSTPROC
Sreerenj Balachandran [Wed, 19 Oct 2011 07:24:52 +0000 (10:24 +0300)]
vc1parser: Correct the parsing of FRMRTQ_POSTPROC and BITRTQ_POSTPROC

13 years agovc1parser: Correct the parsing of sequece layer.
Sreerenj Balachandran [Fri, 21 Oct 2011 08:40:54 +0000 (11:40 +0300)]
vc1parser: Correct the parsing of sequece layer.

13 years agoDisable ext/faad for the android ndk build
Reynaldo H. Verdejo Pinochet [Thu, 20 Oct 2011 12:39:19 +0000 (09:39 -0300)]
Disable ext/faad for the android ndk build

It currently makes the build fail. Idea is to enable
it back again once its building problems get sorted
out.

13 years agoassrender, nuvdemux: unref buffers with gst_buffer_unref()
Tim-Philipp Müller [Tue, 18 Oct 2011 13:41:48 +0000 (14:41 +0100)]
assrender, nuvdemux: unref buffers with gst_buffer_unref()

13 years agocodecparsers: VC1: Compute par and fps in advanced profile
Thibault Saunier [Fri, 14 Oct 2011 14:07:00 +0000 (11:07 -0300)]
codecparsers: VC1: Compute par and fps in advanced profile

13 years agocodecparsers: VC1: Handle interlaced fields
Thibault Saunier [Mon, 10 Oct 2011 17:19:48 +0000 (14:19 -0300)]
codecparsers: VC1: Handle interlaced fields

13 years agocodecparsers: VC1: Handle interlaced frames properly
Thibault Saunier [Mon, 10 Oct 2011 13:14:12 +0000 (10:14 -0300)]
codecparsers: VC1: Handle interlaced frames properly

13 years agocodecparsers: VC1: Use enums when possible
Thibault Saunier [Fri, 7 Oct 2011 16:11:55 +0000 (13:11 -0300)]
codecparsers: VC1: Use enums when possible

Add GstVC1FrameCodingMode and use it for the fcm field
Use GstVC1PictureType as variable type for ptype
Use GstVC1Level as variable type for level

13 years agocodecparsers: vc1: fix bitplanes decoding (check for errors).
Gwenole Beauchesne [Fri, 7 Oct 2011 15:42:17 +0000 (17:42 +0200)]
codecparsers: vc1: fix bitplanes decoding (check for errors).

13 years agocodecparsers: vc1: fix bitplanes decoding (INVERT mode).
Gwenole Beauchesne [Fri, 7 Oct 2011 13:21:34 +0000 (15:21 +0200)]
codecparsers: vc1: fix bitplanes decoding (INVERT mode).

13 years agocodecparsers: vc1: fix MVMODE and MVMODE2 parsing.
Gwenole Beauchesne [Fri, 7 Oct 2011 11:59:29 +0000 (13:59 +0200)]
codecparsers: vc1: fix MVMODE and MVMODE2 parsing.

13 years agocodecparsers: vc1: handle skipped pictures gracefully.
Gwenole Beauchesne [Wed, 5 Oct 2011 15:39:59 +0000 (17:39 +0200)]
codecparsers: vc1: handle skipped pictures gracefully.

13 years agocodecparsers: VC1: Implement bitplanes diff operator
Thibault Saunier [Tue, 4 Oct 2011 20:39:42 +0000 (17:39 -0300)]
codecparsers: VC1: Implement bitplanes diff operator

13 years agocodecparsers: VC1: Some cosmetics and debug logging enhancements
Thibault Saunier [Tue, 4 Oct 2011 20:39:00 +0000 (17:39 -0300)]
codecparsers: VC1: Some cosmetics and debug logging enhancements

13 years agocodecparsers: vc1: Implement bitplanes handling properly
Gwenole Beauchesne [Tue, 4 Oct 2011 13:16:04 +0000 (15:16 +0200)]
codecparsers: vc1: Implement bitplanes handling properly

Add a new GstVC1BitPlanes API.

13 years agocodecparsers: vc1: fix BFRACTION parser (values range + overflow).
Gwenole Beauchesne [Tue, 4 Oct 2011 12:04:42 +0000 (14:04 +0200)]
codecparsers: vc1: fix BFRACTION parser (values range + overflow).

13 years agocodecparsers: vc1: fix VLC decoding.
Gwenole Beauchesne [Tue, 4 Oct 2011 09:57:37 +0000 (11:57 +0200)]
codecparsers: vc1: fix VLC decoding.

13 years agocodecparsers: VC1: Implement FrameLayer parsing
Thibault Saunier [Wed, 5 Oct 2011 19:40:47 +0000 (16:40 -0300)]
codecparsers: VC1: Implement FrameLayer parsing

13 years agocodecparsers: VC1: Implement Sequence Layer Data Structures
Thibault Saunier [Wed, 5 Oct 2011 15:15:00 +0000 (12:15 -0300)]
codecparsers: VC1: Implement Sequence Layer Data Structures

Instead of having a single VC1SequenceHeader structure, use the 3 structs
from the "Table 265: Sequence Layer Data Structure" of the specification
for the library to be more flexible.

Implement the functions to parse them

13 years agocodecparsers: VC1: Compute framerate and bitrate in simple/main profiles
Thibault Saunier [Wed, 5 Oct 2011 11:26:31 +0000 (08:26 -0300)]
codecparsers: VC1: Compute framerate and bitrate in simple/main profiles

13 years agocodecparsers: VC1: compute MB height and width
Thibault Saunier [Mon, 3 Oct 2011 17:25:00 +0000 (14:25 -0300)]
codecparsers: VC1: compute MB height and width

Add them to GstVC1SequenceHdr

13 years agocodecparsers: vc1: debug cosmetics.
Gwenole Beauchesne [Mon, 3 Oct 2011 13:36:08 +0000 (15:36 +0200)]
codecparsers: vc1: debug cosmetics.

13 years agocodecparsers: vc1: record picture layer header size in bits.
Gwenole Beauchesne [Mon, 3 Oct 2011 09:42:32 +0000 (11:42 +0200)]
codecparsers: vc1: record picture layer header size in bits.

13 years agocodecparsers: vc1: compute altpquant.
Gwenole Beauchesne [Mon, 3 Oct 2011 09:14:25 +0000 (11:14 +0200)]
codecparsers: vc1: compute altpquant.

13 years agocodecparsers: VC1: Fix after GstVC1ParserResult renaming
Thibault Saunier [Mon, 3 Oct 2011 17:22:17 +0000 (14:22 -0300)]
codecparsers: VC1: Fix after GstVC1ParserResult renaming

13 years agocodecparsers: vc1: use GstVC1ParserResult type name similarly to other parsers.
Gwenole Beauchesne [Fri, 30 Sep 2011 10:41:13 +0000 (12:41 +0200)]
codecparsers: vc1: use GstVC1ParserResult type name similarly to other parsers.

13 years agocodecparsers: vc1: handle End-of-Sequence correctly.
Gwenole Beauchesne [Fri, 30 Sep 2011 09:38:15 +0000 (11:38 +0200)]
codecparsers: vc1: handle End-of-Sequence correctly.

13 years agocodecparsers: mpeg2: fix quant_matrix_extension() parser for chroma intra QM.
Gwenole Beauchesne [Wed, 14 Sep 2011 12:21:47 +0000 (14:21 +0200)]
codecparsers: mpeg2: fix quant_matrix_extension() parser for chroma intra QM.

13 years agoh264parse: correct debug message and remove some dead code
Sreerenj Balachandran [Thu, 13 Oct 2011 13:52:43 +0000 (16:52 +0300)]
h264parse: correct debug message and remove some dead code

See #661113.

13 years agoh264parse: correct parsing of "numberOfPictureParameterSets"
Sreerenj Balachandran [Thu, 6 Oct 2011 13:55:43 +0000 (16:55 +0300)]
h264parse: correct parsing of "numberOfPictureParameterSets"

See #661113.

13 years agocamerabin2: Check before acessing preview location list
Thiago Santos [Wed, 12 Oct 2011 15:09:18 +0000 (12:09 -0300)]
camerabin2: Check before acessing preview location list

Only access the preview location if it exists, to avoid acessing
a NULL variable. If the preview location list doesn't exist, it is
likely because the source has posted a preview message after camerabin2
has been put to READY.

13 years agoshm: Add buffer-time property
Sjoerd Simons [Sun, 7 Aug 2011 15:01:48 +0000 (17:01 +0200)]
shm: Add buffer-time property

Add a buffer-time property to limit the size of the amount of data
queued in the shmsink buffer in nanoseconds.

Fixes: #656107

13 years agoshm: Add ability to add uint64 tags on buffers
Sjoerd Simons [Sun, 7 Aug 2011 14:36:32 +0000 (16:36 +0200)]
shm: Add ability to add uint64 tags on buffers

13 years agobasecamerasrc: Set preview pipeline to ready when going to ready
Thiago Santos [Wed, 12 Oct 2011 02:30:49 +0000 (23:30 -0300)]
basecamerasrc: Set preview pipeline to ready when going to ready

The preview pipeline should go to ready when the camerasrc goes
to ready, as in ready elements shouldn't be processing data.

13 years agocamerabin2: Add a mutex to avoid concurrent access of preview filename lists
Thiago Santos [Wed, 12 Oct 2011 02:13:00 +0000 (23:13 -0300)]
camerabin2: Add a mutex to avoid concurrent access of preview filename lists

The preview filename list is acessed whenever a new capture is started, when
camera-source posts a new preview message or on state changes. All of those can
occur simultaneously, so add a mutex to prevent concurrent access.

13 years agocamerabin: Reset audiosrc timestamping
Thiago Santos [Fri, 7 Oct 2011 13:48:07 +0000 (10:48 -0300)]
camerabin: Reset audiosrc timestamping

Reset audiosrc's timestamping data by setting
it to NULL to reset the ringbuffer and then re-seting
the clock that camerabin might not redistribute