platform/upstream/gstreamer.git
13 years agobufferlist: Don't chain up finalize to the parent class
Sebastian Dröge [Fri, 6 Aug 2010 17:38:22 +0000 (19:38 +0200)]
bufferlist: Don't chain up finalize to the parent class

GstMiniObject::finalize does nothing and this prevents a
runtime-type-check cast and function call per buffer list.

13 years agogst: make _get_type() in gst/* thread safe
Shixin Zeng [Tue, 20 Jul 2010 14:23:11 +0000 (09:23 -0500)]
gst: make _get_type() in gst/* thread safe

This is not really necessary here because everything is
initialized from gst_init() already but using G_DEFINE_TYPE()
removes some copy&paste boilerplate code.

13 years agoplugins: Add declarations for _get_type() functions to fix compiler warnings
Sebastian Dröge [Fri, 6 Aug 2010 17:34:42 +0000 (19:34 +0200)]
plugins: Add declarations for _get_type() functions to fix compiler warnings

13 years agoplugins: Make *_get_type() in plugins/* thread safe
Shixin Zeng [Tue, 20 Jul 2010 14:23:54 +0000 (09:23 -0500)]
plugins: Make *_get_type() in plugins/* thread safe

It's not really needed here but using G_DEFINE_TYPE() reduces
some copy&paste boilerplate code.

13 years agobasesrc: Make sure the buffer metadata is writable before changing it
Sebastian Dröge [Fri, 6 Aug 2010 16:43:56 +0000 (18:43 +0200)]
basesrc: Make sure the buffer metadata is writable before changing it

13 years agoAutomatic update of common submodule
Stefan Kost [Thu, 5 Aug 2010 10:56:11 +0000 (13:56 +0300)]
Automatic update of common submodule

From 2004d03 to bd2054b

13 years agoutils: speed up pad linking utility functions by not trying pads that will never...
Tim-Philipp Müller [Thu, 5 Aug 2010 09:04:47 +0000 (10:04 +0100)]
utils: speed up pad linking utility functions by not trying pads that will never work

In gst_element_get_compatible_pad(), when trying to find a compatible pad on an
element for a given pad, there's no point in checking the element's sink pads
if the pad to link is a sink pad as well, or the element's source pads if the
given pad is a source pad already, since those would never be able to link
anyway. Should speed up linking using the convenience functions a little bit,
or at least reduce debug log output.

13 years agoinfo: take the timestamp a tick later
Stefan Kost [Thu, 5 Aug 2010 07:32:53 +0000 (10:32 +0300)]
info: take the timestamp a tick later

The logging is not an atomic operation and because of the multi-threading we end
up with out-of-order log lines. Tools that present the log-file should probably
resort the lines. This change just takes the timestamp a bit closer to the
actual logging.

13 years agodebug: logging improvements
Stefan Kost [Thu, 5 Aug 2010 06:36:16 +0000 (09:36 +0300)]
debug: logging improvements

Use the event serialisation. Log formats name instead of number.

13 years agocheck: don't use c++ keywords as variable names
Stefan Kost [Thu, 15 Jul 2010 12:46:24 +0000 (15:46 +0300)]
check: don't use c++ keywords as variable names

13 years agobasesrc: log seek event details
Stefan Kost [Thu, 15 Jul 2010 08:37:30 +0000 (11:37 +0300)]
basesrc: log seek event details

13 years agomanual: update gst-controller chapter
Stefan Kost [Mon, 12 Jul 2010 07:50:53 +0000 (10:50 +0300)]
manual: update gst-controller chapter

The docs were still describing deprecated api. Update it to tell about
control-cources.

13 years agotests: clean up eventloop in examples
Stefan Kost [Fri, 9 Jul 2010 12:58:50 +0000 (15:58 +0300)]
tests: clean up eventloop in examples

Don't leak the bus. Don't parse messages with the method for errors (triggers
gobject warning).

13 years agobenchmark: handle errors from the pipeline
Stefan Kost [Thu, 8 Jul 2010 11:08:27 +0000 (14:08 +0300)]
benchmark: handle errors from the pipeline

Catch errors and warnings on the bus. This fixes hanging pipelines in the case
of bugs elsewhere. Also print state-change messages to give more detail on the progress.

13 years agobenchmark: cleanup last change in capsnego benchmark
Stefan Kost [Tue, 6 Jul 2010 15:20:40 +0000 (18:20 +0300)]
benchmark: cleanup last change in capsnego benchmark

A pad name is not a factory name.

13 years agodocs: more docs for gst_parse_launch and co
Stefan Kost [Tue, 6 Jul 2010 11:29:39 +0000 (14:29 +0300)]
docs: more docs for gst_parse_launch and co

Tell about limited reusability of some parsed pipelines.

13 years agoinspect: pad info output improvements
Stefan Kost [Mon, 5 Jul 2010 13:32:00 +0000 (16:32 +0300)]
inspect: pad info output improvements

Don't print empty query types. Also print caps-vmethods.

13 years agopad: log element:pad names with caps
Stefan Kost [Tue, 6 Jul 2010 13:47:22 +0000 (16:47 +0300)]
pad: log element:pad names with caps

13 years agoutils: better error logging in link_pads_filtered
Stefan Kost [Wed, 30 Jun 2010 08:46:11 +0000 (11:46 +0300)]
utils: better error logging in link_pads_filtered

13 years agotests: add comments telling the meaning of the abbreviations
Stefan Kost [Thu, 24 Jun 2010 07:00:04 +0000 (10:00 +0300)]
tests: add comments telling the meaning of the abbreviations

13 years agobasesrc: avoid some caps manipulation
Stefan Kost [Mon, 5 Jul 2010 09:19:29 +0000 (12:19 +0300)]
basesrc: avoid some caps manipulation

After the intersect we have writable caps. Copy the template caps so that also
there we have writable caps.

13 years agotests: add basic unit test for gst_pad_proxy_getcaps()
Tim-Philipp Müller [Thu, 5 Aug 2010 00:09:02 +0000 (01:09 +0100)]
tests: add basic unit test for gst_pad_proxy_getcaps()

https://bugzilla.gnome.org/show_bug.cgi?id=624203

13 years agogstutils: Make gst_pad_proxy_getcaps() return empty caps if it's what the other side has
Olivier Crête [Thu, 5 Aug 2010 00:06:57 +0000 (01:06 +0100)]
gstutils: Make gst_pad_proxy_getcaps() return empty caps if it's what the other side has

gst_pad_proxy_getcaps() would return the pad template caps if the other side
returned empty caps or if the intersection of all the caps on the other side
was empty.

https://bugzilla.gnome.org/show_bug.cgi?id=624203

13 years agoconfigure: Check if the compiler supports ISO C89 or C99 and which parameters are...
Sebastian Dröge [Wed, 4 Aug 2010 17:19:55 +0000 (19:19 +0200)]
configure: Check if the compiler supports ISO C89 or C99 and which parameters are required

This first checks what is required for ISO C99 support and sets the relevant
compiler parameters and if no C99 compiler is found, it checks for a
C89 compiler. This enables us to check for and use C89/C99 functions
that gcc hides from us without the correct compiler parameters.

13 years agobytereader: Fix docs
Thiago Santos [Wed, 4 Aug 2010 16:47:23 +0000 (13:47 -0300)]
bytereader: Fix docs

Fix typo in docs for the unsigned peek functions

13 years agogst: remove \n from debug statements
Wim Taymans [Mon, 5 Jul 2010 08:00:02 +0000 (10:00 +0200)]
gst: remove \n from debug statements

13 years agodocs: fix build with gtk-doc from git
Tim-Philipp Müller [Tue, 3 Aug 2010 10:37:13 +0000 (11:37 +0100)]
docs: fix build with gtk-doc from git

For some reason the static inline function GST_CAT_LEVEL_LOG_valist is
now picked up, which then breaks the build because it's not documented,
so add it to the sections file.

Based on patch by Víctor Manuel Jáquez Leal <vjaquez@igalia.com>.

Fixes #625862.

13 years agotypefind: add comment and more logging
Stefan Kost [Thu, 15 Jul 2010 20:05:09 +0000 (23:05 +0300)]
typefind: add comment and more logging

13 years agoqueue2: download mode; prevent range corruption due to race
Mark Nauwelaerts [Thu, 29 Jul 2010 15:27:06 +0000 (17:27 +0200)]
queue2: download mode; prevent range corruption due to race

Current range was being updated in the thread performing seek, but as
no locks were kept for a short section, data flow could resume before
current range updated, so data for the new range would be accepted as
from the previous range.

Rather, range should be updated in serialized manner based on
newsegment event.

13 years agobasetransform fix for upstream caps-renegotiation
Rob Clark [Sat, 22 May 2010 21:33:11 +0000 (16:33 -0500)]
basetransform fix for upstream caps-renegotiation

If initially pass-through caps are negotiated between a transform element's
sink and src pads, but then the downstream element returns different caps
on a buffer from pad_alloc(), basetransform gets stuck with proxy_alloc=TRUE
even though the upstream peer doesn't accept the caps, causing
gst_pad_peer_accept_caps() to be called on each buffer in _buffer_alloc():

    if (!gst_caps_is_equal (newcaps, caps)) {
      GST_DEBUG_OBJECT (trans, "caps are new");
      /* we have new caps, see if we can proxy downstream */
