platform/upstream/gstreamer.git
13 years agoelement-maker: Add baseparse template
David Schleef [Sat, 9 Oct 2010 22:06:12 +0000 (15:06 -0700)]
element-maker: Add baseparse template

13 years agobaseparse: Create baseparse library
David Schleef [Wed, 13 Oct 2010 22:39:55 +0000 (15:39 -0700)]
baseparse: Create baseparse library

13 years agodvdsubdec: make up clut values if they weren't set
David Schleef [Thu, 17 Feb 2011 05:17:57 +0000 (21:17 -0800)]
dvdsubdec: make up clut values if they weren't set

13 years agompegtsmux: fix release_pad
David Schleef [Sun, 5 Dec 2010 03:55:32 +0000 (19:55 -0800)]
mpegtsmux: fix release_pad

Remove bogus freeing of pad element_private data that we
never set (collectpads uses it, which causes confusion here).
Also, check that our collectpads instance exists before using
it.  Partial fix for #636011.

13 years agompegtsdemux: use G_GUINT64_FORMAT as format specifier for guint64
Janne Grunau [Thu, 17 Feb 2011 20:33:56 +0000 (21:33 +0100)]
mpegtsdemux: use G_GUINT64_FORMAT as format specifier for guint64

fixes compilation on 32bit

13 years agocolorspace: Fix memory leak
David Schleef [Wed, 16 Feb 2011 02:12:02 +0000 (18:12 -0800)]
colorspace: Fix memory leak

13 years agompegtsdemux: relicense gstmpegdefs.h, gstmpegdesc.h and gstmpegdesc.c to LGPL only
Janne Grunau [Thu, 10 Feb 2011 11:35:47 +0000 (12:35 +0100)]
mpegtsdemux: relicense gstmpegdefs.h, gstmpegdesc.h and gstmpegdesc.c to LGPL only

with permission from the license header:
"""
This library is licensed under 2 different licenses and you
can choose to use it under the terms of either one of them. The
two licenses are the MPL 1.1 and the LGPL.
"""

13 years agompegtsdemux: add MPEG TS demuxer rewrite from Edward Hervey
Janne Grunau [Wed, 16 Feb 2011 16:57:42 +0000 (17:57 +0100)]
mpegtsdemux: add MPEG TS demuxer rewrite from Edward Hervey

with contributions from Miquel Angel Farre Guiu and Zaheer Abbas Merali

13 years agobaseparse: tune QUERY_SEEKING response
Mark Nauwelaerts [Thu, 17 Feb 2011 13:12:43 +0000 (14:12 +0100)]
baseparse: tune QUERY_SEEKING response

Even if we currently do not have a duration yet, assume seekable if
it looks like we'll likely be able to determine it later on
(which coincides with needed information to perform seeking).

13 years agobaseparse: tune QUERY_SEEKING response
Mark Nauwelaerts [Mon, 7 Feb 2011 13:46:57 +0000 (14:46 +0100)]
baseparse: tune QUERY_SEEKING response

Even if we currently do not have a duration yet, assume seekable if
it looks like we'll likely be able to determine it later on
(which coincides with needed information to perform seeking).

Fixes #641047.

13 years agofaac: remove extraneous buffer unref
Mark Nauwelaerts [Thu, 17 Feb 2011 11:28:56 +0000 (12:28 +0100)]
faac: remove extraneous buffer unref

13 years agoicles: Completely remove equalizer-test from -bad, it's in -good now
Sebastian Dröge [Wed, 16 Feb 2011 14:29:29 +0000 (15:29 +0100)]
icles: Completely remove equalizer-test from -bad, it's in -good now

13 years agoequalizer-test: Initialize debug category after gst_init() to fix segfault
Sebastian Dröge [Wed, 16 Feb 2011 14:23:50 +0000 (15:23 +0100)]
equalizer-test: Initialize debug category after gst_init() to fix segfault

13 years agoAutomatic update of common submodule
Stefan Kost [Mon, 14 Feb 2011 10:53:49 +0000 (12:53 +0200)]
Automatic update of common submodule

From f94d739 to 1de7f6a

