platform/upstream/gstreamer.git
12 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.

12 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.

12 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()

12 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

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

12 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

12 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

12 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).

12 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).

12 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.

12 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.

12 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

12 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

12 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.

12 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).

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

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

12 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

12 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

12 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

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

12 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.

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

12 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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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

12 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

12 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.

12 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.

12 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

12 years agocamerabin: Prevent audio source from providing clock
Thiago Santos [Tue, 11 Oct 2011 19:27:07 +0000 (16:27 -0300)]
camerabin: Prevent audio source from providing clock

camerabin's audio source might be put to NULL during its
use, so the clock would be lost. Better not allow it to
provide a clock at all.

12 years agoexamples: Fixes for compiling with GTK+ 3.0
Arun Raghavan [Thu, 6 Oct 2011 17:52:51 +0000 (23:22 +0530)]
examples: Fixes for compiling with GTK+ 3.0

camerabing example had a missing ')' and the fix to build against GTK+3
that was introduced in commit 516c977c76ba4cd86a7147aab7416a33d76f870f
is also applied to the camerabin2 example.

The scaletempo demo was using API which has been removed, so that's
wrapped in a version check.

12 years agoh264parse: Make proper use of the h264parser lib in parse_chain
Thibault Saunier [Thu, 6 Oct 2011 15:15:45 +0000 (12:15 -0300)]
h264parse: Make proper use of the h264parser lib in parse_chain

Minor debugging logs fixes

12 years agoh264parse: properly interpret baseparse draining state
Mark Nauwelaerts [Thu, 6 Oct 2011 10:25:26 +0000 (12:25 +0200)]
h264parse: properly interpret baseparse draining state

... which means the input data has reached the end, but need not exclude
many separate frames may still need parsing.

Fixes merging NALs into AU.

12 years agoh264parse: correct the size argument of gst_h264_parser_identify_nalu_avc()
Sreerenj Balachandran [Wed, 5 Oct 2011 20:14:23 +0000 (23:14 +0300)]
h264parse: correct the size argument of gst_h264_parser_identify_nalu_avc()

12 years agoh264parse: minimum size of parsable avcC data should be 8
Sreerenj Balachandran [Wed, 5 Oct 2011 09:09:04 +0000 (12:09 +0300)]
h264parse: minimum size of parsable avcC data should be 8

12 years agovideoparsers: Only fail to initialize the plugin if all parsers can't be registered
Sebastian Dröge [Tue, 4 Oct 2011 10:31:05 +0000 (12:31 +0200)]
videoparsers: Only fail to initialize the plugin if all parsers can't be registered

12 years agocamerabin2: Initialize camerabin2 preview pipeline data with 0
Thiago Santos [Mon, 3 Oct 2011 18:26:14 +0000 (15:26 -0300)]
camerabin2: Initialize camerabin2 preview pipeline data with 0

Use g_new0 to initialize all fields with 0 to only cleanup what has been
initialized. This makes cleanup work correctly when some initialization
fails and pointers are left in some inconsistent state.

12 years agortpvp8pay: Fix typo
Sebastian Dröge [Mon, 3 Oct 2011 10:06:27 +0000 (12:06 +0200)]
rtpvp8pay: Fix typo

12 years agortpvp8: Update the pay/depay to the ietf-draft-01 spec
Youness Alaoui [Fri, 23 Sep 2011 22:58:30 +0000 (22:58 +0000)]
rtpvp8: Update the pay/depay to the ietf-draft-01 spec

12 years agoopusdec: fix decoding
Vincent Penquerc'h [Wed, 28 Sep 2011 13:57:02 +0000 (14:57 +0100)]
opusdec: fix decoding

A simple ... opusenc ! opusdec ... pipeline now works.

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

12 years agoopusenc: moan if we get an unexpected amount of data
Vincent Penquerc'h [Wed, 28 Sep 2011 13:56:18 +0000 (14:56 +0100)]
opusenc: moan if we get an unexpected amount of data

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

12 years agoopus: properly setup caps and init state from caps
Vincent Penquerc'h [Wed, 28 Sep 2011 13:22:02 +0000 (14:22 +0100)]
opus: properly setup caps and init state from caps

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

12 years agoopusenc: use the same frame size setup as the opus test code
Vincent Penquerc'h [Wed, 28 Sep 2011 12:25:21 +0000 (13:25 +0100)]
opusenc: use the same frame size setup as the opus test code

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

12 years agoopusdec: opus supports a select set of sampling rates
Vincent Penquerc'h [Wed, 28 Sep 2011 12:24:52 +0000 (13:24 +0100)]
opusdec: opus supports a select set of sampling rates

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

