pad: fix up printf format in debug message
Which I messed up.
Which I messed up.
pad: make some debug traces more useful
https://bugzilla.gnome.org/show_bug.cgi?id=659139
https://bugzilla.gnome.org/show_bug.cgi?id=659139
scripts: remove gstcvstest.sh
lfocontrolsource: fix clang compiler warning
Cast enum to int before checking for negative values, which are
impossible according to the enum list.
gstlfocontrolsource.c:652:45: error: comparison of unsigned enum expression < 0
is always false [-Werror,-Wtautological-compare]
if (waveform >= num_waveforms || waveform < 0) {
~~~~~~~~ ^ ~
https://bugzilla.gnome.org/show_bug.cgi?id=653137
Cast enum to int before checking for negative values, which are
impossible according to the enum list.
gstlfocontrolsource.c:652:45: error: comparison of unsigned enum expression < 0
is always false [-Werror,-Wtautological-compare]
if (waveform >= num_waveforms || waveform < 0) {
~~~~~~~~ ^ ~
https://bugzilla.gnome.org/show_bug.cgi?id=653137
tests: make sure filesrc returns escaped URIs even if the input was unescaped
https://bugzilla.gnome.org/show_bug.cgi?id=654673
https://bugzilla.gnome.org/show_bug.cgi?id=654673
caps: move log messages for caps creation/freeing into TRACE category
Reduce SPAM for GST_CAPS:5.
Reduce SPAM for GST_CAPS:5.
pad: Only do the subset check in gst_pad_accept_caps() if the pad claims to accept the caps
basesink: make it easy to override the pad query
Add a vmethod to handle the pad query.
Install a default handler for the pad query.
Use the new query function in filesink
Add a vmethod to handle the pad query.
Install a default handler for the pad query.
Use the new query function in filesink
Revert "pad: Use gst_pad_accept_caps() instead of manually checking when configuring a sinkpad"
This reverts commit d3cad28da936b037d877dc70c02286b81b680284.
It causes performance problems because acceptcaps() propagates downstream.
This reverts commit d3cad28da936b037d877dc70c02286b81b680284.
It causes performance problems because acceptcaps() propagates downstream.
pad: Use gst_pad_accept_caps() instead of manually checking when configuring a sinkpad
pad: Print a g_warning() if pad accept caps that are not a subset of its caps
In 0.11 only subsets are supported again as documented instead of also
allowing non-empty intersections.
In 0.11 only subsets are supported again as documented instead of also
allowing non-empty intersections.
Revert "basetransform: Use check for subsets and not non-empty intersection to check if caps are compatible"
This reverts commit 5e5cc5e89e7e2858a6352fa4c81a374f6e5a6297.
See bug #658541.
This reverts commit 5e5cc5e89e7e2858a6352fa4c81a374f6e5a6297.
See bug #658541.
Revert "pad: Check for subsets, not non-empty intersections to check if caps are compatible"
This reverts commit 0c5d50207326d74a4805bcd898bfac887540f12b.
See bug #658541.
This reverts commit 0c5d50207326d74a4805bcd898bfac887540f12b.
See bug #658541.
docs, gst: typo fixes
https://bugzilla.gnome.org/show_bug.cgi?id=658449
https://bugzilla.gnome.org/show_bug.cgi?id=658449
docs: fix make distcheck
No point removin those empty override files from git, they'll
just be re-created later, so let's tell gtk-doc about them, so
it can clean them up properly.
No point removin those empty override files from git, they'll
just be re-created later, so let's tell gtk-doc about them, so
it can clean them up properly.
basetransform: If there's no peer we still have to transform ANY caps in getcaps()
Otherwise elements like capsfilter will return ANY caps if no
peer is present instead of the filter caps. The transform_caps()
vfunc could do transformations to the template caps that do not
result in the unmodified template caps.
Otherwise elements like capsfilter will return ANY caps if no
peer is present instead of the filter caps. The transform_caps()
vfunc could do transformations to the template caps that do not
result in the unmodified template caps.
docs: cleanup makefiles
Remove commented out parts that we don't need. Remove "the wingo addition" - no
so useful after all. Narrow down file-globs for plugin docs.
Remove commented out parts that we don't need. Remove "the wingo addition" - no
so useful after all. Narrow down file-globs for plugin docs.
docs: escape % in docblob
ghostpad: Use gst_pad_set_caps() instead of manually changing caps
gst_pad_set_caps() does essentially the same but additionally calls
the pad's setcaps function.
Fixes bug #658076.
gst_pad_set_caps() does essentially the same but additionally calls
the pad's setcaps function.
Fixes bug #658076.
basetransform: Use check for subsets and not non-empty intersection to check if caps are compatible
pad: Check for subsets, not non-empty intersections to check if caps are compatible
Pads should only accept caps that are a subset of the pad caps, e.g.
they should accept only caps that have a non-empty intersection and
at least all fields of the pad caps.
Without this a pad that wants for example
"video/x-h264,stream-format=byte-stream"
will be happy to accept
"video/x-h264".
Pads should only accept caps that are a subset of the pad caps, e.g.
they should accept only caps that have a non-empty intersection and
at least all fields of the pad caps.
Without this a pad that wants for example
"video/x-h264,stream-format=byte-stream"
will be happy to accept
"video/x-h264".
docs: add since 0.10.36 on the new _NONE enum values
stepping: use the proper argument order
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
fileindex: explicitly cast to the enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
typefinder: use GST_TYPE_FIND_NONE instead of 0
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
lfocontrolsource: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
typefind: add GST_TYPE_FIND_NONE and use it
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
baseparse: use the enum values for 0 and don't abuse on gboolean coincidence
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
baseparse: put the arguments of g_return_val_if_fail in the proper order
parse: use GST_PARSE_FLAG_NONE instead of 0
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
value: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
utils: minor changes related to enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
trace: add GST_ALLOC_TRACE_NONE for consistency and use it
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
task: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
tagsetter: use GST_TAG_MERGE_UNDEFINED instead of FALSE
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
segment: use GST_SEEK_FLAG_NONE instead of 0
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
registrychunks: explicitly cast to the enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
query: minor changes related to enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
padtemplate: explicitly cast to the enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
pad: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
message: explicitly cast to the right enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
info: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
index: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
format: use GST_FORMAT_UNDEFINED and few casts to GstFormat
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Fixes warning #188: enumerated type mixed with another type reported by ICC.
basetransform: Fix bodged previous commit
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.
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.
BaseTransform: Add a query vfunc
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.
_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.
basesink: ensure start_time reset upon flush
gstobject: also remove the cast as this is causing the trouble
gstobject: use the atomic macros to deal with the glib change in the impl.
object: make gst_object_replace() atomic
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.
Don't suggest deprecated method in the desction docs and try to be more helpful
in other places by suggesting related functions.
docs: small clarification in the gst_element_get_request_pad docs
Make it more obvious that one should pass the template name.
Make it more obvious that one should pass the template name.
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.
It messes up GST_DEBUG=*:5 make foo/bar.valgrind, because
our Makefile looks for '==' as marker of valgrind output.
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
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
docs: fix typo in element factory documentation
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
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
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
Fixes warning #188: enumerated type mixed with another type reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
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
Fixes warning #188: enumerated type mixed with another type reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
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
Fixes warning #188: enumerated type mixed with another type reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
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
Fixes warning #188: enumerated type mixed with another type reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
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
Fixes a warning reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
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
Use them to fix warnings when building with ICC.
API: GST_CAPS_FLAGS_NONE
https://bugzilla.gnome.org/show_bug.cgi?id=656265
gst: use GstDebugLevel enum type to fix a warning building with ICC
https://bugzilla.gnome.org/show_bug.cgi?id=656265
https://bugzilla.gnome.org/show_bug.cgi?id=656265
gst-uninstalled: add Farsight and Nice support
https://bugzilla.gnome.org/show_bug.cgi?id=656557
https://bugzilla.gnome.org/show_bug.cgi?id=656557
queue2: fix deadlock in error path
Don't lock the same lock twice. Spotted by Josep Torre Valles.
Don't lock the same lock twice. Spotted by Josep Torre Valles.
docs: fix typo in PWG
RBG -> RGB. Spotted by Will Thompson.
https://bugzilla.gnome.org/show_bug.cgi?id=656326
RBG -> RGB. Spotted by Will Thompson.
https://bugzilla.gnome.org/show_bug.cgi?id=656326
debugutils: removed non-sense comment
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.
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.
docs: fix helloworld compile command line for newer gcc
https://bugzilla.gnome.org/show_bug.cgi?id=656092
https://bugzilla.gnome.org/show_bug.cgi?id=656092
debugutils: improve dot file flow layout
Iterate source- and sink-pads separately to ensure that the graph reflects the
upstream/downstream order. Fixes #643269
Iterate source- and sink-pads separately to ensure that the graph reflects the
upstream/downstream order. Fixes #643269
tools: make unversioned wrapper look for -0.10 tools only
Don't want (incompatible) 0.11 tools to be picked up by accident.
Don't want (incompatible) 0.11 tools to be picked up by accident.
base: add missing (out) annotation for byte reader/writer functions
https://bugzilla.gnome.org/show_bug.cgi?id=655381
https://bugzilla.gnome.org/show_bug.cgi?id=655381
elementfactory: fix g-i annotation for _create() and _make() to allow NULL object names
pwd: discontinous event -> newsegment event
Fix a 0.8 leftover as mentioned on bug #621121.
Fix a 0.8 leftover as mentioned on bug #621121.
controller: fix build failure due to compiler warning
Presumably with newer GLib version.
https://bugzilla.gnome.org/show_bug.cgi?id=655155
Presumably with newer GLib version.
https://bugzilla.gnome.org/show_bug.cgi?id=655155
docs: clarify clocks docs in manual
After a question on the mailing list, mention that *flushing* seeks reset the
running time.
After a question on the mailing list, mention that *flushing* seeks reset the
running time.
docs: removed double negation in event/message seq num description
https://bugzilla.gnome.org/show_bug.cgi?id=654751
https://bugzilla.gnome.org/show_bug.cgi?id=654751
tests: make sure non-ASCII chars in filenames are escaped when creating URIs from them
https://bugzilla.gnome.org/show_bug.cgi?id=654673
https://bugzilla.gnome.org/show_bug.cgi?id=654673
baseparse: fix printf format in debug message
basesink: unset PLAYING transition flag when transition completed
basesink: try harder to arrange increasing position reporting
... rather than having a momentary decreasing one while transitioning
to PLAYING.
Fixes #628021.
... rather than having a momentary decreasing one while transitioning
to PLAYING.
Fixes #628021.
baseparse: fix invalid memory access in debug messages
Don't use buffers that we've given away or unrefed in debug messages.
Don't use buffers that we've given away or unrefed in debug messages.
basesrc: do not sneakily mess with current offset when updating length
task: Check for PR_SET_NAME before using
Fixes: #653172.
Signed-off-by: David Schleef <ds@schleef.org>
Fixes: #653172.
Signed-off-by: David Schleef <ds@schleef.org>
images: strip images of extra text tags
Bump gobject-introspection requirement to >= 0.6.8
For --add-init-section
For --add-init-section
Bump git version after unplanned 0.10.35 release
Merge remote-tracking branch 'origin/0.10.35'
Merge remote-tracking branch 'origin/0.10.35'
basesink: Fix typo in documentation
Fixes #652577.
Fixes #652577.
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
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
Use "const" instead G_CONST_RETURN
G_CONST_RETURN will be deprecated soon.
https://bugzilla.gnome.org/show_bug.cgi?id=652211
G_CONST_RETURN will be deprecated soon.
https://bugzilla.gnome.org/show_bug.cgi?id=652211
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.
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.
systemclock: Placate gcc by defining EWOULDBLOCK to something
poll: Fix WAKE_EVENT() to behave posixly on Windows
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()
Add to sections file and add Since: marker. Also update
win32 .def file.
API: gst_base_src_set_dynamic_size()
Use "const" instead G_CONST_RETURN
G_CONST_RETURN will be deprecated soon.
https://bugzilla.gnome.org/show_bug.cgi?id=652211
G_CONST_RETURN will be deprecated soon.
https://bugzilla.gnome.org/show_bug.cgi?id=652211