Olivier Crête [Fri, 8 Oct 2010 21:01:29 +0000 (17:01 -0400)]
shm: Add C++ protection
Add c++ protection in the relevant places
David Schleef [Fri, 8 Oct 2010 19:44:45 +0000 (12:44 -0700)]
Automatic update of common submodule
From
c4a8adc to
5a668bf
Sebastian Dröge [Fri, 8 Oct 2010 10:55:29 +0000 (12:55 +0200)]
Automatic update of common submodule
From
5e3c9bf to
c4a8adc
Sebastian Dröge [Thu, 7 Oct 2010 21:37:36 +0000 (23:37 +0200)]
flacparse: Simplify frame header parsing by using lookup tables
Based on a patch by Felipe Contreras.
See bug #631200.
Sebastian Dröge [Thu, 7 Oct 2010 21:28:08 +0000 (23:28 +0200)]
flacparse: Don't parse the complete FLAC frames but only look for valid frame headers
Thanks to Felipe Contreras for the suggestion. This is partially
based on his patches and makes flacparse more than 3.5 times faster.
Looking for valid frame headers is unlikely to give false positives
because every frame header is at least 9 bytes long, contains a
14 bit sync code and a 8 bit checksum over the first 8 bytes.
Fixes bug #631200.
Mark Nauwelaerts [Thu, 7 Oct 2010 09:59:30 +0000 (11:59 +0200)]
sdpdemux: workaround internal rtspsrc failing state change
Fixes #630046.
Sebastian Dröge [Thu, 7 Oct 2010 08:34:48 +0000 (10:34 +0200)]
audioparse: Add support for setting the channel-positions
Sebastian Dröge [Wed, 6 Oct 2010 16:32:51 +0000 (18:32 +0200)]
flacparse: Really post tags only after the initial newsegment event
The first newsegment event will be send by the first call to
gst_base_parse_push_buffer() if necessary, posting the tags
before that is not a good idea. Instead do it from the
GstBaseParse::pre_push_buffer vfunc.
Sebastian Dröge [Wed, 6 Oct 2010 14:54:16 +0000 (16:54 +0200)]
chromahold: Fix hue calculation for red colors
Also make the calculation much more accurate...
Sebastian Dröge [Wed, 6 Oct 2010 13:21:09 +0000 (15:21 +0200)]
chromahold: Make everything greyscale if the target color is grey
Sebastian Dröge [Wed, 6 Oct 2010 09:55:34 +0000 (11:55 +0200)]
chromahold: Add chromahold color effect
This effect converts all colors except a single one to
grey. The color is selected by an RGB triple and a
tolerance for the color matching in hue degree can be specified.
Mark Nauwelaerts [Tue, 5 Oct 2010 15:04:10 +0000 (17:04 +0200)]
sdpdemux: fix and reflow some exits
Mark Nauwelaerts [Tue, 5 Oct 2010 14:56:49 +0000 (16:56 +0200)]
sdpdemux: error out if no streams found in sdp message
Mark Nauwelaerts [Tue, 5 Oct 2010 14:47:51 +0000 (16:47 +0200)]
sdpdemux: unbreak standard manager setup
Tim-Philipp Müller [Tue, 5 Oct 2010 10:44:48 +0000 (11:44 +0100)]
.gitignore: ignore more unit test binaries
Tim-Philipp Müller [Tue, 5 Oct 2010 10:42:42 +0000 (11:42 +0100)]
alsaspdif: remove alsaspdifsink element
Remove alsaspdifsink, it's not needed any longer. alsasink in -base
has been able to handle SPDIF for a while now.
Tim-Philipp Müller [Tue, 5 Oct 2010 10:17:52 +0000 (11:17 +0100)]
Revert "baseparse: add skip property"
This reverts commit
b5a3d60363d837a10f0533c141ec93d10b742312.
Reverting this for now, since no one really seems to remember why this
property exists or what it could possibly be good for. It seems to have
been in the original mp3parse since the beginning of time and was back-
ported from there.
Sebastian Dröge [Mon, 4 Oct 2010 08:41:52 +0000 (10:41 +0200)]
flacparse: Fix uninitialized variable compiler warnings
These warnings are wrong, the variables are only used if they were
initialized by the bit reader.
Felipe Contreras [Mon, 13 Sep 2010 23:48:58 +0000 (02:48 +0300)]
flacparse: fix picture parsing
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Sebastian Dröge [Sun, 3 Oct 2010 21:54:49 +0000 (23:54 +0200)]
flacparse: Push tags before the header buffers are pushed
Felipe Contreras [Mon, 2 Aug 2010 17:50:21 +0000 (20:50 +0300)]
flacparse: trivial caps fix
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Thiago Santos [Mon, 4 Oct 2010 02:45:46 +0000 (23:45 -0300)]
qtmux: Add G_PARAM_STATIC_STRINGS
Add G_PARAM_STATIC_STRINGS to qtmux properties
Thiago Santos [Mon, 4 Oct 2010 02:14:53 +0000 (23:14 -0300)]
tests: valve: Fix tests build
Adds missing cflags/libs to valve check test to
fix build
Sebastian Dröge [Sun, 3 Oct 2010 21:50:29 +0000 (23:50 +0200)]
audioparser: Let the format string agree with the parameters to fix compiler warning
Sebastian Dröge [Sun, 3 Oct 2010 13:55:22 +0000 (15:55 +0200)]
vdpau: Check return values of the bitreader functions
Sebastian Dröge [Sun, 3 Oct 2010 13:41:20 +0000 (15:41 +0200)]
ac3parse: Use unchecked versions of the bitreader get functions
We didn't check the return values anyway...
Stefan Kost [Tue, 28 Sep 2010 10:52:29 +0000 (13:52 +0300)]
valve: no need to ref the object in _chain
Don't ref the pad in chain, like elsewhere
Arun Raghavan [Wed, 22 Sep 2010 10:14:43 +0000 (15:44 +0530)]
baseparse: Fix debug output
We lose the reference to the buffer after gst_pad_push(), so the debug
print should happen before.
https://bugzilla.gnome.org/show_bug.cgi?id=622276
Mark Nauwelaerts [Fri, 1 Oct 2010 10:34:55 +0000 (12:34 +0200)]
audioparsers: add flacparse unit test
... and tweak parser test helper in the process.
Mark Nauwelaerts [Wed, 29 Sep 2010 14:12:42 +0000 (16:12 +0200)]
baseparse: support reverse playback
... in pull mode or upstream driven.
Mark Nauwelaerts [Mon, 27 Sep 2010 10:16:43 +0000 (12:16 +0200)]
baseparse: remove done TODOs and update documentation
Mark Nauwelaerts [Sat, 25 Sep 2010 12:40:54 +0000 (14:40 +0200)]
baseparse: use determined seekability in answering SEEKING query
Mark Nauwelaerts [Sat, 25 Sep 2010 12:32:06 +0000 (14:32 +0200)]
baseparse: add skip property
Mark Nauwelaerts [Sat, 25 Sep 2010 11:59:39 +0000 (13:59 +0200)]
audioparsers: add ac3parse and mpegaudioparse unit test
Mark Nauwelaerts [Sat, 25 Sep 2010 11:59:18 +0000 (13:59 +0200)]
mpegaudioparse: initial version
... adequately equivalent to mp3parse, so lets boldly set it
to higher rank.
Mark Nauwelaerts [Sat, 25 Sep 2010 12:01:07 +0000 (14:01 +0200)]
aacparse: set minimum frame size at _start
... rather than one time at _init.
Mark Nauwelaerts [Sat, 25 Sep 2010 11:50:51 +0000 (13:50 +0200)]
audioparsers: refactor existing unit tests using common helper
Mark Nauwelaerts [Wed, 22 Sep 2010 13:07:09 +0000 (15:07 +0200)]
baseparse: use _set_frame_props to configure frame lead_in and lead_out
... provided a corresponding decoder with sufficient leading and following
frames to carry out full decoding for a particular segment.
Mark Nauwelaerts [Wed, 22 Sep 2010 12:13:17 +0000 (14:13 +0200)]
baseparse: use _set_duration to configure duration update interval
... as it logically belongs there as one or the other; either subclass
can provide a duration, or an estimate must be made (reguarly updated).
Mark Nauwelaerts [Wed, 22 Sep 2010 11:55:20 +0000 (13:55 +0200)]
baseparse: localize use of provided fps information
Mark Nauwelaerts [Wed, 22 Sep 2010 10:13:12 +0000 (12:13 +0200)]
baseparse: seek table and accurate seek support
Mark Nauwelaerts [Tue, 21 Sep 2010 11:57:10 +0000 (13:57 +0200)]
baseparse: proper and more extended segment and seek handling
That is, loop pause handling, segment seek support, newsegment for gaps, etc
Mark Nauwelaerts [Tue, 21 Sep 2010 08:57:04 +0000 (10:57 +0200)]
baseparse: add index support
Mark Nauwelaerts [Tue, 21 Sep 2010 07:59:56 +0000 (09:59 +0200)]
baseparse: refactor state reset
Mark Nauwelaerts [Mon, 20 Sep 2010 14:39:37 +0000 (16:39 +0200)]
baseparse: prevent indefinite resyncing
Mark Nauwelaerts [Mon, 20 Sep 2010 11:57:55 +0000 (13:57 +0200)]
baseparse: specific EOS handling if no output so far
Mark Nauwelaerts [Mon, 20 Sep 2010 11:31:57 +0000 (13:31 +0200)]
baseparse: adjust _set_frame_prop documentation and set default as claimed
Mark Nauwelaerts [Mon, 20 Sep 2010 11:30:54 +0000 (13:30 +0200)]
baseparse: fix bitrate copy-and-paste and update heuristic
Mark Nauwelaerts [Fri, 17 Sep 2010 16:33:29 +0000 (18:33 +0200)]
baseparse: post duration message if average bitrates is updated
Mark Nauwelaerts [Fri, 17 Sep 2010 16:24:22 +0000 (18:24 +0200)]
baseparse: remove is_seekable vmethod and use a set_seek instead
Seekability, like duration, etc is unlikely to change (frequently), and
the default assumption covers most cases, so let subclass set when needed.
At the same time, allow subclass to indicate if it has seek-metadata (table)
available, and possibly have it provide an average bitrate.
Mark Nauwelaerts [Fri, 17 Sep 2010 15:35:40 +0000 (17:35 +0200)]
ac3parse: remove redundant default is_seekable
Mark Nauwelaerts [Fri, 17 Sep 2010 15:21:46 +0000 (17:21 +0200)]
baseparse: add another hook for subclass prior to pushing buffer
... and allow subclass to perform custom segment clipping, or to
emit tags or messages at this time.
Mark Nauwelaerts [Fri, 17 Sep 2010 15:19:37 +0000 (17:19 +0200)]
baseparse: 0 converts to 0 by default
Mark Nauwelaerts [Thu, 16 Sep 2010 16:56:46 +0000 (18:56 +0200)]
basepase: refactor conversion using helper function and export default convert
Mark Nauwelaerts [Thu, 16 Sep 2010 16:35:47 +0000 (18:35 +0200)]
baseparse: streamline query handling
Mark Nauwelaerts [Thu, 16 Sep 2010 09:51:20 +0000 (11:51 +0200)]
baseparse: cleanup struct and remove unused member
Mark Nauwelaerts [Mon, 16 Aug 2010 09:04:37 +0000 (11:04 +0200)]
audioparsers: increase ranks to enable auto-plugging
Because we can, and should, have some shakedown testing before having
these make it into -good later on ...
Arun Raghavan [Wed, 22 Sep 2010 10:37:24 +0000 (16:07 +0530)]
baseparse: Allow chaining of subclass event handlers
This allows the child class to chain its event handler with
GstBaseParse, so that subclasses don't have to duplicate all the default
event handling logic.
https://bugzilla.gnome.org/show_bug.cgi?id=622276
Olivier Crête [Thu, 30 Sep 2010 21:48:35 +0000 (17:48 -0400)]
tests: Fix caps leak in the valve test
Olivier Crête [Thu, 30 Sep 2010 21:24:29 +0000 (17:24 -0400)]
valve: Add unit tests
Add a unit test for the valve element.
Olivier Crête [Thu, 30 Sep 2010 20:26:19 +0000 (16:26 -0400)]
valve: Make the drop variable into an atomic.
Using an atomic allows us to avoid locking the whole object all time time.
As suggested by Stefan Kost.
Olivier Crête [Thu, 30 Sep 2010 20:22:04 +0000 (16:22 -0400)]
valve: Correctly set the DISCONT flag after dropping buffers
Olivier Crête [Thu, 30 Sep 2010 20:16:47 +0000 (16:16 -0400)]
valve: Remove superflous checking casts
Olivier Crête [Thu, 30 Sep 2010 20:13:23 +0000 (16:13 -0400)]
valve: Fix style, improve comments
Minor improvements to the comments and break a few overly long lines
Olivier Crête [Thu, 30 Sep 2010 20:07:29 +0000 (16:07 -0400)]
rtpmux: Improve documentation
Add an example pipeline, and try to explain a bit more what it does.
Thiago Santos [Wed, 29 Sep 2010 20:34:00 +0000 (17:34 -0300)]
camerabin: Do not wrongly fail when starting a capture
If the elements are in NULL/READY and changing state to
PAUSED/PLAYING while a capture is started
camerabin might not set the active_bin properly causing the
capture start to fail.
This patch fixes it by checking the current and pending state
of the branches instead of only the current one
Mark Nauwelaerts [Wed, 29 Sep 2010 08:13:06 +0000 (10:13 +0200)]
faad: reverse playback; cater for decoder delay
... thereby actually using the gather and decode queues.
Mark Nauwelaerts [Wed, 29 Sep 2010 08:08:17 +0000 (10:08 +0200)]
faad: tweak output buffer timestamping
In particular, avoid packetised input leading to initial to non-0 output ts.
Sebastian Dröge [Tue, 28 Sep 2010 14:20:50 +0000 (16:20 +0200)]
frei0r: Use static caps instead of converting strings to caps all the time
Sebastian Dröge [Tue, 28 Sep 2010 14:14:14 +0000 (16:14 +0200)]
frei0r: Fix crashes if plugins don't provide correct property information
The vertigo plugin for example claims to have 3 properties but
the 3rd property does nothing and has a NULL name.
Fixes bug #630783.
Thanks to Martti Kühne for debugging this.
Stefan Kost [Tue, 28 Sep 2010 11:26:11 +0000 (14:26 +0300)]
valve: move default: parst in the switch statement to the end
Now sure if it matters, but the previous form looks weired.
Stefan Kost [Tue, 28 Sep 2010 11:23:01 +0000 (14:23 +0300)]
valve: move debug-category registration to type init
Stefan Kost [Tue, 28 Sep 2010 11:22:18 +0000 (14:22 +0300)]
liveadder: move debug-category registration to type init
Stefan Kost [Tue, 28 Sep 2010 11:17:45 +0000 (14:17 +0300)]
liveadder: GST_BOILERPLATE already sets parent_class
Stefan Kost [Tue, 28 Sep 2010 11:16:58 +0000 (14:16 +0300)]
liveadder: use base_init for pad_templates and element_details
Stefan Kost [Tue, 28 Sep 2010 11:15:57 +0000 (14:15 +0300)]
liveadder: use G_PARAM_STATIC_STRINGS on properties
Stefan Kost [Tue, 28 Sep 2010 11:15:13 +0000 (14:15 +0300)]
valve: use G_PARAM_STATIC_STRINGS on properties
Stefan Kost [Tue, 28 Sep 2010 11:07:39 +0000 (14:07 +0300)]
valve: GST_BOILERPLATE already sets parent_class
Stefan Kost [Tue, 28 Sep 2010 11:08:29 +0000 (14:08 +0300)]
videomeassure: GST_BOILERPLATE already sets parent_class
Hu Gang [Tue, 28 Sep 2010 08:35:53 +0000 (11:35 +0300)]
photography: extend photography iface
Add more color tone modes and add NoseReduction settings.
Fixes #616814.
Tim-Philipp Müller [Sun, 26 Sep 2010 19:41:25 +0000 (20:41 +0100)]
resindvdsrc: improve error messages on read erros
Provide i18n-ed error messages when a read error happens,
and point out that the error could be happening because the
DVD is scrambled.
https://bugzilla.gnome.org/show_bug.cgi?id=613633
Tim-Philipp Müller [Thu, 23 Sep 2010 23:05:17 +0000 (00:05 +0100)]
configure: set plugin release datetime
Sebastian Dröge [Sat, 25 Sep 2010 10:33:58 +0000 (12:33 +0200)]
ofa: Call g_object_notify() after the fingerprint was created
Sebastian Dröge [Sat, 25 Sep 2010 08:46:34 +0000 (10:46 +0200)]
frei0r: Fix scanning of plugin subdirectories and support different vendors
The frei0r spec specifies, that plugins can be in subdirectories inside
the main plugin directories to introduce new namespaces called vendors.
Sebastian Dröge [Fri, 24 Sep 2010 20:47:01 +0000 (22:47 +0200)]
frei0r: Update frei0r interface specification to 1.2
Sebastian Dröge [Fri, 24 Sep 2010 20:43:51 +0000 (22:43 +0200)]
frei0r: Add support for the FREI0R_PATH environment variable
This was added in version 1.2 of the spec and replaces the default
list of directories.
Lasse Laukkanen [Thu, 23 Sep 2010 11:15:08 +0000 (14:15 +0300)]
fpsdisplaysink: initialize interval_ts and last_frames_* counters
Initialize interval_ts to first QOS event timestamp, otherwise the
fps statistics are printed always after one rendered frame.
Also, initialize last_frames_* counters, the values are bogus e.g. after
PLAYING-NULL-PLAYING state change.
Stefan Kost [Fri, 24 Sep 2010 10:29:55 +0000 (13:29 +0300)]
rtpdtmfmux: remove unused variable
Stefan Kost [Fri, 24 Sep 2010 10:25:22 +0000 (13:25 +0300)]
rtpdtmfmux: remove unused signal boilerplate
Stefan Kost [Fri, 24 Sep 2010 10:24:48 +0000 (13:24 +0300)]
rtpmux: no need to ref pad in _chain()
Thiago Santos [Thu, 23 Sep 2010 02:41:32 +0000 (23:41 -0300)]
camerabin: example: make gst-camera use flags
Enable all convertion flags in gst-camera example app
for safety.
Fixes #603063
Thiago Santos [Thu, 23 Sep 2010 02:39:07 +0000 (23:39 -0300)]
camerabin: Adds new video-colorspace-flag to flags
Adds a new flag to allow a colorspace convertion before
the video encoder element.
Fixes #603063
Thiago Santos [Thu, 23 Sep 2010 01:39:49 +0000 (22:39 -0300)]
camerabin: Use link_full version for disabling hierarchy check
Disable hierarchy checks when linking because we are already
handling the element adding to bins and it should be done
correctly.
Thiago Santos [Thu, 23 Sep 2010 00:03:56 +0000 (21:03 -0300)]
camerabin: Set queues to silent
We currently don't use queues' signals, so set them
to silent.
David Schleef [Wed, 22 Sep 2010 18:57:28 +0000 (11:57 -0700)]
schrodec: Fix class definition
Class structures should include parent class, not the parent
instance structure.
Wim Taymans [Wed, 22 Sep 2010 14:41:33 +0000 (16:41 +0200)]
pcapparse: fix weird caps code
Remove the weird (failing) code to figure out caps on the srcpad.
Add a caps property to decide what caps to put on the outgoing buffers.
Fix an event leak.
David Schleef [Wed, 22 Sep 2010 01:13:37 +0000 (18:13 -0700)]
colorspace: quiet a GST_ERROR
Wim Taymans [Tue, 21 Sep 2010 17:07:05 +0000 (19:07 +0200)]
sdpdemux: add property to disable redirect
Add a property to avoid redirection to the rtsp-sdp:// url but instead embeds an
rtspsrc element inside sdpdemux as the session manager.
Based on patch by Marco Ballesio.
Fixes #630046
Edward Hervey [Tue, 21 Sep 2010 16:45:03 +0000 (18:45 +0200)]
sdlvideosink: Fix function prototype for touchy compilers
Edward Hervey [Tue, 21 Sep 2010 16:34:19 +0000 (18:34 +0200)]
Automatic update of common submodule
From
080e025 to
5e3c9bf