projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cb16ad
)
collectpads: make it the best of wims and edwards patch.
author
Stefan Kost
<ensonic@users.sf.net>
Mon, 6 Jul 2009 23:23:41 +0000
(
00:23
+0100)
committer
Stefan Kost
<ensonic@users.sf.net>
Mon, 6 Jul 2009 23:23:41 +0000
(
00:23
+0100)
Check the right flushing flag, but still add it to the pad-list.
libs/gst/base/gstcollectpads.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstcollectpads.c
b/libs/gst/base/gstcollectpads.c
index
c1a21f2
..
b9c3f92
100644
(file)
--- a/
libs/gst/base/gstcollectpads.c
+++ b/
libs/gst/base/gstcollectpads.c
@@
-1018,13
+1018,12
@@
gst_collect_pads_check_pads (GstCollectPads * pads)
pads->numpads++;
data = collected->data;
- if (G_UNLIKELY (data->abidata.ABI.flushing))
- continue;
-
- if (data->buffer)
- pads->queuedpads++;
- if (data->abidata.ABI.eos)
- pads->eospads++;
+ if (G_LIKELY (!data->abidata.ABI.flushing)) {
+ if (data->buffer)
+ pads->queuedpads++;
+ if (data->abidata.ABI.eos)
+ pads->eospads++;
+ }
/* add to the list of pads to collect */
ref_data (data);