13 years agodocs: remove duplicated rule from Makefile.am
Stefan Kost [Mon, 14 Feb 2011 10:14:12 +0000 (12:14 +0200)]
docs: remove duplicated rule from Makefile.am

This causes a make warning and might even cause dist-failure. Other modules
don't need to override the target either and if we can fi it in
common/gtk-doc-plugins.mak.

13 years agodocs: add rsvg plugin to the docs
Stefan Kost [Mon, 14 Feb 2011 09:48:34 +0000 (11:48 +0200)]
docs: add rsvg plugin to the docs

13 years agorsvgdec: add basic doc-blob
Stefan Kost [Mon, 14 Feb 2011 09:42:52 +0000 (11:42 +0200)]
rsvgdec: add basic doc-blob

13 years agorsvgoverlay: implement x/y/width/height (absolute and relative) positioning and dimen...
Olivier Aubert [Fri, 11 Feb 2011 16:59:31 +0000 (17:59 +0100)]
rsvgoverlay: implement x/y/width/height (absolute and relative) positioning and dimensioning

Signed-off-by: Olivier Aubert <olivier.aubert@liris.cnrs.fr>
13 years agocamerabin: application element memory leak fixes
Teemu Katajisto [Thu, 10 Feb 2011 14:00:03 +0000 (16:00 +0200)]
camerabin: application element memory leak fixes

 If videobin/imagebin was never set to READY state the ownership
 of elements created and set by application were never taken by
 bin and therefore gst_object_sink is called for these elements
 before unreffing (they may still be in floating state and not
 unreffed properly without sinking first)

13 years agophotography interface: update the noise_reduction type from guint to GstPhotographyNo...
Hu Gang [Thu, 10 Feb 2011 02:35:18 +0000 (10:35 +0800)]
photography interface: update the noise_reduction type from guint to GstPhotographyNoiseReduction

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

13 years agobaseparse: Update min/max bitrate before first posting them
Arun Raghavan [Tue, 8 Feb 2011 18:09:24 +0000 (23:39 +0530)]
baseparse: Update min/max bitrate before first posting them

This avoids posting an initial min-bitrate of G_UINTMAX and max-bitrate
of 0.

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

13 years agompegaudioparse: Post CBR bitrate as nominal bitrate
Arun Raghavan [Tue, 8 Feb 2011 18:20:13 +0000 (23:50 +0530)]
mpegaudioparse: Post CBR bitrate as nominal bitrate

Even if VBR headers are missing, we can't guarantee that a stream is in
fact a CBR stream, so it's safer to let baseparse calculate the average
bitrate rather than assume a CBR stream. However, in order to make
/some/ metadata available before the requisite number of frames have
been parsed, this posts the bitrate from the non-VBR headers as the
nominal bitrate.

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

13 years agocamerabin: Always take photo when preview-caps is set
Luciana Fujii Pontello [Fri, 4 Feb 2011 03:00:55 +0000 (01:00 -0200)]
camerabin: Always take photo when preview-caps is set

When filename is not set, but preview-caps is set, take the photo and
send its preview.

13 years agocamerabin: Events with select-all in input-selector
Luciana Fujii Pontello [Wed, 26 Jan 2011 13:49:48 +0000 (11:49 -0200)]
camerabin: Events with select-all in input-selector

When select-all was set, input-selector wasn't handling upstream events.
Now input-selector forwards the event to all of its sink pads. This
changes the input-selector internal to camerabin until it is replaced
with a better solution.

13 years agodirectdrawsink: avoid aspect-ratio borders overlying other windows
Mark Nauwelaerts [Mon, 7 Feb 2011 22:17:55 +0000 (23:17 +0100)]
directdrawsink: avoid aspect-ratio borders overlying other windows

Fixes #632056.

13 years agodirectdrawsink: avoid rendering to invalid area
Mark Nauwelaerts [Mon, 7 Feb 2011 21:47:34 +0000 (22:47 +0100)]
directdrawsink: avoid rendering to invalid area

Based on patch by Havard Graff <havard.graff@tandberg.com>

Fixes #594280.

13 years agowrappercamerabinsrc: Do not re-set the clock if it is null
Thiago Santos [Tue, 8 Feb 2011 14:24:59 +0000 (11:24 -0300)]
wrappercamerabinsrc: Do not re-set the clock if it is null

