Tim-Philipp Müller
98ee2979d1
caps: move log messages for caps creation/freeing into TRACE category
...
Reduce SPAM for GST_CAPS:5.
2011-09-10 18:24:49 +01:00
Sebastian Dröge
22ba786807
pad: Only do the subset check in gst_pad_accept_caps() if the pad claims to accept the caps
2011-09-09 12:56:20 +02:00
Nicolas Dufresne
f0219b327d
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
2011-09-08 14:46:59 +02:00
Sebastian Dröge
7a82ed41f8
Revert "pad: Use gst_pad_accept_caps() instead of manually checking when configuring a sinkpad"
...
This reverts commit d3cad28da9
.
It causes performance problems because acceptcaps() propagates downstream.
2011-09-08 14:29:00 +02:00
Sebastian Dröge
d3cad28da9
pad: Use gst_pad_accept_caps() instead of manually checking when configuring a sinkpad
2011-09-08 13:42:53 +02:00
Sebastian Dröge
79b5e89015
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.
2011-09-08 13:42:53 +02:00
Sebastian Dröge
0bc6d49c95
Revert "basetransform: Use check for subsets and not non-empty intersection to check if caps are compatible"
...
This reverts commit 5e5cc5e89e
.
See bug #658541 .
2011-09-08 13:42:52 +02:00
Sebastian Dröge
2bfada5581
Revert "pad: Check for subsets, not non-empty intersections to check if caps are compatible"
...
This reverts commit 0c5d502073
.
See bug #658541 .
2011-09-08 13:42:52 +02:00
Piotr Fusik
14f5518f3d
docs, gst: typo fixes
...
https://bugzilla.gnome.org/show_bug.cgi?id=658449
2011-09-07 18:03:17 +01:00
Tim-Philipp Müller
92ad7f0d6b
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.
2011-09-07 15:09:58 +01:00
Sebastian Dröge
a121713f0c
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.
2011-09-07 16:05:07 +02:00
Stefan Sauer
dbfc0d9b35
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.
2011-09-07 14:08:35 +02:00
Stefan Sauer
83eb2d42fa
docs: escape % in docblob
2011-09-07 14:08:35 +02:00
Stas Sergeev
fcadf09779
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 .
2011-09-07 13:38:47 +02:00
Stefan Sauer
7079d8c7f4
Automatic update of common submodule
...
From a39eb83 to 11f0cd5
2011-09-06 21:24:10 +02:00
Stefan Sauer
908e89d23d
Automatic update of common submodule
...
From 605cd9a to a39eb83
2011-09-06 15:39:52 +02:00
Sebastian Dröge
5e5cc5e89e
basetransform: Use check for subsets and not non-empty intersection to check if caps are compatible
2011-09-06 12:37:16 +02:00
Sebastian Dröge
0c5d502073
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".
2011-09-06 12:35:41 +02:00
Josep Torra
185ab7f325
docs: add since 0.10.36 on the new _NONE enum values
2011-08-26 14:11:15 +02:00
Josep Torra
97379e8f49
stepping: use the proper argument order
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:15 +02:00
Josep Torra
0b31cb5d73
fileindex: explicitly cast to the enum types
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:15 +02:00
Josep Torra
d7d2be07af
typefinder: use GST_TYPE_FIND_NONE instead of 0
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:15 +02:00
Josep Torra
1ec901321f
lfocontrolsource: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:15 +02:00
Josep Torra
306e317ae9
typefind: add GST_TYPE_FIND_NONE and use it
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:15 +02:00
Josep Torra
81794a4248
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.
2011-08-26 14:11:15 +02:00
Josep Torra
ab3c6173b3
baseparse: put the arguments of g_return_val_if_fail in the proper order
2011-08-26 14:11:15 +02:00
Josep Torra
1db007e5bb
parse: use GST_PARSE_FLAG_NONE instead of 0
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
b26c5b99f2
value: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
b57683d258
utils: minor changes related to enum types
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
c0749e7762
trace: add GST_ALLOC_TRACE_NONE for consistency and use it
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
97442ad1a3
task: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
95b96b57a2
tagsetter: use GST_TAG_MERGE_UNDEFINED instead of FALSE
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
c0b0b977d7
segment: use GST_SEEK_FLAG_NONE instead of 0
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
9f8fe424c7
registrychunks: explicitly cast to the enum types
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
ec157ebed9
query: minor changes related to enum types
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
480d415419
padtemplate: explicitly cast to the enum types
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
746813344d
pad: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
c27ce79ba1
message: explicitly cast to the right enum types
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
2a6ba0b29d
info: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
e5d00246cf
index: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
11e287529d
format: use GST_FORMAT_UNDEFINED and few casts to GstFormat
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Sjoerd Simons
0c0dc0441f
basetransform: Fix bodged previous commit
2011-08-26 13:02:34 +01:00
Sjoerd Simons
888e6a91a4
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.
2011-08-26 12:43:13 +01:00
Sjoerd Simons
63a21ca8b1
BaseTransform: Add a query vfunc
2011-08-26 10:39:44 +02:00
Sjoerd Simons
341d7a4c0d
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.
2011-08-26 10:23:18 +02:00
Mark Nauwelaerts
c1988b7e55
basesink: ensure start_time reset upon flush
2011-08-23 18:21:38 +02:00
Stefan Kost
febde0c19f
gstobject: also remove the cast as this is causing the trouble
2011-08-23 11:55:17 +02:00
Stefan Kost
df099959fd
gstobject: use the atomic macros to deal with the glib change in the impl.
2011-08-23 11:43:44 +02:00
David Schleef
ec6e452f63
object: make gst_object_replace() atomic
2011-08-21 14:07:08 -07:00
Stefan Kost
cce32ba0a2
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.
2011-08-20 14:07:55 +02:00