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:
ac9a878
)
theoradec: deactivate pool on negotiation
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 2 Apr 2012 10:48:45 +0000
(12:48 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 2 Apr 2012 10:48:45 +0000
(12:48 +0200)
Deactivate the old bufferpool when we negotiate a new one.
ext/theora/gsttheoradec.c
patch
|
blob
|
history
diff --git
a/ext/theora/gsttheoradec.c
b/ext/theora/gsttheoradec.c
index
ed44141
..
9ecef7c
100644
(file)
--- a/
ext/theora/gsttheoradec.c
+++ b/
ext/theora/gsttheoradec.c
@@
-901,8
+901,10
@@
theora_negotiate (GstTheoraDec * dec)
pool = gst_video_buffer_pool_new ();
}
- if (dec->pool)
+ if (dec->pool) {
+ gst_buffer_pool_set_active (dec->pool, FALSE);
gst_object_unref (dec->pool);
+ }
dec->pool = pool;
if (dec->has_cropping) {