12 years agoopus: make it build against current, and remove cruft
Vincent Penquerc'h [Wed, 28 Sep 2011 12:24:21 +0000 (13:24 +0100)]
opus: make it build against current, and remove cruft

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

12 years agompegtsdemux: fix scanning stopping too early
Vincent Penquerc'h [Fri, 30 Sep 2011 17:54:04 +0000 (18:54 +0100)]
mpegtsdemux: fix scanning stopping too early

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

12 years agokate: avoid rendering when we know there is nothing to render
Vincent Penquerc'h [Thu, 29 Sep 2011 19:55:22 +0000 (20:55 +0100)]
kate: avoid rendering when we know there is nothing to render

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

12 years agokate: fix race condition on PAUSED->READY state change
Vincent Penquerc'h [Sat, 1 Oct 2011 13:30:07 +0000 (14:30 +0100)]
kate: fix race condition on PAUSED->READY state change

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

12 years agompegpsdemux: take into account SCR offset when seeking
Vincent Penquerc'h [Wed, 21 Sep 2011 13:53:01 +0000 (14:53 +0100)]
mpegpsdemux: take into account SCR offset when seeking

Since the seeking byte offset is chosen by linear interpolation
from SCR values, we need to take that first SCR into account
to end up near the correct offset. Otherwise, as the code does
a linear search after that first seek, it will take a LOOOOOONG
time to get there for streams which don't start at zero.

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

12 years agompegdemux: answer position query with a stream time position
Vincent Penquerc'h [Wed, 21 Sep 2011 16:29:52 +0000 (17:29 +0100)]
mpegdemux: answer position query with a stream time position

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

12 years agompegpsdemux: remove unused field
Vincent Penquerc'h [Tue, 20 Sep 2011 14:21:53 +0000 (15:21 +0100)]
mpegpsdemux: remove unused field

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

12 years agotests: camerabin2: Refactor tests a little
Thiago Santos [Thu, 29 Sep 2011 21:20:44 +0000 (18:20 -0300)]
tests: camerabin2: Refactor tests a little

Refactor camerabin2 tests a little

12 years agotests: camerabin2: adding tests to check for preview message filenames
Thiago Santos [Thu, 29 Sep 2011 16:03:08 +0000 (13:03 -0300)]
tests: camerabin2: adding tests to check for preview message filenames

Preview messages now have filenames, add tests to check that they are
correct

12 years agocamerabin2: add location to preview image messages
Thiago Santos [Thu, 29 Sep 2011 21:03:25 +0000 (18:03 -0300)]
camerabin2: add location to preview image messages

Makes camerabin2 intercept preview-image messages and add
the filename corresponding to the message structure in the
'location' field.

Makes easier for applications to track preview images

12 years agocamerabin2: removing capsfilter from preview pipeline
Thiago Santos [Tue, 27 Sep 2011 16:04:21 +0000 (13:04 -0300)]
camerabin2: removing capsfilter from preview pipeline

appsink already has a caps property, so we don't need the
capsfilter here

12 years agocamerabin2: Fix potential loss of EOS event
Robert Swain [Thu, 29 Sep 2011 14:22:00 +0000 (16:22 +0200)]
camerabin2: Fix potential loss of EOS event

Setting the audio source to NULL just after pushing the EOS event
on it could potentially cause loss of said EOS event. Instead, we
can set the audio source to NULL when ready-for-capture is
signalled and the boolean value is true as this indicates we are
not currently capturing video.

12 years agocamerabin2: Stop the audio source between captures
Robert Swain [Mon, 26 Sep 2011 15:23:41 +0000 (17:23 +0200)]
camerabin2: Stop the audio source between captures

Move the audio source setting of state to NULL to _stop_capture () to
avoid the audio source running between captures.

12 years agofaac: Also set maximum number of samples that the subclass wants
Sebastian Dröge [Mon, 26 Sep 2011 14:26:31 +0000 (16:26 +0200)]
faac: Also set maximum number of samples that the subclass wants

12 years agofaac: Simple fix for GstAudioEncoder API change
Sebastian Dröge [Mon, 26 Sep 2011 14:05:40 +0000 (16:05 +0200)]
faac: Simple fix for GstAudioEncoder API change

12 years agocodecparser: VC1: Implement a VC1 parsing library
Thibault Saunier [Tue, 23 Aug 2011 21:25:20 +0000 (18:25 -0300)]
codecparser: VC1: Implement a VC1 parsing library

12 years agocodecparsers: Declare the new APIs as unstable for the time being
Thibault Saunier [Fri, 16 Sep 2011 22:03:31 +0000 (19:03 -0300)]
codecparsers: Declare the new APIs as unstable for the time being

