Sebastian Dröge
d98e9acb0f
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.
2011-05-27 13:38:51 +02:00
Sebastian Dröge
0cf2dfd0ba
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.
2011-05-27 13:37:06 +02:00
Sebastian Dröge
d706ca0859
Revert "caps: Optimize gst_caps_is_subset()"
...
This reverts commit 32248a9b85
.
This breaks some tests in -base and the failures should
be fixed first.
2011-05-27 12:56:43 +02:00
Sebastian Dröge
32248a9b85
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.
2011-05-27 12:45:59 +02:00
Sebastian Dröge
26ca7546a7
pad: Drop sticky events pushed on flushing srcpads instead of activating them immediately
2011-05-27 11:45:16 +02:00
Sebastian Dröge
7295f3e2f6
basetransform: Pass the complete caps to transform_caps
...
Instead of passing it structure by structure. This allows
better optimized transform_caps functions and allows better
transformation decisions.
See bug #619844 .
2011-05-27 11:37:24 +02:00
Sebastian Dröge
934faf163c
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 .
2011-05-27 09:05:46 +02:00
Wim Taymans
86c8b721b2
pad: refactor _push_event
...
Rework _push_event() a little so that it drops events on blocking pads.
Make sure that events are forwarded when we unblock.
Add counter on the pad to keep track of busy pads.
2011-05-26 19:45:14 +02:00
Wim Taymans
dd9fb5ebfd
pad: refactor pre and post chain code
2011-05-26 18:21:09 +02:00
Wim Taymans
af42e44af5
pad: keep counter for active pads
...
Keep a counter to mark the amount of threads currently pushing data on the pad.
2011-05-26 17:50:15 +02:00
Wim Taymans
40228b4aa5
pad: refactor pre push code
...
Refactor the code that is executed as the first step of a push operation where
we check the probes and blocking and resolve the peer.
2011-05-26 17:39:17 +02:00
Wim Taymans
118e325a03
pad: remove pad cache
...
Remove the pad cache as this is going to be reworked for new pad blocking and
probes.
2011-05-26 17:08:03 +02:00
Wim Taymans
aaba029298
pad: simplify handling of buffer lists
...
Implement a default buffer-list function in case the element doesn't implement
one.
Also pass buffer-lists to the have-data signal, this allows us to remove some
backward compatibility code.
2011-05-26 16:48:14 +02:00
Wim Taymans
f4f4fa5e8f
pad: remove old gst_pad_set_blocked methods
2011-05-26 16:17:31 +02:00
Sebastian Dröge
5076688c1f
pushsrc: Fix infinite recursion in pushsrc query handler
2011-05-26 14:14:13 +02:00
Sebastian Dröge
007b16b024
Merge branch 'master' into 0.11
2011-05-26 13:36:48 +02:00
Tim-Philipp Müller
8a3721a1ca
gst: we can now use GLib 2.24 API unconditionally
2011-05-25 16:02:10 +01:00
Tim-Philipp Müller
430e98413d
configure: bump GLib requirement to >= 2.24
...
http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement
2011-05-25 15:54:01 +01:00
Tim-Philipp Müller
1347cc520f
docs: update release instructions for gnome change
2011-05-25 15:43:44 +01:00
Руслан Ижбулатов
d56b3ec5aa
systemclock: Placate gcc by defining EWOULDBLOCK to something
2011-05-25 12:04:14 +02:00
Руслан Ижбулатов
54a9d8038d
poll: Fix WAKE_EVENT() to behave posixly on Windows
2011-05-25 12:04:14 +02:00
Stefan Kost
e0c92982e9
registrybinary: small cleanups
...
Remove unneeded braces from string define. Small doc improvement.
2011-05-24 20:30:11 +03:00
Stefan Kost
75ba14c79b
preset: use guint for the version number parts
...
Use unsigned integers for extra safety (like we do in plugin version parsing).
2011-05-24 20:30:11 +03:00
Wim Taymans
0d546490f6
remove some more deprecated methods
2011-05-24 18:39:41 +02:00
Wim Taymans
7da32991df
padtemplate: remove unused flag
2011-05-24 18:29:48 +02:00
Wim Taymans
2c221a5729
feature: use object name
...
Remove the name property from the plugin feature and port code to use the object
name instead.
2011-05-24 18:17:24 +02:00
Wim Taymans
65b427bf8e
remove old glib check
2011-05-24 18:16:36 +02:00
Wim Taymans
b0fad063b5
Merge branch 'master' into 0.11
2011-05-24 17:43:36 +02:00
Wim Taymans
7e6d579301
scheduling: port to new scheduling query
2011-05-24 17:39:56 +02:00
Wim Taymans
5fa3082e19
query: add SCHEDULING query
...
Add a new query to replace the checkgetrange function.
2011-05-24 17:39:56 +02:00
Debarshi Ray
f9a4dcd074
check: add fail_unless_equals_int64
...
https://bugzilla.gnome.org/show_bug.cgi?id=650973
2011-05-24 16:21:20 +02:00
Sebastian Dröge
70e276e920
outputselector: Forward sticky events to newly created srcpads
2011-05-24 16:18:38 +02:00
Sebastian Dröge
67e23c26fc
tee: Forward sticky events to newly created srcpads
2011-05-24 16:18:31 +02:00
Sebastian Dröge
0bcb5a421a
pad: Add gst_pad_sticky_events_iterate() function
2011-05-24 16:17:53 +02:00
Sebastian Dröge
53e53386d7
debugutils: Fix for GstIterator API changes
2011-05-24 13:28:38 +02:00
Sebastian Dröge
de1c3bdd5a
Revert "debugutils: Fix for GstIterator API changes"
...
This reverts commit e1cc3176d6
.
This is not the 0.11 branch...
2011-05-24 13:28:00 +02:00
Sebastian Dröge
e1cc3176d6
debugutils: Fix for GstIterator API changes
2011-05-24 13:27:38 +02:00
Wim Taymans
483c0fe490
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstpad.h
2011-05-24 09:48:44 +02:00
Kipp Cannon
696a9a694f
clock: improve the GST_TIME_FORMAT/ARGS docs
2011-05-24 00:26:40 +03:00
Stefan Kost
1718abcbbb
docs: hide this from the docs
2011-05-23 23:40:20 +03:00
Wim Taymans
32ea413a40
event: use GST_SEGMENT_FORMAT for segments
2011-05-23 18:30:19 +02:00
Wim Taymans
7754d8d7ba
transform: fixes for bufferpool handling
...
Don't error out when the allocation query returns success.
Do bufferpool query after we pushed the caps event downstream so that we can get
a good bufferpool suggestion.
Also proxy the bufferpool query downstream when we operate in in_place mode.
2011-05-23 18:15:00 +02:00
Wim Taymans
8380949994
pad: improve debugging
2011-05-23 18:14:27 +02:00
Wim Taymans
35cc371363
transform: reset reconfigure state
...
When we negotiate new caps, reset the reconfigure state.
2011-05-23 16:53:01 +02:00
Wim Taymans
1cb7523efa
basetransform: WIP handle bufferpool
2011-05-23 15:38:31 +02:00
Wim Taymans
4e13568d27
basesrc: avoid calling _set_caps() on the srcpad
...
Avoid installing a setcaps function on the srcpad and calling the setcaps
function, we can do more efficiently with sending the event ourself and calling
our vmethod.
2011-05-21 19:06:08 +02:00
Wim Taymans
a0fded5c37
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstpad.h
gst/gstplugin.h
2011-05-20 16:03:10 +02:00
Wim Taymans
d33909302e
basetransform: remove some more code
...
Remove some more unused code from basetransform.
Prepare for implementing bufferpools.
2011-05-20 16:01:57 +02:00
Stefan Kost
d0e95889c0
win32: add new api
2011-05-20 15:50:30 +03:00
Stefan Kost
01d8d7d718
deprecation-guards: fixup for commit 9ff4ec3104
...
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.
2011-05-20 15:50:30 +03:00