Avoids not needed work and doesn't assert when trying to
unref the null reference

13 years agoexamples: camerabin: fix --no-xwindow option handling in gst-camerabin-test
Teemu Katajisto [Mon, 7 Feb 2011 07:50:22 +0000 (09:50 +0200)]
examples: camerabin: fix --no-xwindow option handling in gst-camerabin-test

--no-window flag is false by default and selection based on the option whether
to create XWindow is done before options are parsed. Therefore XWindow is never
created.

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

13 years agoamrparse: a valid amr-wb frame should not have reserved frame type index
Mark Nauwelaerts [Mon, 6 Sep 2010 12:10:11 +0000 (14:10 +0200)]
amrparse: a valid amr-wb frame should not have reserved frame type index

See #639715.

13 years agoconfigure.ac: set GST_LIB_LDFLAGS
Mark Nauwelaerts [Mon, 7 Feb 2011 13:05:34 +0000 (14:05 +0100)]
configure.ac: set GST_LIB_LDFLAGS

Aligns GST_LIB_LDFLAGS with e.g. -base to arrange for proper exports in libs.

13 years agocamerabin-tests: fix lookup of UI files
Stefan Kost [Wed, 12 Jan 2011 15:13:07 +0000 (17:13 +0200)]
camerabin-tests: fix lookup of UI files

These are uninstalled examples. Pass $srcdir to cpp to build the correct
location for the UI file.

13 years agovp8enc: Add description for bitrate units.
Alexey Fisher [Fri, 4 Feb 2011 08:08:26 +0000 (09:08 +0100)]
vp8enc: Add description for bitrate units.

13 years agoimagecapturebin: Fix property setting
Thiago Santos [Thu, 3 Feb 2011 18:22:51 +0000 (15:22 -0300)]
imagecapturebin: Fix property setting

Set the property on the child and not on itself causing infinite
looping

13 years agotests: camerabin2: Improve preview checking
Thiago Santos [Tue, 1 Feb 2011 14:20:25 +0000 (11:20 -0300)]
tests: camerabin2: Improve preview checking

13 years agowrappercamerabinsrc: Fix preview messages
Thiago Santos [Tue, 1 Feb 2011 14:19:53 +0000 (11:19 -0300)]
wrappercamerabinsrc: Fix preview messages

Image previews where being posted in sync with the buffers
timestamps, this makes no sense as previews should be posted ASAP.

Also adds some debugging messages.

13 years agowrappercamerabinsrc: Handle src state change to avoid losing timestamps
Thiago Santos [Tue, 1 Feb 2011 14:19:29 +0000 (11:19 -0300)]
wrappercamerabinsrc: Handle src state change to avoid losing timestamps

Camerabin2 uses state changes to force the source to renegotiate its
caps to the capture formats. The state changes makes the source lose
its clock and base_time, causing it to stop timestamping the buffers.

We still need a proper way to make sources renegotiate its caps, so this
patch is a hack to make the source continue timestamping buffers even
after changing state. The patch works by getting the clock and base
time before doing the state change to NULL and setting them back
after putting it to PLAYING again. It also cares to drop the first
new segment after this state change.

13 years agotests: camerabin2: preview filter tests
Thiago Santos [Thu, 27 Jan 2011 18:35:14 +0000 (15:35 -0300)]
tests: camerabin2: preview filter tests

Adds tests to the preview-filter property of camerabin2

13 years agocamerabin2: Add preview-filter property
Thiago Santos [Thu, 27 Jan 2011 17:39:19 +0000 (14:39 -0300)]
camerabin2: Add preview-filter property

Adds a property to select a custom element for preview pipeline
buffers processing

13 years agotests: camerabin2: Add tests for custom filters
Thiago Santos [Thu, 27 Jan 2011 13:19:42 +0000 (10:19 -0300)]
tests: camerabin2: Add tests for custom filters

Adds tests to check that custom filters elements receive buffers

13 years agocamerabin2: Add custom filter properties
Thiago Santos [Wed, 26 Jan 2011 18:27:19 +0000 (15:27 -0300)]
camerabin2: Add custom filter properties

Adds custom filter properties for camerabin2. Custom filters
can be added to video/image/preview branches.