12 years agompegtsdemux: keep CRC table in .rodata
Vincent Penquerc'h [Mon, 26 Sep 2011 10:44:02 +0000 (11:44 +0100)]
mpegtsdemux: keep CRC table in .rodata

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

12 years agoirtspparse: add Interleaved RTSP parser element
Mark Nauwelaerts [Tue, 20 Sep 2011 14:29:55 +0000 (16:29 +0200)]
irtspparse: add Interleaved RTSP parser element

12 years agofaad: fix compiler warning
Tim-Philipp Müller [Fri, 23 Sep 2011 09:10:37 +0000 (10:10 +0100)]
faad: fix compiler warning

gstfaad.c: In function 'gst_faad_parse':
gstfaad.c:615:11: error: 'len' may be used uninitialized in this function

12 years agofaad: parse wants a GstFlowReturn return value, not a gboolean
Tim-Philipp Müller [Fri, 23 Sep 2011 08:57:01 +0000 (09:57 +0100)]
faad: parse wants a GstFlowReturn return value, not a gboolean

12 years agopsmux: fix writing of system header, which makes VLC not skip the adjacent PSM and...
Tim-Philipp Müller [Thu, 22 Sep 2011 19:11:21 +0000 (20:11 +0100)]
psmux: fix writing of system header, which makes VLC not skip the adjacent PSM and play embedded H.264 streams

header_length contains the length in bytes after the header_length
field, excluding the 6 byte start code and header_length field.

H.264 streams and some other formats need to be announced in the PSM.
VLC wouldn't play files created with mpegpsmux containing H.264 because
we claim the system header is larger than it actually is, which makes
VLC skip the program stream map which follows the system header, which
in turn makes it not recognise our H.264 video stream.

12 years agodocs: add ignore rules for libs docs directory
Tim-Philipp Müller [Thu, 22 Sep 2011 19:09:32 +0000 (20:09 +0100)]
docs: add ignore rules for libs docs directory

12 years agofaac: fixup misunderstanding in sample counting
Mark Nauwelaerts [Thu, 22 Sep 2011 16:23:32 +0000 (18:23 +0200)]
faac: fixup misunderstanding in sample counting

... between codec and audioencoder regarding whether or not channel
count is already considered.

Fixes #659836.

12 years agofaad: use some more boilerplate
Mark Nauwelaerts [Thu, 22 Sep 2011 14:01:56 +0000 (16:01 +0200)]
faad: use some more boilerplate

12 years agofaad: port to audiodecoder
Mark Nauwelaerts [Thu, 22 Sep 2011 07:49:21 +0000 (09:49 +0200)]
faad: port to audiodecoder

12 years agofaac: use some more boilerplate
Mark Nauwelaerts [Wed, 21 Sep 2011 14:11:27 +0000 (16:11 +0200)]
faac: use some more boilerplate

12 years agofaac: port to audioencoder
Mark Nauwelaerts [Wed, 21 Sep 2011 14:01:28 +0000 (16:01 +0200)]
faac: port to audioencoder

12 years agokate: forward return code from setting src pad caps
Vincent Penquerc'h [Tue, 20 Sep 2011 15:54:32 +0000 (16:54 +0100)]
kate: forward return code from setting src pad caps

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

12 years agobasecamerasrc: Fail state change if preview pipeline fails creation
Thiago Santos [Tue, 20 Sep 2011 16:00:49 +0000 (13:00 -0300)]
basecamerasrc: Fail state change if preview pipeline fails creation

If the preview pipeline fails creation, for any reason, we should
fail basecamerasrc state change.

Also adds a missing g_return_if_fail check to preview pipeline
functions

12 years agocodecparsers: Add checks to input, and fix size checking
Edward Hervey [Mon, 19 Sep 2011 14:32:58 +0000 (16:32 +0200)]
codecparsers: Add checks to input, and fix size checking

12 years agoh263parse: bring debug statements up to desired specs
Mark Nauwelaerts [Mon, 19 Sep 2011 12:54:11 +0000 (14:54 +0200)]
h263parse: bring debug statements up to desired specs

12 years agoh264parse: bring debug statements up to desired specs
Mark Nauwelaerts [Mon, 19 Sep 2011 12:07:52 +0000 (14:07 +0200)]
h264parse: bring debug statements up to desired specs

12 years agocodecparsinglibs: Doc and indentation fixes
Edward Hervey [Mon, 19 Sep 2011 11:41:44 +0000 (13:41 +0200)]
codecparsinglibs: Doc and indentation fixes

12 years agortpvp8: fix bitstream parsing using the wrong kind of bitreader
Vincent Penquerc'h [Sat, 10 Sep 2011 10:31:20 +0000 (11:31 +0100)]
rtpvp8: fix bitstream parsing using the wrong kind of bitreader

