Sebastian Dröge [Fri, 8 Oct 2010 10:51:43 +0000 (12:51 +0200)]
Automatic update of common submodule
From 5e3c9bf to c4a8adc
Tim-Philipp Müller [Fri, 8 Oct 2010 10:23:33 +0000 (11:23 +0100)]
rtsp: make public _get_type() functions thread-safe
Tim-Philipp Müller [Fri, 8 Oct 2010 09:29:04 +0000 (10:29 +0100)]
rtspurl: minor clean-up
Merge and const-ify two arrays that should be one.
Tim-Philipp Müller [Fri, 8 Oct 2010 09:06:07 +0000 (10:06 +0100)]
rtsp: fix enum value name in enums that are public API
https://bugzilla.gnome.org/show_bug.cgi?id=629746
Tim-Philipp Müller [Fri, 8 Oct 2010 08:48:50 +0000 (09:48 +0100)]
audio: make public get_type() functions thread-safe
Tim-Philipp Müller [Fri, 8 Oct 2010 08:45:30 +0000 (09:45 +0100)]
audio: fix enum value name in enums that are public API
So run-time bindings can introspect the names correctly (we abuse this
field as description field only in elements, not for public API
(where the description belongs into the gtk-doc chunk).
https://bugzilla.gnome.org/show_bug.cgi?id=629746
Sebastian Dröge [Fri, 8 Oct 2010 10:30:33 +0000 (12:30 +0200)]
volume: Regenerate generated orc C code again with an orc fix for loading double parameters
Sebastian Dröge [Fri, 8 Oct 2010 09:50:43 +0000 (11:50 +0200)]
volume: Update generated orc sources
Sebastian Dröge [Fri, 8 Oct 2010 09:49:09 +0000 (11:49 +0200)]
volume: Fix unit test failure for the controlled processing functions
Going over integer arithmetic will lead to minimal rounding errors,
leading to +/-1 changes for volume==1.0. Implement the controlled
processing with floating point arithmetic, which was already done
for the C versions anyway.
Sebastian Dröge [Fri, 8 Oct 2010 07:10:41 +0000 (09:10 +0200)]
configure: Require orc 0.4.10
Sebastian Dröge [Thu, 7 Oct 2010 21:54:57 +0000 (23:54 +0200)]
audioconvert: Update generated orc files
Sebastian Dröge [Thu, 7 Oct 2010 21:54:25 +0000 (23:54 +0200)]
volume: Update for orc changes
double parameters are declared with .doubleparam now.
Sebastian Dröge [Sun, 3 Oct 2010 09:21:20 +0000 (11:21 +0200)]
volume: Update generated orc sources
Sebastian Dröge [Sun, 3 Oct 2010 10:00:42 +0000 (12:00 +0200)]
volume: Fix controlled processing via orc
Sebastian Dröge [Sun, 3 Oct 2010 09:24:29 +0000 (11:24 +0200)]
volume: Actually enable usage of the orc optimized functions
Sebastian Dröge [Sun, 3 Oct 2010 09:20:37 +0000 (11:20 +0200)]
volume: Implement int32 processing with orc
Sebastian Dröge [Fri, 1 Oct 2010 10:21:52 +0000 (12:21 +0200)]
volume: Implement controlled processing for int16/1-2ch and int8/1,2,4ch with orc
Sebastian Dröge [Fri, 1 Oct 2010 09:13:01 +0000 (11:13 +0200)]
volume: Implement controlled processing for f64/1ch and f32/1-2ch in orc
Sebastian Dröge [Fri, 1 Oct 2010 09:00:54 +0000 (11:00 +0200)]
volume: Convert parts of the controlled processing to orc
Sebastian Dröge [Fri, 1 Oct 2010 08:44:37 +0000 (10:44 +0200)]
volume: Implement f64 scaling with orc
This requires orc 0.4.10
Sebastian Dröge [Fri, 1 Oct 2010 08:38:38 +0000 (10:38 +0200)]
audioconvert: Implement remaining conversion functions from/to doubles to orc
This requires orc 0.4.10
Tim-Philipp Müller [Thu, 7 Oct 2010 19:54:32 +0000 (20:54 +0100)]
audiorate: use g_object_notify_by_pspec() if possible
Use g_object_notify_by_pspec() when building against GLib >= 2.26.
This avoids the pspec lookup which takes the global paramspec pool lock.
Tim-Philipp Müller [Thu, 7 Oct 2010 19:37:10 +0000 (20:37 +0100)]
videorate: use g_object_notify_by_pspec() if possible
Use g_object_notify_by_pspec() when building against GLib >= 2.26.
This avoids the pspec lookup which takes the global paramspec pool lock.
Thiago Santos [Mon, 4 Oct 2010 13:01:19 +0000 (10:01 -0300)]
streamsynchronizer: Do not advance segment starts beyond stop times
Advance stop times too when they are getting higher than the
stop time of segments, avoiding assertions.
The stop time has to be advanced too so that running time keep in sync
for gapless mode.
https://bugzilla.gnome.org/show_bug.cgi?id=631312
Thiago Santos [Wed, 6 Oct 2010 19:19:49 +0000 (16:19 -0300)]
tests: rtp: No need to unref buffer from bufferlist
Buffers obtained from buffer list iterators don't need to
be unreffed.
Test was failing due to this.
Mark Nauwelaerts [Mon, 4 Oct 2010 09:22:45 +0000 (11:22 +0200)]
vorbisdec: reverse playback; decode pending buffers upon EOS
Tim-Philipp Müller [Tue, 5 Oct 2010 18:15:47 +0000 (19:15 +0100)]
videoscale: use math-compat.h here as well
Hopefully the powers that be don't mind the gst/glib include here
too much.
Tim-Philipp Müller [Tue, 5 Oct 2010 18:13:43 +0000 (19:13 +0100)]
videotestsrc: include new math-compat.h header for rint() on MSVC
Should fix compilation with Visual Studio 2008.
https://bugzilla.gnome.org/show_bug.cgi?id=630802
Wim Taymans [Tue, 5 Oct 2010 15:19:28 +0000 (17:19 +0200)]
win32: update def file with new RTP methods
Wim Taymans [Tue, 5 Oct 2010 15:13:09 +0000 (17:13 +0200)]
check: fix rtp checks
Fix the checks for the extension support in RTP.
Wim Taymans [Tue, 5 Oct 2010 14:36:24 +0000 (16:36 +0200)]
seek: fix position reporting
Olivier Crête [Thu, 26 Aug 2010 16:34:11 +0000 (12:34 -0400)]
rtcpbuffer: Add function to manipulation the data in RTCP feedback packets
Add methods to get/set the length of the Feedback Control Information (FCI) as
well as getting a pointer to the FCI itself.
Olivier Crête [Mon, 23 Aug 2010 20:41:44 +0000 (16:41 -0400)]
tests: Test the manipulations of bufferlists containing RFC 5285 header extensions
Olivier Crête [Mon, 23 Aug 2010 18:24:21 +0000 (14:24 -0400)]
rtpbuffer: Add function to transform a GstBuffer into a GstBufferList
Add a new function called gst_rtp_buffer_list_from_buffer() that takes
a GstBuffer containing a RTP packets and spits out a GstBufferList
containing two buffers, one with the header and the other with the payload.
Olivier Crête [Sun, 22 Aug 2010 23:44:38 +0000 (19:44 -0400)]
rtpbuffer: Add functions to add RFC 5285 header extensions to GstBufferLists
Add functions to add header extensions to buffer lists, these functions only modify
the header part of the buffer lists, so the data is not copied.
Olivier Crête [Sun, 22 Aug 2010 21:22:21 +0000 (17:22 -0400)]
rtpbuffer: Add function to read RFC 5285 header extensions from GstBufferLists
Olivier Crête [Fri, 20 Aug 2010 19:30:08 +0000 (15:30 -0400)]
tests: Add test for RTP header extension functions
Olivier Crête [Fri, 20 Aug 2010 21:13:06 +0000 (17:13 -0400)]
rtpbuffer: Add function to add RTP header extensions with a two bytes header
Olivier Crête [Fri, 20 Aug 2010 16:54:38 +0000 (12:54 -0400)]
rtpbuffer: Add function to append RFC 5285 one byte header extensions
Olivier Crête [Thu, 19 Aug 2010 20:26:18 +0000 (16:26 -0400)]
rtpbuffer: Add function to parse RFC 5285 header extensions
RFC 5285 describes a generic method to add multiple header extensions to RTP packets.
These functions parse these headers and return them, both for the one-byte header and the
two bytes headers.
Wim Taymans [Tue, 5 Oct 2010 10:05:38 +0000 (12:05 +0200)]
libvisual: only drop frames that are really too old
Also take the frame duration into account so that we don't drop frames that are
partially past the estimated QoS time.
Wim Taymans [Tue, 5 Oct 2010 10:01:25 +0000 (12:01 +0200)]
libvisual: add latency query
Add our own latency to the latency query reply from upstream.
Wim Taymans [Tue, 5 Oct 2010 10:00:28 +0000 (12:00 +0200)]
libvisual: add some defines
Add some defines for width/height/fps and a define for the minimum amount of
samples we need to buffer.
Arun Raghavan [Mon, 4 Oct 2010 10:18:51 +0000 (15:48 +0530)]
gst-discoverer: The 'ready' signal was renamed to 'finished'
Wim Taymans [Mon, 4 Oct 2010 15:27:00 +0000 (17:27 +0200)]
parse: Don't error on discont
We don't need to error out when we detect a discontinuity.
Wim Taymans [Mon, 4 Oct 2010 15:08:43 +0000 (17:08 +0200)]
theoraparse: set caps on streamheader too
Arun Raghavan [Mon, 4 Oct 2010 07:37:14 +0000 (13:07 +0530)]
build: Fix include path order for gir generation
This makes sure that the built girs are picked up over installed girs
where this is currently the case.
Tim-Philipp Müller [Fri, 1 Oct 2010 13:52:15 +0000 (14:52 +0100)]
codec utils: populate mpeg4 caps "level" field with level, not profile
Call the right function to get the level. Also add some more debug
logging.
Sebastian Dröge [Fri, 1 Oct 2010 08:47:08 +0000 (10:47 +0200)]
volume: Update generated orc files
Sebastian Dröge [Fri, 1 Oct 2010 08:42:27 +0000 (10:42 +0200)]
volume: Improve f32 scaling by using only a single array
Passing the same array as dest and src is invalid anyway because
they're maked with the restrict qualifier.
Tim-Philipp Müller [Thu, 30 Sep 2010 14:19:02 +0000 (15:19 +0100)]
pbutils: include config.h in codec utils
Tim-Philipp Müller [Wed, 29 Sep 2010 23:19:29 +0000 (00:19 +0100)]
docs: add new codec utils API to docs
Arun Raghavan [Fri, 30 Apr 2010 19:33:18 +0000 (01:03 +0530)]
pbutils: Add MPEG-4 Video profile/level extraction
This adds code to translate the profile_and_level indication from the
MPEG-4 video (ISO/IEC 14496-2) headers to a string profile/level. The
mappings are taken from the spec and Wireshark's code, and might need to
be expanded on.
https://bugzilla.gnome.org/show_bug.cgi?id=617314
API: gst_codec_utils_mpeg4video_get_profile()
API: gst_codec_utils_mpeg4video_get_level()
API: gst_codec_utils_mpeg4video_caps_set_level_and_profile()
Arun Raghavan [Fri, 30 Apr 2010 15:20:09 +0000 (20:50 +0530)]
pbutils: add H.264 profile/level extraction functions to codec utils
This adds code to parse the first few bytes of H.264 sequence parameter
set in order to extract the profile and level as const strings. This
code was originally in both qtdemux and matroskademux.
https://bugzilla.gnome.org/show_bug.cgi?id=617314
API: gst_codec_utils_h264_get_level()
API: gst_codec_utils_h264_get_profile()
API: gst_codec_utils_h264_caps_set_level_and_profile()
Arun Raghavan [Fri, 30 Apr 2010 09:42:04 +0000 (15:12 +0530)]
pbutils: add AAC profile detection to codec utils
This moves AAC profile detection to pbutils, and uses this in
typefindfunctions. This will also be used in qtdemux.
https://bugzilla.gnome.org/show_bug.cgi?id=617314
API: gst_codec_utils_aac_get_profile()
API: codec_utils_aac_caps_set_level_and_profile()
Arun Raghavan [Fri, 30 Apr 2010 08:11:17 +0000 (13:41 +0530)]
pbutils: add codec-specific utility functions for AAC
This allows us to add generic codec-specific functionality, like
extracting profile/level data from headers, without having to duplicate
code across demuxers and typefindfunctions.
As a starting point, this moves over AAC level extraction code from
typefindfunctions, so it can be reused in qtdemux, etc.
https://bugzilla.gnome.org/show_bug.cgi?id=617314
API: gst_codec_utils_aac_get_sample_rate_from_index()
API: gst_codec_utils_aac_get_level()
René Stadler [Thu, 30 Sep 2010 10:12:30 +0000 (13:12 +0300)]
tags: fix unused function warning with debug disabled
René Stadler [Thu, 30 Sep 2010 09:59:46 +0000 (12:59 +0300)]
tags: fix illegal use of internal debug category function
From gstinfo.h:
/* do not use this function, use the GST_DEBUG_CATEGORY_INIT macro */
GstDebugCategory *_gst_debug_category_new (const gchar * name,
And more importantly:
#pragma GCC poison _gst_debug_category_new
So this commit fixes --disable-gst-debug builds.
Edward Hervey [Wed, 29 Sep 2010 16:57:50 +0000 (18:57 +0200)]
gst-discoverer: Print out topology if available.
If we have some unhandled streams, we can still print out the remaining
topology.
Edward Hervey [Wed, 29 Sep 2010 16:54:28 +0000 (18:54 +0200)]
decodebin2: Don't post async-done when not needed
Where it was previously located, we would get async-done for the first
unknown-type, even if other valid streams would appear afterwards.
decode_bin_expose() will take care of posting async-done when the group
is exposed.
But we still want to post it in case the typefinding returned an unknown
type, in which case we will post it after posting an error.
These two changes ensure we do as much as possible before posting async-done.
Thijs Vermeir [Wed, 29 Sep 2010 14:53:21 +0000 (16:53 +0200)]
basertpdepay: ensure metadata is writable
Edward Hervey [Wed, 29 Sep 2010 11:29:20 +0000 (13:29 +0200)]
pbutils: Add descriptions for more codecs
Edward Hervey [Wed, 29 Sep 2010 10:33:44 +0000 (12:33 +0200)]
seek: Fix debug statement argument type
Thiago Santos [Tue, 28 Sep 2010 12:30:57 +0000 (09:30 -0300)]
More makefile Fixes
Removing some not needed lines added in the last makefile
fixes commit (previous commit).
Also adds some more makefile files to check tests
René Stadler [Thu, 17 Jun 2010 11:32:22 +0000 (14:32 +0300)]
xvimagesink: allow render rectangle coordinates to be negative
Useful for cropped zooming.
René Stadler [Thu, 17 Jun 2010 11:33:44 +0000 (14:33 +0300)]
xoverlay: allow render rectangle coordinates to be negative
This is useful for cropped zooming of the overlay.
René Stadler [Tue, 28 Sep 2010 12:15:57 +0000 (15:15 +0300)]
xoverlay: fix endless loop in deprecated method
Thiago Santos [Tue, 28 Sep 2010 11:46:25 +0000 (08:46 -0300)]
Fixing Makefiles
Adds some missing lines to makefiles
Tim-Philipp Müller [Mon, 27 Sep 2010 17:14:50 +0000 (18:14 +0100)]
tags: add debug category for tags utility functions
Tim-Philipp Müller [Mon, 27 Sep 2010 13:36:17 +0000 (14:36 +0100)]
tags: try ISO-8859-1 as second fallback in case WINDOWS-1252 is not supported
Better safe than sorry. Some embedded systems may use crippled iconv
implementations or not support WINDOWS-1252 for other reasons.
https://bugzilla.gnome.org/show_bug.cgi?id=630471
Sreerenj Balachandran [Thu, 23 Sep 2010 20:53:48 +0000 (23:53 +0300)]
tags: when converting freeform strings try Windows-1252 as fallback instead of ISO-8859-1
Windows-1252 is a superset of ISO-8859-1, which uses some space
allocated to control characters for additional printable characters.
https://bugzilla.gnome.org/show_bug.cgi?id=630471
David Schleef [Sat, 25 Sep 2010 04:30:20 +0000 (21:30 -0700)]
theoraenc: ptalarbvorm speed level goes to 3
Vladimir [Fri, 24 Sep 2010 14:31:37 +0000 (16:31 +0200)]
seek: Add #define for seekbar granularity
Fixes #630496
Tim-Philipp Müller [Fri, 24 Sep 2010 13:03:45 +0000 (14:03 +0100)]
win32: define GST_PACKAGE_RELEASE_DATETIME in win32 config.h as well
Also update enums.
Tim-Philipp Müller [Thu, 23 Sep 2010 23:25:20 +0000 (00:25 +0100)]
.gitignore: ignore new appsrc unit test
Wim Taymans [Fri, 24 Sep 2010 11:09:28 +0000 (13:09 +0200)]
baseaudiosink: add Since markers
Fixes #630443
Havard Graff [Fri, 30 Jul 2010 11:54:42 +0000 (13:54 +0200)]
baseaudiosink: Added getter and setter for drift tolerance.
Wim Taymans [Fri, 24 Sep 2010 10:54:47 +0000 (12:54 +0200)]
baseaudiosink: subtract the render_delay from our latency
The latency reported by the base class includes the render_delay, which we don't
want to include when we start slaving our clocks.
See #630441
Sebastian Dröge [Thu, 23 Sep 2010 21:57:50 +0000 (23:57 +0200)]
ringbuffer: Use G_DEFINE_ABSTRACT_TYPE instead of manual GObject boilerplate code
This also makes the _get_type() function threadsafe.
Fixes bug #630440.
Thiago Santos [Thu, 23 Sep 2010 13:16:07 +0000 (10:16 -0300)]
tags: exif: Add mapping for _HORIZONTAL_ERROR
Maps GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR to the
GPSHPositionError tag in exif.
Tests included.
Thiago Santos [Wed, 22 Sep 2010 17:10:18 +0000 (14:10 -0300)]
appsrc: Do not override buffer caps if appsrc caps is null
Make appsrc not set caps on buffers when its own caps is NULL.
This avoids calling make_metadata_writable on all buffers and
prevents losing buffer caps in case we are not replacing it
with something meaningful.
https://bugzilla.gnome.org/show_bug.cgi?id=630353
Olivier Crête [Tue, 21 Sep 2010 22:57:42 +0000 (18:57 -0400)]
theoraenc: Make the bitrate/quality dynamically modifiable
https://bugzilla.gnome.org/show_bug.cgi?id=630303
Edward Hervey [Wed, 22 Sep 2010 10:35:59 +0000 (12:35 +0200)]
discoverer: Fixup DiscovererResult handling
This was a leftover from the changes from a flag to an enum
Edward Hervey [Wed, 22 Sep 2010 10:10:24 +0000 (12:10 +0200)]
discoverer: We don't need the signals from the queues
David Schleef [Wed, 22 Sep 2010 08:50:21 +0000 (01:50 -0700)]
gst-libs: build pbutils after video
Because pbutils now depends on video.
Edward Hervey [Tue, 21 Sep 2010 16:33:36 +0000 (18:33 +0200)]
Automatic update of common submodule
From aa0d1d0 to 5e3c9bf
Stefan Kost [Mon, 20 Sep 2010 18:04:48 +0000 (21:04 +0300)]
discoverer: fix docs
While the doc parser allows for certain variation, it is a good idea to not
use random characters here and there, but try to stick to the little markup
syntax there is.
Edward Hervey [Mon, 20 Sep 2010 14:45:32 +0000 (16:45 +0200)]
discoverer: Fix debug statement.
Fixes build on macosx
Edward Hervey [Mon, 20 Sep 2010 14:28:52 +0000 (16:28 +0200)]
volume: orc fixup for loading float arguments
This is only used with DISABLE_ORC.
Edward Hervey [Mon, 20 Sep 2010 09:24:10 +0000 (11:24 +0200)]
tools: Standalone tool for discovering media file properties
Fixes #625944
Edward Hervey [Mon, 20 Sep 2010 09:23:36 +0000 (11:23 +0200)]
win32: Update with symbols from GstDiscoverer
Fixes #625944
Edward Hervey [Mon, 20 Sep 2010 09:23:17 +0000 (11:23 +0200)]
docs: Documentation for new pbutils GstDiscoverer
Fixes #625944
Edward Hervey [Mon, 20 Sep 2010 09:22:32 +0000 (11:22 +0200)]
pbutils: New Discoverer utility
Fixes #625944
Sebastian Dröge [Mon, 20 Sep 2010 09:13:56 +0000 (11:13 +0200)]
typefindfunctions: Add mp3 to the apetag extensions
David Schleef [Sat, 18 Sep 2010 20:15:08 +0000 (13:15 -0700)]
videotestsrc: Fix regression in ball pattern
Was painting using two different methods.
Sebastian Dröge [Fri, 17 Sep 2010 09:46:05 +0000 (11:46 +0200)]
sdp: Fix ACCEPTABLE_CHAR() macro to work with signed and unsigned chars
Sebastian Dröge [Fri, 17 Sep 2010 09:44:29 +0000 (11:44 +0200)]
Revert "sdp: Remove useless check in macro"
This reverts commit
e6a041b69fd21c42651d98cf8a3064e43cecc51c.
It's not a useless check, the signedness of "char" and "gchar" is
defined by the ABI.
Edward Hervey [Fri, 17 Sep 2010 08:43:04 +0000 (10:43 +0200)]
sdp: Remove useless check in macro
A signed char is always < 128. Fixes a warning on macosx build.
David Schleef [Fri, 17 Sep 2010 01:03:23 +0000 (18:03 -0700)]
orc: update generated files to fix MSVC compile issues
David Schleef [Fri, 17 Sep 2010 00:56:31 +0000 (17:56 -0700)]
videoscale: Don't use broken orc feature