13 years agocamerabin: Initialize variables
Edward Hervey [Thu, 3 Feb 2011 15:24:24 +0000 (16:24 +0100)]
camerabin: Initialize variables

Makes compilers happy

13 years agodvbsrc: fix up enum nick names
Tim-Philipp Müller [Wed, 2 Feb 2011 18:41:39 +0000 (18:41 +0000)]
dvbsrc: fix up enum nick names

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

13 years agodccp: use socklen_t where appropriate rather than specific type
Mark Nauwelaerts [Mon, 31 Jan 2011 16:24:24 +0000 (17:24 +0100)]
dccp: use socklen_t where appropriate rather than specific type

In particular, fixes Cygwin build where socklen_t is defined as int
in line with native win32 api definition.

13 years agortpvp8: also link against libgstbase-0.10 for adapter and bit reader API
Tim-Philipp Müller [Tue, 1 Feb 2011 20:01:13 +0000 (20:01 +0000)]
rtpvp8: also link against libgstbase-0.10 for adapter and bit reader API

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

13 years agoid3mux: map new GST_TAG_ENCODED_BY to ID3v2 TENC frame
Tim-Philipp Müller [Tue, 1 Feb 2011 14:40:54 +0000 (14:40 +0000)]
id3mux: map new GST_TAG_ENCODED_BY to ID3v2 TENC frame

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

13 years agovideoparsers: dist h264parse.h, fixing make distcheck
Tim-Philipp Müller [Mon, 31 Jan 2011 17:45:19 +0000 (17:45 +0000)]
videoparsers: dist h264parse.h, fixing make distcheck

Spotted by Nathanael D. Noblet

13 years agocamerabin: optimize setting new caps for preview image pipeline
Teemu Katajisto [Fri, 14 Jan 2011 08:19:28 +0000 (10:19 +0200)]
camerabin: optimize setting new caps for preview image pipeline

Avoid re-creating and linking of preview image pipeline when
setting new preview image caps. Backported from camerabin2.

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

13 years agortpvp8: fix LIBS and CFLAGS order in Makefile.am
Tim-Philipp Müller [Sun, 30 Jan 2011 17:08:11 +0000 (17:08 +0000)]
rtpvp8: fix LIBS and CFLAGS order in Makefile.am

13 years agortpvp8depay: Accept packets with only one byte of data
Sjoerd Simons [Sun, 23 Jan 2011 17:02:38 +0000 (17:02 +0000)]
rtpvp8depay: Accept packets with only one byte of data

When fragmenting partions it can happen that an RTP packet only caries 1
byte of RTP data.

13 years agortpvp8pay: Treat the frame header just like any other partition
Sjoerd Simons [Sun, 23 Jan 2011 16:42:17 +0000 (16:42 +0000)]
rtpvp8pay: Treat the frame header just like any other partition

When setting up the initial mapping just act as if the global frame
information is another partition. This saves special-casing it later in
the actual packetizing code.

13 years agortpvp8: Add simple payloaders and depayloaders for VP8
Sjoerd Simons [Sun, 16 May 2010 16:23:17 +0000 (17:23 +0100)]
rtpvp8: Add simple payloaders and depayloaders for VP8

Minimal implementation of http://www.webmproject.org/code/specs/rtp/,
version 0.3.2

13 years agovideoparsers: add h264parse
Mark Nauwelaerts [Fri, 28 Jan 2011 11:38:19 +0000 (12:38 +0100)]
videoparsers: add h264parse

Functionally equivalent to (legacy)h264parse and re-uses the latter's low
level NAL parsing, but otherwise based on GstBaseParse, and replacing
some property configuration with caps negotiation.

13 years agoh264parse: rename to legacyh264parse
Mark Nauwelaerts [Thu, 27 Jan 2011 17:20:13 +0000 (18:20 +0100)]
h264parse: rename to legacyh264parse

13 years agoh263parse: move to videoparsers and separate plugin registration
Mark Nauwelaerts [Thu, 27 Jan 2011 17:16:14 +0000 (18:16 +0100)]
h263parse: move to videoparsers and separate plugin registration

13 years agoh263parse: update to latest baseparse
Mark Nauwelaerts [Thu, 27 Jan 2011 17:03:50 +0000 (18:03 +0100)]
h263parse: update to latest baseparse