VP8 uses a probabilistic bool coder, not a straight bit coder.
This fixes parsing when error-resilient is set.

This commit includes a copy of libvpx's bool coder, BSD licensed.

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

12 years agocelt: a bit more error checking on header parsing
Vincent Penquerc'h [Wed, 14 Sep 2011 19:22:42 +0000 (20:22 +0100)]
celt: a bit more error checking on header parsing

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

12 years agoceltenc: cleanup header creation
Vincent Penquerc'h [Wed, 14 Sep 2011 18:56:40 +0000 (19:56 +0100)]
celtenc: cleanup header creation

Avoid an extra copy via a temporary fixed size stack buffer.
Use libcelt's header size to allocate a buffer of the correct
size in the first place (libcelt has an off by 4 there, so
account for this).
While there, make size unsigned, and granpos signed.

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

12 years agoceltenc: do not use invalid buffer timestamps
Vincent Penquerc'h [Wed, 14 Sep 2011 18:09:30 +0000 (19:09 +0100)]
celtenc: do not use invalid buffer timestamps

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

12 years agoceltdec: fix error checking with libcelt 0.11
Vincent Penquerc'h [Wed, 14 Sep 2011 16:26:05 +0000 (17:26 +0100)]
celtdec: fix error checking with libcelt 0.11

The return value of celt_decode has changed, newer versions
now return positive values on success.

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

12 years agoceltenc: allow actually overriding frame size
Vincent Penquerc'h [Wed, 14 Sep 2011 16:07:50 +0000 (17:07 +0100)]
celtenc: allow actually overriding frame size

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

12 years agokate: flush on seek, and ensure we cancel any waiting buffer
Vincent Penquerc'h [Tue, 13 Sep 2011 15:24:32 +0000 (16:24 +0100)]
kate: flush on seek, and ensure we cancel any waiting buffer

This is what pango textoverlay does, and I've had that condition
variable get stuck once.

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

12 years agoh264parse: do not try to read from a non existent VUI
Vincent Penquerc'h [Mon, 12 Sep 2011 10:17:20 +0000 (11:17 +0100)]
h264parse: do not try to read from a non existent VUI

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

12 years agocamerabin2: Adding 2 more log messages
Thiago Santos [Fri, 16 Sep 2011 03:32:02 +0000 (00:32 -0300)]
camerabin2: Adding 2 more log messages

12 years agocamerabin2: replace deprecated g_atomic_int_exchange_and_add
Vincent Penquerc'h [Wed, 14 Sep 2011 14:20:09 +0000 (15:20 +0100)]
camerabin2: replace deprecated g_atomic_int_exchange_and_add

It was replaced by g_atomic_int_add, which now returns the
old value.

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

12 years agocamerabin2: Reset last state change result on state-locked elements
Thiago Santos [Thu, 15 Sep 2011 20:35:44 +0000 (17:35 -0300)]
camerabin2: Reset last state change result on state-locked elements

An element stores the result for the last state change it did and
GstBin's state change handler will use this last result for state
locked elements to decide if its state change was successfull or not.

In camerabin2, the filesinks have their state locked and when they
fail switching states, this last failure will be used if the application
tries to change camerabin2's state, causing any state change to fail.

This patch makes camerabin2 reset this last change failure, avoiding
that camerabin2 fails on its next state changes.

12 years agospanplc: Fix typos
Olivier Crête [Thu, 15 Sep 2011 22:17:24 +0000 (18:17 -0400)]
spanplc: Fix typos

12 years agompegvideoparse: Handle properly frame detection
Thibault Saunier [Tue, 13 Sep 2011 23:40:35 +0000 (20:40 -0300)]
mpegvideoparse: Handle properly frame detection

Handle the case where we have buffers containing no startcode
in the middle of a frame properly.

12 years agocodecparsers: mpegvideo: Debugging symbols enhancements
Thibault Saunier [Tue, 13 Sep 2011 23:38:27 +0000 (20:38 -0300)]
codecparsers: mpegvideo: Debugging symbols enhancements

12 years agocodecparsers: mpegvideo: Add the ChromaType enum
Thibault Saunier [Mon, 12 Sep 2011 16:54:37 +0000 (13:54 -0300)]
codecparsers: mpegvideo: Add the ChromaType enum

12 years agocodecparsers: mpegvideo: Change broken_gop to broken_link
Thibault Saunier [Mon, 12 Sep 2011 16:41:41 +0000 (13:41 -0300)]
codecparsers: mpegvideo: Change broken_gop to broken_link

This way we respect the standard naming