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:
3a4602d
)
Check suggested caps for proxy alloc
author
Thijs Vermeir
<thijsvermeir@gmail.com>
Thu, 29 Jan 2009 12:39:29 +0000
(13:39 +0100)
committer
Thijs Vermeir
<thijsvermeir@gmail.com>
Thu, 29 Jan 2009 12:58:55 +0000
(13:58 +0100)
Because we are trying to resolve a suggestion here we don't need
to check on caps for proxy_alloc but we need to check on the suggested
caps instead.
libs/gst/base/gstbasetransform.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbasetransform.c
b/libs/gst/base/gstbasetransform.c
index
58b69a1
..
2b0c42a
100644
(file)
--- a/
libs/gst/base/gstbasetransform.c
+++ b/
libs/gst/base/gstbasetransform.c
@@
-1544,7
+1544,7
@@
gst_base_transform_buffer_alloc (GstPad * pad, guint64 offset, guint size,
priv->proxy_alloc = FALSE;
} else {
/* we transformed into something */
- if (gst_caps_is_equal (
caps
, othercaps)) {
+ if (gst_caps_is_equal (
sink_suggest
, othercaps)) {
GST_DEBUG_OBJECT (trans,
"best caps same as input, marking for proxy");
priv->proxy_alloc = TRUE;