13 years agoh263parse: shuffle code to untangle h263parse and parameter parsing
Mark Nauwelaerts [Thu, 6 Jan 2011 11:29:34 +0000 (12:29 +0100)]
h263parse: shuffle code to untangle h263parse and parameter parsing

13 years agoh263parse: provide for proper debug category, min frame size and code style
Mark Nauwelaerts [Thu, 6 Jan 2011 11:34:12 +0000 (12:34 +0100)]
h263parse: provide for proper debug category, min frame size and code style

13 years agoh263parse: remove redundant get_caps
Mark Nauwelaerts [Fri, 10 Dec 2010 15:40:44 +0000 (16:40 +0100)]
h263parse: remove redundant get_caps

.. as src pad already set to use fixed_caps

13 years agoh263parse: simplify valid_frame parsing
Mark Nauwelaerts [Fri, 10 Dec 2010 15:26:27 +0000 (16:26 +0100)]
h263parse: simplify valid_frame parsing

... considering that baseparse takes care of skipping etc

13 years agoh263parse: Add an h263parse element
Arun Raghavan [Thu, 13 May 2010 20:38:03 +0000 (02:08 +0530)]
h263parse: Add an h263parse element

This adds an h263parse element for parsing H.263 streams, breaking them
up into frame-sized buffers, and exporting metadata such as profile and
level.

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

13 years agoac3parse: improve handling of dependent substream frames
Mark Nauwelaerts [Thu, 27 Jan 2011 15:52:34 +0000 (16:52 +0100)]
ac3parse: improve handling of dependent substream frames

In particular, timestamps of these should track main-stream timestamps.

13 years agobaseparse: tune default duration estimate update interval
Mark Nauwelaerts [Fri, 21 Jan 2011 13:53:39 +0000 (14:53 +0100)]
baseparse: tune default duration estimate update interval

Rather than a fixed default frame count, estimate frame count to aim for
an interval duration depending on fps if available, otherwise use old
fixed default.

13 years agobaseparse: reverse playback; mind keyframes for fragment boundary
Mark Nauwelaerts [Fri, 14 Jan 2011 14:16:04 +0000 (15:16 +0100)]
baseparse: reverse playback; mind keyframes for fragment boundary

13 years agoamrparse: properly check for sufficient available data prior to access
Mark Nauwelaerts [Thu, 13 Jan 2011 14:26:21 +0000 (15:26 +0100)]
amrparse: properly check for sufficient available data prior to access

13 years agobaseparse: ensure non-empty candidate frames
Mark Nauwelaerts [Wed, 12 Jan 2011 13:40:37 +0000 (14:40 +0100)]
baseparse: ensure non-empty candidate frames

13 years agobaseparse: clarify some debug statements
Mark Nauwelaerts [Tue, 11 Jan 2011 14:24:23 +0000 (15:24 +0100)]
baseparse: clarify some debug statements

13 years agobaseparse: properly track upstream timestamps
Mark Nauwelaerts [Tue, 11 Jan 2011 14:24:02 +0000 (15:24 +0100)]
baseparse: properly track upstream timestamps

... rather than with a delay.

13 years agobaseparse: need proper frame duration to obtain sensible frame bitrate
Mark Nauwelaerts [Tue, 11 Jan 2011 14:23:29 +0000 (15:23 +0100)]
baseparse: need proper frame duration to obtain sensible frame bitrate

13 years agobaseparse: proper initial values for index tracking variables
Mark Nauwelaerts [Tue, 11 Jan 2011 14:22:51 +0000 (15:22 +0100)]
baseparse: proper initial values for index tracking variables

13 years agobaseparse: arrange for consistent event handling
Mark Nauwelaerts [Tue, 11 Jan 2011 11:05:13 +0000 (12:05 +0100)]
baseparse: arrange for consistent event handling

13 years agobaseparse: header style cleaning
Mark Nauwelaerts [Mon, 10 Jan 2011 15:59:59 +0000 (16:59 +0100)]
baseparse: header style cleaning

13 years agobaseparse: provide some more initial frame metadata in parse_frame
Mark Nauwelaerts [Mon, 10 Jan 2011 16:07:38 +0000 (17:07 +0100)]
baseparse: provide some more initial frame metadata in parse_frame

