David Schleef [Sat, 9 Oct 2010 22:06:12 +0000 (15:06 -0700)]
element-maker: Add baseparse template
David Schleef [Wed, 13 Oct 2010 22:39:55 +0000 (15:39 -0700)]
baseparse: Create baseparse library
David Schleef [Thu, 17 Feb 2011 05:17:57 +0000 (21:17 -0800)]
dvdsubdec: make up clut values if they weren't set
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.
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
David Schleef [Wed, 16 Feb 2011 02:12:02 +0000 (18:12 -0800)]
colorspace: Fix memory leak
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.
"""
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
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).
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.
Mark Nauwelaerts [Thu, 17 Feb 2011 11:28:56 +0000 (12:28 +0100)]
faac: remove extraneous buffer unref
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
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
Stefan Kost [Mon, 14 Feb 2011 10:53:49 +0000 (12:53 +0200)]
Automatic update of common submodule
From
f94d739 to
1de7f6a
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.
Stefan Kost [Mon, 14 Feb 2011 09:48:34 +0000 (11:48 +0200)]
docs: add rsvg plugin to the docs
Stefan Kost [Mon, 14 Feb 2011 09:42:52 +0000 (11:42 +0200)]
rsvgdec: add basic doc-blob
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>
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)
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
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
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
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.
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.
Mark Nauwelaerts [Mon, 7 Feb 2011 22:17:55 +0000 (23:17 +0100)]
directdrawsink: avoid aspect-ratio borders overlying other windows
Fixes #632056.
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.
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
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
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.
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.
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.
Alexey Fisher [Fri, 4 Feb 2011 08:08:26 +0000 (09:08 +0100)]
vp8enc: Add description for bitrate units.
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
Thiago Santos [Tue, 1 Feb 2011 14:20:25 +0000 (11:20 -0300)]
tests: camerabin2: Improve preview checking
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.
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.
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
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
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
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.
Edward Hervey [Thu, 3 Feb 2011 15:24:24 +0000 (16:24 +0100)]
camerabin: Initialize variables
Makes compilers happy
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
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.
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
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
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
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
Tim-Philipp Müller [Sun, 30 Jan 2011 17:08:11 +0000 (17:08 +0000)]
rtpvp8: fix LIBS and CFLAGS order in Makefile.am
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.
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.
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
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.
Mark Nauwelaerts [Thu, 27 Jan 2011 17:20:13 +0000 (18:20 +0100)]
h264parse: rename to legacyh264parse
Mark Nauwelaerts [Thu, 27 Jan 2011 17:16:14 +0000 (18:16 +0100)]
h263parse: move to videoparsers and separate plugin registration
Mark Nauwelaerts [Thu, 27 Jan 2011 17:03:50 +0000 (18:03 +0100)]
h263parse: update to latest baseparse
Mark Nauwelaerts [Thu, 6 Jan 2011 11:29:34 +0000 (12:29 +0100)]
h263parse: shuffle code to untangle h263parse and parameter parsing
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
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
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
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
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.
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.
Mark Nauwelaerts [Fri, 14 Jan 2011 14:16:04 +0000 (15:16 +0100)]
baseparse: reverse playback; mind keyframes for fragment boundary
Mark Nauwelaerts [Thu, 13 Jan 2011 14:26:21 +0000 (15:26 +0100)]
amrparse: properly check for sufficient available data prior to access
Mark Nauwelaerts [Wed, 12 Jan 2011 13:40:37 +0000 (14:40 +0100)]
baseparse: ensure non-empty candidate frames
Mark Nauwelaerts [Tue, 11 Jan 2011 14:24:23 +0000 (15:24 +0100)]
baseparse: clarify some debug statements
Mark Nauwelaerts [Tue, 11 Jan 2011 14:24:02 +0000 (15:24 +0100)]
baseparse: properly track upstream timestamps
... rather than with a delay.
Mark Nauwelaerts [Tue, 11 Jan 2011 14:23:29 +0000 (15:23 +0100)]
baseparse: need proper frame duration to obtain sensible frame bitrate
Mark Nauwelaerts [Tue, 11 Jan 2011 14:22:51 +0000 (15:22 +0100)]
baseparse: proper initial values for index tracking variables
Mark Nauwelaerts [Tue, 11 Jan 2011 11:05:13 +0000 (12:05 +0100)]
baseparse: arrange for consistent event handling
Mark Nauwelaerts [Mon, 10 Jan 2011 15:59:59 +0000 (16:59 +0100)]
baseparse: header style cleaning
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.
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.
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
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
Mark Nauwelaerts [Fri, 7 Jan 2011 14:58:49 +0000 (15:58 +0100)]
baseparse: update some documentation
Also add some more debug.
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.
Mark Nauwelaerts [Fri, 14 Jan 2011 14:26:37 +0000 (15:26 +0100)]
baesparse: fix refactor regression in loop based parsing
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.
Mark Nauwelaerts [Fri, 10 Dec 2010 14:59:49 +0000 (15:59 +0100)]
baseparse: fix reverse playback handling
Mark Nauwelaerts [Fri, 10 Dec 2010 13:56:13 +0000 (14:56 +0100)]
baseparse: minor typo and debug statement cleanup
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.
Sebastian Dröge [Thu, 27 Jan 2011 16:32:49 +0000 (17:32 +0100)]
vdpau: 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
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.
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
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
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
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.
Mark Nauwelaerts [Fri, 14 Jan 2011 13:08:38 +0000 (14:08 +0100)]
baseparse: avoid loop in frame locating interpolation
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.
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
Thiago Santos [Mon, 24 Jan 2011 21:36:58 +0000 (18:36 -0300)]
wrappercamerabinsrc: Remove unused macro
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
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
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
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
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
Thiago Santos [Tue, 11 Jan 2011 17:50:48 +0000 (14:50 -0300)]
camerabin2: Implement tagsetter interface
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