Josep Torra [Thu, 25 Aug 2011 19:25:46 +0000 (21:25 +0200)]
registrychunks: explicitly cast to the enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Josep Torra [Thu, 25 Aug 2011 19:18:15 +0000 (21:18 +0200)]
query: minor changes related to enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Josep Torra [Thu, 25 Aug 2011 19:03:53 +0000 (21:03 +0200)]
padtemplate: explicitly cast to the enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Josep Torra [Tue, 16 Aug 2011 21:00:47 +0000 (23:00 +0200)]
pad: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Josep Torra [Tue, 16 Aug 2011 20:51:29 +0000 (22:51 +0200)]
message: explicitly cast to the right enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Josep Torra [Tue, 16 Aug 2011 20:41:32 +0000 (22:41 +0200)]
info: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Josep Torra [Tue, 16 Aug 2011 20:37:08 +0000 (22:37 +0200)]
index: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Josep Torra [Tue, 16 Aug 2011 20:29:59 +0000 (22:29 +0200)]
format: use GST_FORMAT_UNDEFINED and few casts to GstFormat
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Sjoerd Simons [Fri, 26 Aug 2011 12:02:34 +0000 (13:02 +0100)]
basetransform: Fix bodged previous commit
Sjoerd Simons [Fri, 26 Aug 2011 11:37:43 +0000 (12:37 +0100)]
basetransform: Use GstPadDirection in the query vfunc
Wim suggested that using GstPadDirection instead of a GstPad in the
arguments to the new query vfunc would be more consistent with the other
functions.
Sjoerd Simons [Thu, 25 Aug 2011 10:02:16 +0000 (11:02 +0100)]
BaseTransform: Add a query vfunc
Sjoerd Simons [Wed, 20 Jul 2011 12:05:27 +0000 (14:05 +0200)]
capsfilter: don't assume _get_caps still has to be
_set_caps only gets called when the buffer is actually pushed, so there
is a reasonably big window between when the initial caps are retrieved
and when the caps are set on our src pad. So we can't assume the not
having negotiated caps on our src pad means _get_caps still has to be
called.
Instead simply always suggest the new caps on buffer_alloc.
Mark Nauwelaerts [Tue, 23 Aug 2011 16:19:53 +0000 (18:19 +0200)]
basesink: ensure start_time reset upon flush
Stefan Kost [Tue, 23 Aug 2011 09:55:17 +0000 (11:55 +0200)]
gstobject: also remove the cast as this is causing the trouble
Stefan Kost [Tue, 23 Aug 2011 09:41:02 +0000 (11:41 +0200)]
gstobject: use the atomic macros to deal with the glib change in the impl.
David Schleef [Sun, 21 Aug 2011 21:07:08 +0000 (14:07 -0700)]
object: make gst_object_replace() atomic
Stefan Kost [Sat, 20 Aug 2011 12:07:55 +0000 (14:07 +0200)]
docs: more clarification for element docs
Don't suggest deprecated method in the desction docs and try to be more helpful
in other places by suggesting related functions.
Stefan Kost [Sat, 20 Aug 2011 07:56:01 +0000 (09:56 +0200)]
docs: small clarification in the gst_element_get_request_pad docs
Make it more obvious that one should pass the template name.
Tim-Philipp Müller [Thu, 18 Aug 2011 19:46:01 +0000 (20:46 +0100)]
baseparse: don't use == in debug string
It messes up GST_DEBUG=*:5 make foo/bar.valgrind, because
our Makefile looks for '==' as marker of valgrind output.
Tim-Philipp Müller [Thu, 18 Aug 2011 19:44:01 +0000 (20:44 +0100)]
baseparse: fix crash on seek from streaming thread on newsegment event
Event if it's not allowed, we can easily prevent it, so let's do
that.
https://bugzilla.gnome.org/show_bug.cgi?id=656771
Tim-Philipp Müller [Tue, 16 Aug 2011 16:19:29 +0000 (17:19 +0100)]
docs: fix typo in element factory documentation
Tim-Philipp Müller [Mon, 15 Aug 2011 20:05:34 +0000 (21:05 +0100)]
caps: fix compiler warning reported by ICC
The MAX macro expands to code that checks if an unsigned integer is < 0.
Fixes warning #186: pointless comparison of unsigned integer reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
Josep Torra [Wed, 10 Aug 2011 09:39:23 +0000 (11:39 +0200)]
buffer: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
Josep Torra [Wed, 10 Aug 2011 09:07:49 +0000 (11:07 +0200)]
gststate: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
Josep Torra [Tue, 9 Aug 2011 21:42:26 +0000 (23:42 +0200)]
event: explicitly cast to the right enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
Josep Torra [Tue, 9 Aug 2011 21:33:43 +0000 (23:33 +0200)]
gsterror: explicitly cast to the right GstGError code enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
Josep Torra [Tue, 9 Aug 2011 21:26:13 +0000 (23:26 +0200)]
debugutils: use GST_STATE_VOID_PENDING for GstState instead of 0
Fixes a warning reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
Josep Torra [Tue, 9 Aug 2011 20:48:53 +0000 (22:48 +0200)]
caps: define GST_CAPS_FLAGS_NONE for consistency with other enumerations
Use them to fix warnings when building with ICC.
API: GST_CAPS_FLAGS_NONE
https://bugzilla.gnome.org/show_bug.cgi?id=656265
Josep Torra [Tue, 9 Aug 2011 20:29:44 +0000 (22:29 +0200)]
gst: use GstDebugLevel enum type to fix a warning building with ICC
https://bugzilla.gnome.org/show_bug.cgi?id=656265
Guillaume Desmottes [Mon, 15 Aug 2011 11:17:44 +0000 (13:17 +0200)]
gst-uninstalled: add Farsight and Nice support
https://bugzilla.gnome.org/show_bug.cgi?id=656557
Tim-Philipp Müller [Fri, 12 Aug 2011 18:27:21 +0000 (19:27 +0100)]
queue2: fix deadlock in error path
Don't lock the same lock twice. Spotted by Josep Torre Valles.
Tim-Philipp Müller [Thu, 11 Aug 2011 08:31:25 +0000 (09:31 +0100)]
docs: fix typo in PWG
RBG -> RGB. Spotted by Will Thompson.
https://bugzilla.gnome.org/show_bug.cgi?id=656326
Stefan Kost [Thu, 11 Aug 2011 08:09:41 +0000 (10:09 +0200)]
debugutils: removed non-sense comment
Stefan Kost [Mon, 8 Aug 2011 17:36:04 +0000 (19:36 +0200)]
registry: move utf-8 validation to registry saving time
Instead of checking for valid utf-8 element-details every time we create
elements (from plugin-init or registry), do it before we save the registry.
Fixes #656193.
Tim-Philipp Müller [Sun, 7 Aug 2011 08:14:50 +0000 (09:14 +0100)]
docs: fix helloworld compile command line for newer gcc
https://bugzilla.gnome.org/show_bug.cgi?id=656092
Shaun Hoopes [Sat, 6 Aug 2011 16:20:51 +0000 (18:20 +0200)]
debugutils: improve dot file flow layout
Iterate source- and sink-pads separately to ensure that the graph reflects the
upstream/downstream order. Fixes #643269
Tim-Philipp Müller [Fri, 5 Aug 2011 11:12:33 +0000 (12:12 +0100)]
tools: make unversioned wrapper look for -0.10 tools only
Don't want (incompatible) 0.11 tools to be picked up by accident.
Evan Nemerson [Wed, 27 Jul 2011 05:41:59 +0000 (22:41 -0700)]
base: add missing (out) annotation for byte reader/writer functions
https://bugzilla.gnome.org/show_bug.cgi?id=655381
Tim-Philipp Müller [Wed, 27 Jul 2011 09:09:11 +0000 (10:09 +0100)]
elementfactory: fix g-i annotation for _create() and _make() to allow NULL object names
Stefan Kost [Sun, 24 Jul 2011 09:24:44 +0000 (11:24 +0200)]
pwd: discontinous event -> newsegment event
Fix a 0.8 leftover as mentioned on bug #621121.
Tim-Philipp Müller [Sat, 23 Jul 2011 07:00:09 +0000 (08:00 +0100)]
controller: fix build failure due to compiler warning
Presumably with newer GLib version.
https://bugzilla.gnome.org/show_bug.cgi?id=655155
Stefan Kost [Mon, 18 Jul 2011 15:22:41 +0000 (17:22 +0200)]
docs: clarify clocks docs in manual
After a question on the mailing list, mention that *flushing* seeks reset the
running time.
Raluca Elena Podiuc [Sat, 16 Jul 2011 19:00:15 +0000 (22:00 +0300)]
docs: removed double negation in event/message seq num description
https://bugzilla.gnome.org/show_bug.cgi?id=654751
Tim-Philipp Müller [Sat, 16 Jul 2011 11:21:12 +0000 (12:21 +0100)]
tests: make sure non-ASCII chars in filenames are escaped when creating URIs from them
https://bugzilla.gnome.org/show_bug.cgi?id=654673
Tim-Philipp Müller [Thu, 14 Jul 2011 11:45:33 +0000 (12:45 +0100)]
baseparse: fix printf format in debug message
Mark Nauwelaerts [Wed, 13 Jul 2011 09:39:15 +0000 (11:39 +0200)]
basesink: unset PLAYING transition flag when transition completed
Mark Nauwelaerts [Mon, 4 Jul 2011 10:58:54 +0000 (12:58 +0200)]
basesink: try harder to arrange increasing position reporting
... rather than having a momentary decreasing one while transitioning
to PLAYING.
Fixes #628021.
Tim-Philipp Müller [Thu, 7 Jul 2011 13:57:18 +0000 (14:57 +0100)]
baseparse: fix invalid memory access in debug messages
Don't use buffers that we've given away or unrefed in debug messages.
Mark Nauwelaerts [Thu, 30 Jun 2011 15:39:37 +0000 (17:39 +0200)]
basesrc: do not sneakily mess with current offset when updating length
Emmanuel Pacaud [Sat, 25 Jun 2011 20:51:52 +0000 (13:51 -0700)]
task: Check for PR_SET_NAME before using
Fixes: #653172.
Signed-off-by: David Schleef <ds@schleef.org>
David Schleef [Thu, 23 Jun 2011 18:27:52 +0000 (11:27 -0700)]
Automatic update of common submodule
From 69b981f to 605cd9a
Stefan Kost [Tue, 21 Jun 2011 13:15:44 +0000 (15:15 +0200)]
images: strip images of extra text tags
Tim-Philipp Müller [Sat, 18 Jun 2011 13:38:53 +0000 (14:38 +0100)]
Bump gobject-introspection requirement to >= 0.6.8
For --add-init-section
Tim-Philipp Müller [Thu, 16 Jun 2011 16:27:21 +0000 (17:27 +0100)]
Bump git version after unplanned 0.10.35 release
Merge remote-tracking branch 'origin/0.10.35'
Philip Jägenstedt [Tue, 14 Jun 2011 15:57:21 +0000 (17:57 +0200)]
basesink: Fix typo in documentation
Fixes #652577.
Tim-Philipp Müller [Wed, 15 Jun 2011 18:15:24 +0000 (19:15 +0100)]
Release 0.10.35
This is an ad-hoc release that is almost identical to 0.10.34:
* work around GLib atomic ops API change
* some minor win32/mingw fixes
* don't use G_CONST_RETURN in public headers
Javier Jardón [Thu, 9 Jun 2011 16:13:35 +0000 (17:13 +0100)]
Use "const" instead G_CONST_RETURN
G_CONST_RETURN will be deprecated soon.
https://bugzilla.gnome.org/show_bug.cgi?id=652211
David Schleef [Sat, 4 Jun 2011 07:30:15 +0000 (00:30 -0700)]
Work around changes in g_atomic API
See #651514 for details. It's apparently impossible to write code
that avoids both type punning warnings with old g_atomic headers and
assertions in the new. Thus, macros and a version check.
Руслан Ижбулатов [Wed, 25 May 2011 09:40:30 +0000 (13:40 +0400)]
systemclock: Placate gcc by defining EWOULDBLOCK to something
Руслан Ижбулатов [Wed, 25 May 2011 08:47:51 +0000 (12:47 +0400)]
poll: Fix WAKE_EVENT() to behave posixly on Windows
Tim-Philipp Müller [Fri, 10 Jun 2011 11:44:40 +0000 (12:44 +0100)]
docs: update for gst_base_src_set_dynamic_size
Add to sections file and add Since: marker. Also update
win32 .def file.
API: gst_base_src_set_dynamic_size()
Javier Jardón [Thu, 9 Jun 2011 16:13:35 +0000 (17:13 +0100)]
Use "const" instead G_CONST_RETURN
G_CONST_RETURN will be deprecated soon.
https://bugzilla.gnome.org/show_bug.cgi?id=652211
Mark Nauwelaerts [Wed, 8 Jun 2011 16:22:36 +0000 (18:22 +0200)]
filesrc/fdsrc: indicate dynamic size handling to basesrc
Mark Nauwelaerts [Wed, 8 Jun 2011 16:22:03 +0000 (18:22 +0200)]
basesrc: add dynamic size handling
This allows subclass to indicate that size reported by src may not be static
and should as such be updated regularly, rather than only when really
needed.
Particular examples are filesrc or fdsrc reading from a file that is still
growing (e.g. being downloaded).
Fixes #652037.
Mark Nauwelaerts [Wed, 8 Jun 2011 18:14:16 +0000 (20:14 +0200)]
Revert "basesrc: Send an update NEWSEGMENT event downstream if the duration changes"
This reverts commit
934faf163caf10ed3d54d81fd7b793069913dffd.
Original commit leads to possibly sending newsegment event downstream
in pull mode. In push mode, quite some downstream elements
are likely to only expect newsegment event following a seek they performed
and as such may have their state messed up.
Tim-Philipp Müller [Sat, 4 Jun 2011 14:42:13 +0000 (15:42 +0100)]
parse: add prototypes for unused functions to avoid compiler warning
The warning is never fatal, because we don't use -Werror for the
parser helper library build, but the warnings are annoying anyway.
Tim-Philipp Müller [Sat, 4 Jun 2011 13:02:23 +0000 (14:02 +0100)]
po: update for new translatable string
David Schleef [Sat, 4 Jun 2011 07:30:15 +0000 (00:30 -0700)]
Work around changes in g_atomic API
See #651514 for details. It's apparently impossible to write code
that avoids both type punning warnings with old g_atomic headers and
assertions in the new. Thus, macros and a version check.
Edward Hervey [Wed, 1 Jun 2011 13:29:20 +0000 (15:29 +0200)]
check/abi: Ignore GstXML* on arm when not present
Edward Hervey [Tue, 31 May 2011 11:43:47 +0000 (13:43 +0200)]
outputselector: Remove dead assignment
Sebastian Dröge [Mon, 30 May 2011 09:33:57 +0000 (11:33 +0200)]
value: Consider "1" and "{1}" as equal in gst_value_compare()
Previously this was only done in the is_subset() check but
having it only there brings us into definition-hell where
"1" and "{1}" are subset of each other but not equal.
Sebastian Dröge [Mon, 30 May 2011 05:36:58 +0000 (07:36 +0200)]
caps: Fix subset check for equivalent lists and scalar values
For example "{ 1 }" and "1" are not strictly equal but
both are a subset of each other. Also add a unit test
for this.
Tim-Philipp Müller [Sun, 29 May 2011 18:28:34 +0000 (19:28 +0100)]
docs: fix bugzilla URL
htpp -> http
https://bugzilla.gnome.org/show_bug.cgi?id=651362
Stefan Kost [Sat, 28 May 2011 07:24:37 +0000 (10:24 +0300)]
docs: xrefs more api around GstStateChange and GstStateChangeReturn.
Stefan Kost [Sat, 28 May 2011 06:51:45 +0000 (09:51 +0300)]
docs: xref the async messages to GstStateChange
Tim-Philipp Müller [Fri, 27 May 2011 14:14:32 +0000 (15:14 +0100)]
tools: catch and print missing-plugin messages in gst-launch
So that users get some feedback if they're using a pipeline
like src ! decodebin2 ! sink and are missing an element.
Sebastian Dröge [Fri, 27 May 2011 11:55:31 +0000 (13:55 +0200)]
caps: Add gst_caps_is_subset_structure()
API: gst_caps_is_subset_structure()
This allows to check if a structure is a subset of given
caps without allocating a new caps instance for it.
Sebastian Dröge [Fri, 27 May 2011 11:47:11 +0000 (13:47 +0200)]
structure: Add gst_structure_is_subset()
API: gst_structure_is_subset()
Sebastian Dröge [Fri, 27 May 2011 11:38:51 +0000 (13:38 +0200)]
caps: Optimize gst_caps_is_subset()
..and as a result gst_caps_is_equal() and others.
This now only checks if for every subset structure there is
a superset structure in the superset caps. Previously we were
subtracting one from another, creating completely new caps
and then even simplified them.
The new implemention now is about 1.27 times faster and doesn't
break the -base unit tests are anything anymore.
Sebastian Dröge [Fri, 27 May 2011 11:37:06 +0000 (13:37 +0200)]
caps: Fix subset check in gst_caps_merge()
Caps A are a subset of caps B even if caps B doesn't
have all fields of caps A.
Also add a unit test for this.
Sebastian Dröge [Fri, 27 May 2011 10:56:03 +0000 (12:56 +0200)]
Revert "caps: Optimize gst_caps_is_subset()"
This reverts commit
32248a9b852bcb568a5b642299ecc8e5bf48ea13.
This breaks some tests in -base and the failures should
be fixed first.
Sebastian Dröge [Fri, 27 May 2011 10:45:59 +0000 (12:45 +0200)]
caps: Optimize gst_caps_is_subset()
..and as a result gst_caps_is_equal() and others.
This now only checks if for every subset structure there is
a superset structure in the superset caps. Previously we were
subtracting one from another, creating completely new caps
and then even simplified them.
The new implemention now is about 1.27 times faster.
Sebastian Dröge [Fri, 27 May 2011 07:05:46 +0000 (09:05 +0200)]
basesrc: Send an update NEWSEGMENT event downstream if the duration changes
This allows streaming the complete file for files that have grown since
streaming started.
Fixes bug #647940.
Tim-Philipp Müller [Wed, 25 May 2011 15:02:10 +0000 (16:02 +0100)]
gst: we can now use GLib 2.24 API unconditionally
Tim-Philipp Müller [Wed, 25 May 2011 14:54:01 +0000 (15:54 +0100)]
configure: bump GLib requirement to >= 2.24
http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement
Tim-Philipp Müller [Wed, 25 May 2011 14:38:30 +0000 (15:38 +0100)]
docs: update release instructions for gnome change
Руслан Ижбулатов [Wed, 25 May 2011 09:40:30 +0000 (13:40 +0400)]
systemclock: Placate gcc by defining EWOULDBLOCK to something
Руслан Ижбулатов [Wed, 25 May 2011 08:47:51 +0000 (12:47 +0400)]
poll: Fix WAKE_EVENT() to behave posixly on Windows
Stefan Kost [Tue, 24 May 2011 17:28:18 +0000 (20:28 +0300)]
registrybinary: small cleanups
Remove unneeded braces from string define. Small doc improvement.
Stefan Kost [Tue, 24 May 2011 17:27:02 +0000 (20:27 +0300)]
preset: use guint for the version number parts
Use unsigned integers for extra safety (like we do in plugin version parsing).
Debarshi Ray [Tue, 24 May 2011 14:13:58 +0000 (19:43 +0530)]
check: add fail_unless_equals_int64
https://bugzilla.gnome.org/show_bug.cgi?id=650973
Sebastian Dröge [Tue, 24 May 2011 11:28:00 +0000 (13:28 +0200)]
Revert "debugutils: Fix for GstIterator API changes"
This reverts commit
e1cc3176d6fb8023bbe0c733615b2a8c420a2077.
This is not the 0.11 branch...
Sebastian Dröge [Tue, 24 May 2011 11:27:09 +0000 (13:27 +0200)]
debugutils: Fix for GstIterator API changes
Kipp Cannon [Mon, 23 May 2011 21:26:40 +0000 (00:26 +0300)]
clock: improve the GST_TIME_FORMAT/ARGS docs
Stefan Kost [Mon, 23 May 2011 20:40:20 +0000 (23:40 +0300)]
docs: hide this from the docs
Stefan Kost [Fri, 20 May 2011 12:50:05 +0000 (15:50 +0300)]
win32: add new api
Stefan Kost [Fri, 20 May 2011 12:48:09 +0000 (15:48 +0300)]
deprecation-guards: fixup for commit
9ff4ec3104d2510b8f379ff38c671682ff795e33
Remove the deprecation guards for GST_PLUGIN_DEFINE_STATIC again (even though it
is deprecated) as we use it in the tests. Remove "_" for intlinkfunc.
Sebastian Dröge [Fri, 20 May 2011 11:03:51 +0000 (13:03 +0200)]
basesink: Only reinit the cached GstClockID if it is for the same clock
The clock might have changed since the clock ID was created and in
that case we have to request a new one.
Stefan Kost [Thu, 19 May 2011 21:39:10 +0000 (00:39 +0300)]
preset: include cleanup
Only have include in the installed header we need to use it. Move the includes
needed by the implementation to the c file.
Stefan Kost [Thu, 19 May 2011 20:19:30 +0000 (23:19 +0300)]
docs: update plugin introspection data
Now more files are merged and produced in a canonical fashion, which hopefully
creates less or no delta in the future.