... and document accordingly.

13 years agobaseparse: refactor passthrough into format flags
Mark Nauwelaerts [Mon, 10 Jan 2011 15:56:36 +0000 (16:56 +0100)]
baseparse: refactor passthrough into format flags

Also add a format flag to signal baseparse that subclass/format can provide
(parsed) timestamp rather than an estimated one.  In particular, such "strong"
timestamp then allows to e.g. determine duration.

13 years agobaseparse: introduce a baseparse frame to serve as context
Mark Nauwelaerts [Mon, 10 Jan 2011 14:34:48 +0000 (15:34 +0100)]
baseparse: introduce a baseparse frame to serve as context

... and adjust subclass parsers accordingly

13 years agobaseparse: restrict duration scanning to pull mode and avoid extra set_caps call
Mark Nauwelaerts [Fri, 7 Jan 2011 15:39:51 +0000 (16:39 +0100)]
baseparse: restrict duration scanning to pull mode and avoid extra set_caps call

13 years agobaseparse: update some documentation
Mark Nauwelaerts [Fri, 7 Jan 2011 14:58:49 +0000 (15:58 +0100)]
baseparse: update some documentation

Also add some more debug.

13 years agobaseparse: allow increasing min_size for current frame parsing only
Mark Nauwelaerts [Thu, 6 Jan 2011 10:41:44 +0000 (11:41 +0100)]
baseparse: allow increasing min_size for current frame parsing only

Also check that subclass actually either directs to skip bytes or
increases expected frame size to avoid going nowhere in bogus
indefinite looping.

13 years agobaesparse: fix refactor regression in loop based parsing
Mark Nauwelaerts [Fri, 14 Jan 2011 14:26:37 +0000 (15:26 +0100)]
baesparse: fix refactor regression in loop based parsing

13 years agobaseparse: pass all available data to subclass rather than minimum
Mark Nauwelaerts [Thu, 6 Jan 2011 10:16:56 +0000 (11:16 +0100)]
baseparse: pass all available data to subclass rather than minimum

Also reduce some adapter calls and add a few debug statements.

13 years agobaseparse: fix reverse playback handling
Mark Nauwelaerts [Fri, 10 Dec 2010 14:59:49 +0000 (15:59 +0100)]
baseparse: fix reverse playback handling

13 years agobaseparse: minor typo and debug statement cleanup
Mark Nauwelaerts [Fri, 10 Dec 2010 13:56:13 +0000 (14:56 +0100)]
baseparse: minor typo and debug statement cleanup

13 years agobaseparse: reduce locking
Mark Nauwelaerts [Fri, 10 Dec 2010 13:40:05 +0000 (14:40 +0100)]
baseparse: reduce locking

... which is either already mute and/or implicitly handled by STREAM_LOCK.

13 years agovdpau: Initialize some variables to make gcc 4.6 happy
Sebastian Dröge [Thu, 27 Jan 2011 16:32:49 +0000 (17:32 +0100)]
vdpau: Initialize some variables to make gcc 4.6 happy

13 years agobasevideodecoder: Initialize some variables to make gcc 4.6 happy
Sebastian Dröge [Thu, 27 Jan 2011 16:29:12 +0000 (17:29 +0100)]
basevideodecoder: Initialize some variables to make gcc 4.6 happy

13 years agojp2kdec, jp2kenc: add support v308 (4:4:4 YUV)
Tim-Philipp Müller [Wed, 26 Jan 2011 18:45:56 +0000 (18:45 +0000)]
jp2kdec, jp2kenc: add support v308 (4:4:4 YUV)

Because we can.

13 years agotests: camerabin2: Use the correct for limit
Thiago Santos [Wed, 26 Jan 2011 17:27:21 +0000 (14:27 -0300)]
tests: camerabin2: Use the correct for limit

There are 3 taglists to be tested, not 2

13 years agocamerabin2: Do not forget to unref some stuff
Thiago Santos [Wed, 26 Jan 2011 14:40:43 +0000 (11:40 -0300)]
camerabin2: Do not forget to unref some stuff

Cleanup properly by unrefing the encoding profile and preview caps