>>    if (gst_pad_peer_accept_caps (pad, newcaps)) {
        /* peer accepts the caps, return a buffer in this format */
        GST_DEBUG_OBJECT (trans, "peer accepted new caps");

which is taking ~40ms/frame.

This patch does two things.  (1) if the buffer returned from pad_alloc() has
new caps, trigger the decision whether to proxy the buffer-alloc to be
revisited, and (2) disable proxy if peer does not accept new caps.  (The first
part may not be strictly needed, but seemed like a good idea.)

Note that this issue would not arise except in case of downstream elements
who have on their template-caps, some that would be suitable for pass-through,
but at runtime pick more restrictive caps (for ex, after querying a driver for
what formats it actually supports).

13 years agoinfo: fix compilation on windows
Tim-Philipp Müller [Tue, 27 Jul 2010 12:30:51 +0000 (14:30 +0200)]
info: fix compilation on windows

Fix mismatched brackets (#625295).

13 years agogstdatetime: Fix localtime usage
Thiago Santos [Tue, 27 Jul 2010 10:21:19 +0000 (07:21 -0300)]
gstdatetime: Fix localtime usage

localtime only takes one parameter and returns a statically
allocated tm struct. Use it correctly.

Fixes #625368

13 years agobasetransform: Try suggesting caps on bad caps pad_alloc
Thiago Santos [Mon, 29 Mar 2010 21:05:40 +0000 (18:05 -0300)]
basetransform: Try suggesting caps on bad caps pad_alloc

When basetransform received an unsupported caps on pad_alloc
it just returned not-negotiated. This patch makes it query
the allowed caps between his sinkpad and upstream's srcpad
to find a caps to suggest.

This happens when dinamically switching pipeline elements
and upstream pad_allocs with the previous caps that was
being used.

Fixes #614296

13 years agoinfo: flush again after every line of debug output
Tim-Philipp Müller [Mon, 26 Jul 2010 16:53:57 +0000 (18:53 +0200)]
info: flush again after every line of debug output

g_printerr() used to do this for us. Also use libc's fprintf() functions,
to make sure the stderr pointer we use is actually compatible with the
libc linked against by GStreamer (which apparently may not always be the
same as what GLib is linked against on windows), and we don't need the
functionality ensured by g_fprintf().

Fixes #625295.

13 years agopo: update for new strings
Tim-Philipp Müller [Mon, 26 Jul 2010 16:53:35 +0000 (18:53 +0200)]
po: update for new strings

13 years agogstvalue: Adds tests for datetime
Thiago Santos [Wed, 23 Jun 2010 14:31:33 +0000 (11:31 -0300)]
gstvalue: Adds tests for datetime

Adds tests for datetime fields in gstvalue tests

Fixes #594504

13 years agogststructure: Adds datetime getter function
Thiago Santos [Wed, 23 Jun 2010 14:30:02 +0000 (11:30 -0300)]
gststructure: Adds datetime getter function

Adds gst_structure_get_date_time function

API: gst_structure_get_date_time

Fixes #594504

13 years agotag: Adds GST_TAG_DATE_TIME tag
Thiago Santos [Tue, 22 Jun 2010 02:42:44 +0000 (23:42 -0300)]
tag: Adds GST_TAG_DATE_TIME tag

Adds a new tag that represents a date and time a media was
created

API: GST_TAG_DATE_TIME

Fixes #594504

13 years agotaglist: Add datetime get functions
Thiago Santos [Thu, 22 Jul 2010 01:08:21 +0000 (22:08 -0300)]
taglist: Add datetime get functions

Adds _date_time_get and _date_time_get_index functions to
taglist.

API: gst_tag_list_get_date_time
API: gst_tag_list_get_date_time_index

Fixes #594504

13 years agogstvalue: Adds datetime functions
Thiago Santos [Thu, 22 Jul 2010 01:04:23 +0000 (22:04 -0300)]
gstvalue: Adds datetime functions

Adds a datetime functions to gstvalue

Fixes #594504

13 years agogstdatetime: Adds GstDateTime
Thiago Santos [Fri, 16 Jul 2010 17:09:12 +0000 (14:09 -0300)]
gstdatetime: Adds GstDateTime

Adds GstDateTime to represent dates + time + timezone
information.

Tests included.

API: GstDateTime
API: gst_date_time_get_day
API: gst_date_time_get_month
API: gst_date_time_get_year
API: gst_date_time_get_hour
API: gst_date_time_get_microsecond
API: gst_date_time_get_minute
API: gst_date_time_get_second
API: gst_date_time_get_time_zone_offset
API: gst_date_time_new
API: gst_date_time_new_local_time
API: gst_date_time_new_from_unix_epoch
API: gst_date_time_new_now_local_time
API: gst_date_time_new_now_utc
API: gst_date_time_ref
API: gst_date_time_unref

Fixes #594504

13 years agogst: Fix usage of glib_check_version()
Sebastian Dröge [Mon, 26 Jul 2010 12:59:51 +0000 (14:59 +0200)]
gst: Fix usage of glib_check_version()

It returns NULL if the installed GLib version is as least as
new as the required version and some explanatory string otherwise.

13 years agotools: make gst-inspect print the release date time stamp
Tim-Philipp Müller [Fri, 23 Jul 2010 19:46:10 +0000 (20:46 +0100)]
tools: make gst-inspect print the release date time stamp

13 years agoconfigure: use new AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO macro
Tim-Philipp Müller [Mon, 21 Jun 2010 16:34:49 +0000 (17:34 +0100)]
configure: use new AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO macro

13 years agobinaryregistry: save and load release date time in GstPluginDesc
Tim-Philipp Müller [Sun, 20 Jun 2010 00:55:00 +0000 (01:55 +0100)]
binaryregistry: save and load release date time in GstPluginDesc

https://bugzilla.gnome.org/show_bug.cgi?id=623040

13 years agoplugin: add release datetime field to GstPluginDesc and set it if GST_PACKAGE_RELEASE...
Tim-Philipp Müller [Sat, 19 Jun 2010 23:33:36 +0000 (00:33 +0100)]
plugin: add release datetime field to GstPluginDesc and set it if GST_PACKAGE_RELEASE_DATETIME is defined

This is a string describing a date and/or date/time in a simple subset of
the ISO-8601 format, namely either "YYYY-MM-DD" or "YYYY-MM-DDTHH:MMZ" (with
'T' the date/time separator and the 'Z' indicating UTC).

The main purpose of this field is to keep track of plugin and element versions
on an absolute timeline, so it's possible to determine which one is newer when
comparing two date time numbers. This will allow us to express 'replaces'-type
relationships betweeen plugins and element factories in future, even across
different modules and plugin merges or splits (source module version numbers
aren't particularly useful here, since they can only meaningfully be compared
within the same module). It also allows applications and libraries to reliably
check that a plugin is recent enough without making assumptions about modules
or module versions.

We use a string here to keep things simple and clear, esp. on the build system
side of things.

https://bugzilla.gnome.org/show_bug.cgi?id=623040

13 years agotests: make *_get_type() in tests thread safe
Shixin Zeng [Tue, 20 Jul 2010 14:25:20 +0000 (09:25 -0500)]
tests: make *_get_type() in tests thread safe

Even if it shouldn't be needed here. See #623491.

13 years agoinfo: write debugging output to file if GST_DEBUG_FILE environment variable is set
Tim-Philipp Müller [Fri, 4 Jun 2010 10:24:59 +0000 (11:24 +0100)]
info: write debugging output to file if GST_DEBUG_FILE environment variable is set

This changes behaviour slightly in that we no longer output things
via g_printerr(), so any non-standard glib printerr handlers are no
longer called when GST_DEBUG is enabled. However, this seems not
really desirable in most cases anyway, and the GLib docs also say
that libraries should not use g_printerr() for logging.

Other stderr output (e.g. warnings, or application messages) will
of course not be captured in the log file this way.

GST_DEBUG_FILE=- will redirect debug output to stdout.

14 years agogstpad: Assume pads are compatible if we don't have templates
Edward Hervey [Tue, 20 Jul 2010 18:49:12 +0000 (20:49 +0200)]
gstpad: Assume pads are compatible if we don't have templates

This is the same behaviour as if we had a pad template caps of
GST_CAPS_ANY on any of the pads (i.e. the actual check will be done
during caps negotiation).

14 years agobasetransform: Allow the subclass to add new fields to caps when getting new caps...
Sebastian Dröge [Sat, 17 Jul 2010 19:28:41 +0000 (21:28 +0200)]
basetransform: Allow the subclass to add new fields to caps when getting new caps from downstream

This was already done in all other cases where new caps are handled
except upstream negotiation.

14 years agodocs: fix some typos and add some missing links in the app dev manual
Michael Bunk [Mon, 12 Jul 2010 12:39:00 +0000 (14:39 +0200)]
docs: fix some typos and add some missing links in the app dev manual

Fixes #624164.

14 years agodocs: fix typo on gst-inspect man page
Michael Bunk [Mon, 12 Jul 2010 12:22:50 +0000 (14:22 +0200)]
docs: fix typo on gst-inspect man page

See #624164.

14 years agogstcheck: fix some silly list iteration code
Tim-Philipp Müller [Sat, 3 Jul 2010 14:08:12 +0000 (15:08 +0100)]
gstcheck: fix some silly list iteration code

g_list_length() is not the best way to check if a list is empty or not.

14 years agoregistry: use GStatBuf unconditionally and add typedef for backwards compatibility
Tim-Philipp Müller [Fri, 16 Jul 2010 16:53:38 +0000 (17:53 +0100)]
registry: use GStatBuf unconditionally and add typedef for backwards compatibility

No need to clutter the code with #if #else #endif.

See #623875.

14 years agostructure: Use a const GstStructure * as parameter for some more gst_structure_get...
Sebastian Dröge [Fri, 16 Jul 2010 15:33:38 +0000 (17:33 +0200)]
structure: Use a const GstStructure * as parameter for some more gst_structure_get variants

14 years agoRevert "-launch: disable CLOCK_LOST message handling"
Sebastian Dröge [Wed, 14 Jul 2010 17:47:43 +0000 (19:47 +0200)]
Revert "-launch: disable CLOCK_LOST message handling"

This reverts commit 1f8eba611a63f45766c38c640288e42b27b10bd4.

This should be fixed now (and if not should be fixed) and the
clock-lost handling is now needed for playbin2 gapless playback.

See bug #579127.

14 years agoregistrybinary: Fix compatibility with GLib 2.25 when using MSVC
David Hoyt [Thu, 8 Jul 2010 19:04:54 +0000 (21:04 +0200)]
registrybinary: Fix compatibility with GLib 2.25 when using MSVC

Newer GLib uses a new type for g_stat() and friends to improve
Windows compatibility. On POSIX this is a typedef to struct stat.

Fixes bug #623875.

14 years agopipeline: If the currently used clock gets lost update it the next time when going...
Sebastian Dröge [Thu, 8 Jul 2010 05:48:07 +0000 (07:48 +0200)]
pipeline: If the currently used clock gets lost update it the next time when going from PAUSED to playing

Fixes bug #623806.

14 years agobasesrc: Return values in stream time for the POSITION query
Sebastian Dröge [Mon, 5 Jul 2010 17:33:01 +0000 (19:33 +0200)]
basesrc: Return values in stream time for the POSITION query

Fixes bug #623622.

14 years agobasesink: Implement GstElement::get_query_types()
Sebastian Dröge [Mon, 5 Jul 2010 16:54:45 +0000 (18:54 +0200)]
basesink: Implement GstElement::get_query_types()

14 years agobasesink: Only answer the SEGMENT query in pull mode
Sebastian Dröge [Tue, 6 Jul 2010 08:13:04 +0000 (10:13 +0200)]
basesink: Only answer the SEGMENT query in pull mode

Otherwise the element handling the seeks should answer this query.

Fixes bug #623622.

14 years agobasetransform: Implement POSITION query
Sebastian Dröge [Mon, 5 Jul 2010 08:36:05 +0000 (10:36 +0200)]
basetransform: Implement POSITION query

Fixes bug #623541.

14 years agoGstPad: Do not call gst_pad_accept_caps() when caps change
Edward Hervey [Fri, 25 Jun 2010 14:31:06 +0000 (16:31 +0200)]
GstPad: Do not call gst_pad_accept_caps() when caps change

Instead just check that the caps intersect with the pad template.
The elements should properly accept/refuse the caps in setcaps().

Shaves off calling the default implementation of acceptcaps which does
an expensive gst_pad_get_caps() (so if you have 50 of those elements in
a row, you'd be doing factorial(50) gst_pad_get_caps...).

Does not break any module unit test and most apps work fine.

https://bugzilla.gnome.org/show_bug.cgi?id=622740

14 years agoutils: Add more details about gst_element_get_compatible_pad
Edward Hervey [Thu, 8 Jul 2010 14:24:21 +0000 (16:24 +0200)]
utils: Add more details about gst_element_get_compatible_pad

14 years agoBack to development.
Tim-Philipp Müller [Fri, 16 Jul 2010 10:16:15 +0000 (11:16 +0100)]
Back to development.

14 years agoRelease 0.10.30 RELEASE-0.10.30
Tim-Philipp Müller [Wed, 14 Jul 2010 22:59:43 +0000 (23:59 +0100)]
Release 0.10.30

14 years agopo: update translations
Tim-Philipp Müller [Wed, 14 Jul 2010 16:58:15 +0000 (17:58 +0100)]
po: update translations

14 years agopad: remove comma at the end of the last enum value
Stefan Kost [Thu, 15 Jul 2010 09:01:24 +0000 (12:01 +0300)]
pad: remove comma at the end of the last enum value

Fixes the build for c++.

14 years agochecks: add unit test for recent taglist merge_strings_with_comma fix
Tim-Philipp Müller [Sun, 11 Jul 2010 18:00:54 +0000 (19:00 +0100)]
checks: add unit test for recent taglist merge_strings_with_comma fix

See #624113.

14 years agotaglist: fix merge_strings_with_comma() for more than two strings
Eduardo Dobay [Sun, 11 Jul 2010 17:59:53 +0000 (18:59 +0100)]
taglist: fix merge_strings_with_comma() for more than two strings

Fixes #624113.

14 years ago.gitignore: ignore new basesink unit test binary
Tim-Philipp Müller [Thu, 8 Jul 2010 12:46:56 +0000 (13:46 +0100)]
.gitignore: ignore new basesink unit test binary

14 years agotools: remove -p shorthand for --no-sigusr-handler
Tim-Philipp Müller [Thu, 8 Jul 2010 12:43:22 +0000 (13:43 +0100)]
tools: remove -p shorthand for --no-sigusr-handler

It's not really needed, and doesn't map any longer after the long option
has been renamed.

14 years ago0.10.29.4 pre-release
Tim-Philipp Müller [Tue, 6 Jul 2010 14:47:40 +0000 (15:47 +0100)]
0.10.29.4 pre-release

Also bump libtool versions now (which I meant to do for the first
pre-release but forgot).

14 years agopo: update translations
Tim-Philipp Müller [Tue, 6 Jul 2010 22:44:26 +0000 (23:44 +0100)]
po: update translations

14 years agobasesink: add accessors for the enable-last-buffer property.
Alessandro Decina [Tue, 6 Jul 2010 14:21:05 +0000 (16:21 +0200)]
basesink: add accessors for the enable-last-buffer property.

API: gst_base_sink_set_last_buffer_enabled
API: gst_base_sink_is_last_buffer_enabled

14 years agobasesink: add new enable-last-buffer property.
Alessandro Decina [Tue, 6 Jul 2010 10:18:45 +0000 (12:18 +0200)]
basesink: add new enable-last-buffer property.

Add a new enable-last-buffer property. When false, it disables storing the last
received buffer in basesink::last-buffer. This can be useful in cases where
buffers need to be released asap.

API: GstBaseSink::enable-last-buffer

14 years agochecks: rewrite gsttagsetter test to use fewer g_usleep()
Tim-Philipp Müller [Tue, 6 Jul 2010 09:48:27 +0000 (10:48 +0100)]
checks: rewrite gsttagsetter test to use fewer g_usleep()

Something about that seems to interact badly with some schedulers,
so do things differently.

Fixes #623469.

14 years agodocs: add new add gst_clock_id_wait_async_full() to docs
Tim-Philipp Müller [Tue, 6 Jul 2010 09:19:09 +0000 (10:19 +0100)]
docs: add new add gst_clock_id_wait_async_full() to docs

API: add gst_clock_id_wait_async_full

See #623589.

14 years agogstvalue: Improve gst_value_{set|get}_caps docs
Edward Hervey [Tue, 6 Jul 2010 08:28:14 +0000 (10:28 +0200)]
gstvalue: Improve gst_value_{set|get}_caps docs

14 years agowin32: export gst_clock_id_wait_async_full
Alessandro Decina [Tue, 6 Jul 2010 08:35:09 +0000 (10:35 +0200)]
win32: export gst_clock_id_wait_async_full

14 years agotests: remove ABI checks for GstClockEntry.
Alessandro Decina [Tue, 6 Jul 2010 08:31:25 +0000 (10:31 +0200)]
tests: remove ABI checks for GstClockEntry.

14 years agoclock: document that GstClockEntry should be treated as ana opaque structure.
Alessandro Decina [Mon, 5 Jul 2010 16:45:55 +0000 (18:45 +0200)]
clock: document that GstClockEntry should be treated as ana opaque structure.

14 years agoclock: use the new gst_clock_id_wait_async_full.
Alessandro Decina [Mon, 5 Jul 2010 11:10:09 +0000 (13:10 +0200)]
clock: use the new gst_clock_id_wait_async_full.

Use the new gst_clock_id_wait_async_full in gst_clock_set_master.
Also add some tests.

14 years agoclock: fix refcounting bug in gst_clock_set_master.
Alessandro Decina [Mon, 5 Jul 2010 11:01:53 +0000 (13:01 +0200)]
clock: fix refcounting bug in gst_clock_set_

Make sure clock->clockid is unreffed before clock->master.
gst_clock_id_unschedule (clock->clockid) tries to access clock->master. If
clock->master is unreffed before and it's deallocated, _unschedule could access
free'd memory.

14 years agoclock: add gst_clock_id_wait_async_full.
Alessandro Decina [Mon, 5 Jul 2010 10:56:40 +0000 (12:56 +0200)]
clock: add gst_clock_id_wait_async_full.

Add gst_clock_id_wait_async_full. It's the same as gst_clock_id_wait_async but
allows passing a GDestroyNotify to destroy user_data.

14 years agodocs: improve the api docs for new GstPadLinkChecks and its use
Stefan Kost [Mon, 5 Jul 2010 14:50:33 +0000 (17:50 +0300)]
docs: improve the api docs for new GstPadLinkChecks and its use

14 years agoREADME: update after removal of "old" dir.
Stefan Kost [Mon, 5 Jul 2010 09:21:51 +0000 (12:21 +0300)]
README: update after removal of "old" dir.

Remove "old" and add a line about "examples".

14 years agoRemove old 0.8 tests and examples from git tree
Tim-Philipp Müller [Sun, 4 Jul 2010 16:34:30 +0000 (17:34 +0100)]
Remove old 0.8 tests and examples from git tree

Doesn't really look like anything's worth keeping.

14 years agocheck: skip silly test that segfaults when in a CK_FORK=no environment
Tim-Philipp Müller [Sat, 3 Jul 2010 15:39:40 +0000 (16:39 +0100)]
check: skip silly test that segfaults when in a CK_FORK=no environment

See #623469.

14 years agochecks: make fakesrc check work in a CK_FORK=no environment
Tim-Philipp Müller [Sat, 3 Jul 2010 14:13:14 +0000 (15:13 +0100)]
checks: make fakesrc check work in a CK_FORK=no environment

Reset have_eos at the beginning of each test.

See #623469.

14 years agochecks: run tests calling gst_deinit() last so things work with CK_FORK=no
Tim-Philipp Müller [Sat, 3 Jul 2010 13:09:36 +0000 (14:09 +0100)]
checks: run tests calling gst_deinit() last so things work with CK_FORK=no

Because gst_init() will fail once gst_deinit() has been called.

See #623469.

14 years agochecks: don't assume element factory is not loaded yet
Tim-Philipp Müller [Sat, 3 Jul 2010 13:04:32 +0000 (14:04 +0100)]
checks: don't assume element factory is not loaded yet

It may already be loaded if check is being run with CK_FORK=no.

See #623469.

14 years agodocs: fix a couple of typos in the manual
Tim-Philipp Müller [Thu, 1 Jul 2010 18:58:09 +0000 (19:58 +0100)]
docs: fix a couple of typos in the manual

Spotted by Alexander Saprykin.

Fixes #622379.

14 years agogstcaps: Make sure _normalize() is applied on all structures.
Edward Hervey [Thu, 1 Jul 2010 15:56:33 +0000 (17:56 +0200)]
gstcaps: Make sure _normalize() is applied on all structures.

We need to use gst_caps_get_size() in the loop counter since some
structures could be added while iterating.

Fixes #623301

14 years agodocs: update 'XML in GStreamer' section in application developer's manual
Tim-Philipp Müller [Wed, 30 Jun 2010 12:16:35 +0000 (13:16 +0100)]
docs: update 'XML in GStreamer' section in application developer's manual

14 years ago0.10.29.3 pre-release
Tim-Philipp Müller [Tue, 29 Jun 2010 17:48:05 +0000 (18:48 +0100)]
0.10.29.3 pre-release

14 years agomultiqueue: implement acceptcaps function
Wim Taymans [Fri, 25 Jun 2010 17:03:27 +0000 (19:03 +0200)]
multiqueue: implement acceptcaps function

Our acceptcaps function can simply forward the query.

14 years agoBump automake requirement to 1.10
Tim-Philipp Müller [Mon, 28 Jun 2010 14:28:59 +0000 (15:28 +0100)]
Bump automake requirement to 1.10

For maintainability reasons and $(builddir).

Fixes #622944.

14 years agotools: mention --eos-on-shutdown on gst-launch man page
Tim-Philipp Müller [Mon, 28 Jun 2010 12:56:00 +0000 (13:56 +0100)]
tools: mention --eos-on-shutdown on gst-launch man page

14 years agoutils: Don't use G_GNUC_CONST for the uint64 scaling functions
Sebastian Dröge [Mon, 28 Jun 2010 08:20:39 +0000 (10:20 +0200)]
utils: Don't use G_GNUC_CONST for the uint64 scaling functions

They are actually *not* const functions because on architectures
without int128 instructions the parameters were changed.

gcc re-used the parameters on the stack for multiple calls though
and the changed parameters were used for the second call then.

Fixes bug #623003.