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
Wim Taymans [Thu, 16 Sep 2010 17:30:59 +0000 (19:30 +0200)]
xoverlay: G_GUINTPTR_FORMAT is since 2.22
Don't rely on too new symbols, we only depend on 2.20.
Wim Taymans [Thu, 16 Sep 2010 13:01:59 +0000 (15:01 +0200)]
examples: add synchronized playback and capture example
Add an example that demonstrates synchronized playback and capture.
Thijs Vermeir [Thu, 16 Sep 2010 15:15:32 +0000 (17:15 +0200)]
videotestsrc: Fix indentation
Thijs Vermeir [Thu, 16 Sep 2010 15:14:20 +0000 (17:14 +0200)]
videotestsrc: add bar pattern
Simple bar with foreground color on the background color
Thijs Vermeir [Thu, 16 Sep 2010 13:07:15 +0000 (15:07 +0200)]
tests: use gst-check API in videotestsrc
use gst_check_drop_buffers in videotestsrc to
clear the global buffers list.
Thijs Vermeir [Thu, 16 Sep 2010 12:55:55 +0000 (14:55 +0200)]
tests: Fix unit test of videotestsrc
Use UYVY for unit tests, it's exactly the same as Y422.
(which is currently disabled in videotestsrc)
Tim-Philipp Müller [Wed, 15 Sep 2010 14:13:15 +0000 (15:13 +0100)]
po: update for new strings
Tim-Philipp Müller [Wed, 15 Sep 2010 14:12:26 +0000 (15:12 +0100)]
docs: add Since: comment to docs for new GST_VIDEO_FORMAT_UYVP
Tristan Matthews [Tue, 14 Sep 2010 15:20:42 +0000 (11:20 -0400)]
gnomevfsrc: set GST_PARAM_MUTABLE_READY flag on the "handle" property
Fixes #629672
Thijs Vermeir [Wed, 15 Sep 2010 13:19:04 +0000 (15:19 +0200)]
videotestsrc: fix segfault on negative horizontal-speed
Edward Hervey [Wed, 15 Sep 2010 12:15:13 +0000 (14:15 +0200)]
decodebin2: Actually dispose the unused ghostpads
Sebastian Dröge [Wed, 15 Sep 2010 09:28:29 +0000 (11:28 +0200)]
Revert "audioresample: Add GAP flag support"
This reverts commit
129af0d8e6a74e8edef3e77c3626616b674b7cc1.
This shouldn't be committed at all, it isn't ready and apparently
was in the wrong branch locally.
Sebastian Dröge [Wed, 15 Sep 2010 09:26:48 +0000 (11:26 +0200)]
video: Add a destroy notify parameter to gst_video_convert_frame_async()
Binding generators apparently need this as they can't really know
that the callback is guaranteed to be called exactly once and that
the user_data can be freed at the end of it.
Leo Singer [Tue, 14 Sep 2010 10:00:39 +0000 (12:00 +0200)]
audioresample: Add GAP flag support
Fixes bug #586570.
David Schleef [Sun, 5 Sep 2010 22:17:47 +0000 (15:17 -0700)]
xoverlay: Add guintptr versions of functions
And deprecate the gulong versions. This is to support platforms
where sizeof(unsigned long) < sizeof(void *). Fixes #627565.
API: Add gst_x_overlay_set_window_handle()
API: Deprecate: gst_x_overlay_set_xwindow_id()
API: Add gst_x_overlay_got_window_handle()
API: Deprecate: gst_x_overlay_got_xwindow_id()
API: Add GstXOverlay::set_window_handle()
API: Deprecate: GstXOverlay::set_xwindow_id()
David Schleef [Tue, 14 Sep 2010 19:31:58 +0000 (12:31 -0700)]
videotestsrc: Add UYVP
David Schleef [Mon, 13 Sep 2010 03:36:19 +0000 (20:36 -0700)]
videotestsrc: Various improvements
Replace moving-color-bars pattern with smpte100, and change
moving-speed to horizontal-speed. Default is now 0. Add
a rotation stage to pattern building.
Allocate a temporary scanline for building images. Remove
unused code. Disable several patterns that we're unable to
test and probably never used. Add other variants of bayer
sampling. Convert some patterns to use videotestsrc_blend_line.
David Schleef [Sat, 11 Sep 2010 01:10:40 +0000 (18:10 -0700)]
videotestsrc: clean up blink pattern
David Schleef [Fri, 10 Sep 2010 22:57:54 +0000 (15:57 -0700)]
videotestsrc: Clean up the RGB code
David Schleef [Fri, 10 Sep 2010 21:40:44 +0000 (14:40 -0700)]
videotestsrc: Convert to intermediate AYUV/ARGB
Scanlines are generated into AYUV/ARGB, then converted to the
various formats.
David Schleef [Fri, 10 Sep 2010 19:48:30 +0000 (12:48 -0700)]
videotestsrc: rearrange code to work on scanlines
David Schleef [Fri, 10 Sep 2010 19:03:07 +0000 (12:03 -0700)]
videotestsrc: Fix recent breakage of smpte75 pattern
Thijs Vermeir [Wed, 1 Sep 2010 13:18:31 +0000 (15:18 +0200)]
videotestsrc: add moving color bars pattern
This pattern is moving the color bars with a given
speed. Negative speed is inverting the moving direction.
https://bugzilla.gnome.org/show_bug.cgi?id=628500
David Schleef [Mon, 14 Jun 2010 22:42:09 +0000 (15:42 -0700)]
videoscale: refactor using more Orc code
Convert downsampling to Orc. Convert horizontal linear scaling
to Orc. Combine horizontal and vertical scaling into one pass.
David Schleef [Mon, 13 Sep 2010 02:34:28 +0000 (19:34 -0700)]
video: Add UYVP, 10-bit 4:2:2
Sebastian Dröge [Tue, 14 Sep 2010 06:41:43 +0000 (08:41 +0200)]
video: Add gst_video_convert_frame_async() to the docs
Sebastian Dröge [Tue, 14 Sep 2010 06:40:52 +0000 (08:40 +0200)]
win32: Add gst_video_convert_frame() and gst_video_convert_frame_async() to the .def files
Sebastian Dröge [Tue, 14 Sep 2010 06:40:07 +0000 (08:40 +0200)]
video: Add unit test for gst_video_convert_frame_async()
Sebastian Dröge [Tue, 14 Sep 2010 06:39:20 +0000 (08:39 +0200)]
video: Add async variant of the convert frame function
API: gst_video_convert_frame_async()
Sebastian Dröge [Sun, 12 Sep 2010 14:53:59 +0000 (16:53 +0200)]
video: Add a simple unit test for the new convert_frame API
Unfortunately this can't test the encoding because there's no
image encoder in base.
Sebastian Dröge [Sun, 12 Sep 2010 14:51:52 +0000 (16:51 +0200)]
video: Strip framerate from the target caps
There will always be only a single output buffer and if the
target caps have a different framerate than the input there
will be a negotiation error during conversion.
Sebastian Dröge [Sun, 12 Sep 2010 14:36:15 +0000 (16:36 +0200)]
video: Refactor convert_frame a bit and fix some minor memory leaks in error cases
Edward Hervey [Thu, 9 Sep 2010 12:11:52 +0000 (14:11 +0200)]
playback: Switch to using gst_video_convert_frame
https://bugzilla.gnome.org/show_bug.cgi?id=629157