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
Edward Hervey [Thu, 9 Sep 2010 11:44:54 +0000 (13:44 +0200)]
video: Add new method for converting a video frame
https://bugzilla.gnome.org/show_bug.cgi?id=629157
Mark Nauwelaerts [Mon, 13 Sep 2010 08:02:44 +0000 (10:02 +0200)]
decodebin2: prevent another race with shutdown state change
Sebastian Dröge [Sat, 11 Sep 2010 12:55:01 +0000 (14:55 +0200)]
win32: Add new SDP symbols to the .def files
Wim Taymans [Fri, 10 Sep 2010 16:42:16 +0000 (18:42 +0200)]
sdp: remove leftover g_print
Wim Taymans [Fri, 10 Sep 2010 15:55:46 +0000 (17:55 +0200)]
sdp: add methods to convert between uri and message
Add methods to convert between uri and sdpmessages, loosly based on
http://tools.ietf.org/html/draft-fujikawa-sdp-url-01
API: GstSDPMessage::gst_sdp_message_parse_uri
API: GstSDPMessage::gst_sdp_message_as_uri
Thijs Vermeir [Fri, 10 Sep 2010 08:40:52 +0000 (10:40 +0200)]
tests: videotestsrc change the pattern property for the tests
Sebastian Dröge [Fri, 10 Sep 2010 06:42:37 +0000 (08:42 +0200)]
orc: Fix generated source files
Tim-Philipp Müller [Thu, 9 Sep 2010 19:45:38 +0000 (20:45 +0100)]
tests: fix passing of URIs containing '*' and '?' to the seek example
Only do wildcard expansion (why?!) on things that look like local
file paths. Fixes passing of URIs containing '*' and '?' (see #629212).
Stefan Kost [Thu, 9 Sep 2010 18:51:18 +0000 (21:51 +0300)]
tests: allow running state tests for all elements
Now one can use GST_NO_STATE_IGNORE_ELEMENTS=1 make generic/states.check
to try elements that would normaly be skipped.
Sebastian Dröge [Thu, 9 Sep 2010 09:12:56 +0000 (11:12 +0200)]
adder: Do debug category initialization in plugin_init again
Sebastian Dröge [Thu, 9 Sep 2010 08:59:13 +0000 (10:59 +0200)]
orc: Update generated source files everywhere
Sebastian Dröge [Thu, 9 Sep 2010 08:57:41 +0000 (10:57 +0200)]
Revert "Revert "Use init functions for Orc code""
This reverts commit
93aa13639d74449dc68296427e5dbcfe8aca5f51.
Everything should work now after regenerating the disted source files.
Edward Hervey [Tue, 7 Sep 2010 17:04:23 +0000 (19:04 +0200)]
win32: Add new symbol to libgstaudio
Wim Taymans [Tue, 7 Sep 2010 16:09:12 +0000 (18:09 +0200)]
baseaudio: avoid taking extra ref on sink/src
Don't take an extra ref on the sink and source because that creates a reference
cycle. Instead, use the invalidate method of the clock when the sink and source
are freed. This way, we don't call into the time function anymore after the
objects are disposed.
Wim Taymans [Tue, 7 Sep 2010 16:06:27 +0000 (18:06 +0200)]
audioclock: add a function to invalidate the clock
Add a function to invalidate the time function of a clock. Useful for when the
function becomes invalid.
Edward Hervey [Tue, 7 Sep 2010 14:26:56 +0000 (16:26 +0200)]
check: Fix linking order of libs/tag
Edward Hervey [Tue, 7 Sep 2010 14:26:30 +0000 (16:26 +0200)]
check: Make fontconfig leak suppression more generic
Thiago Santos [Tue, 7 Sep 2010 11:46:15 +0000 (08:46 -0300)]
tag: exif: Adds mappings for new image ppi tags
Adds mappings for GST_TAG_IMAGE_HORIZONTAL/VERTICAL_PPI into
our exif lib
Tests included.
Fixes #626570
Thiago Santos [Tue, 7 Sep 2010 11:22:27 +0000 (08:22 -0300)]
tags: Add GST_TAG_IMAGE_HORIZONTAL/VERTICAL_PPI tags
Adds new tags for representing the intended PPI of images/videos
API: GST_TAG_IMAGE_HORIZONTAL_PPI
API: GST_TAG_IMAGE_VERTICAL_PPI
Fixes #626570
Tim-Philipp Müller [Tue, 7 Sep 2010 10:41:52 +0000 (11:41 +0100)]
Automatic update of common submodule
From c2e10bf to aa0d1d0