13 years agocamerabin2: Add names to some elements
Thiago Santos [Wed, 26 Jan 2011 13:54:53 +0000 (10:54 -0300)]
camerabin2: Add names to some elements

Adds names to instances of some elements to make debugging easier

13 years agocamerabin2: Handle videosink states more carefully
Thiago Santos [Tue, 25 Jan 2011 21:10:18 +0000 (18:10 -0300)]
camerabin2: Handle videosink states more carefully

When going to ready, camerabin2 could create an empty file
if the videosink was put to ready. This patch only puts videosink
to ready on the PAUSED_TO_READY state change if it is on PAUSED
or PLAYING.

13 years agobaseparse: avoid loop in frame locating interpolation
Mark Nauwelaerts [Fri, 14 Jan 2011 13:08:38 +0000 (14:08 +0100)]
baseparse: avoid loop in frame locating interpolation

13 years agorsvgoverlay: Do not segfault on unexistent files
Thiago Santos [Tue, 25 Jan 2011 02:32:30 +0000 (23:32 -0300)]
rsvgoverlay: Do not segfault on unexistent files

When passing an unexistent file to rsvgoverlay it would
crash because the svg loading would fail without setting
an error.

This patch makes it check if the handle was actually created
and logs an error in case it didn't. Maybe it should post an
error to the bus, but the previous error handling didn't, so
I just followed the same logic.

13 years agoexamples: camerabin: add timing printing for preview image
Thiago Santos [Mon, 24 Jan 2011 21:37:12 +0000 (18:37 -0300)]
examples: camerabin:  add timing printing for preview image

Measure and print the time taken to generate preview image. And
fix a typo

13 years agowrappercamerabinsrc: Remove unused macro
Thiago Santos [Mon, 24 Jan 2011 21:36:58 +0000 (18:36 -0300)]
wrappercamerabinsrc: Remove unused macro

13 years agoexamples: camerabin: Don't set default values for GstPhotography interface settings
Lasse Laukkanen [Wed, 12 Jan 2011 14:26:19 +0000 (16:26 +0200)]
examples: camerabin: Don't set default values for GstPhotography interface settings

Don't set any default values for source element GstPhotography interface
settings, source elements should have sane defaults themselves.
Also, setting scene-mode is tricky as it is a superset of other GstPhotography
settings. This might cause problem with defaults e.g. setting scene-mode to
'night' may configure flash-mode as 'on' by definition, and after that
we don't want to override this flash-mode setting with gst-camerabin-test default
value. Moreover, user needs have an option to set scene mode first and then force
some individual setting to a different value from the scene-mode definition.

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

13 years agowrappercamerabinsrc: Check the start time of buffers
Thiago Santos [Mon, 24 Jan 2011 20:46:49 +0000 (17:46 -0300)]
wrappercamerabinsrc: Check the start time of buffers

Be careful when trying to create a newsegment event to avoid
start times of -1 from invalid buffer timestamps

13 years agodvdspu: don't write clipped lines to the output buffer
Vincent Penquerc'h [Tue, 11 Jan 2011 15:52:03 +0000 (15:52 +0000)]
dvdspu: don't write clipped lines to the output buffer

We may not increment the output pointer, but it'll still be just
off the end of the allocated area.

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

13 years agocamerabin2: Update porting file
Thiago Santos [Wed, 19 Jan 2011 18:07:25 +0000 (15:07 -0300)]
camerabin2: Update porting file

Adds porting information about using encodebin on camerabin2

13 years agocamerabin2: Add image-done message
Thiago Santos [Fri, 14 Jan 2011 11:12:25 +0000 (08:12 -0300)]
camerabin2: Add image-done message

Post an image-done message when a new image is saved to disk

13 years agocamerabin2: Implement tagsetter interface
Thiago Santos [Tue, 11 Jan 2011 17:50:48 +0000 (14:50 -0300)]
camerabin2: Implement tagsetter interface

13 years agotests: camerabin2: Add preview image to tests
Thiago Santos [Tue, 11 Jan 2011 13:29:48 +0000 (10:29 -0300)]
tests: camerabin2: Add preview image to tests

Adds tests for checking that preview images are posted with
the correct caps on tests