Commit de7148a9 authored by Wim Taymans's avatar Wim Taymans

theoradec: deactivate pool on negotiation

Deactivate the old bufferpool when we negotiate a new one.
parent ac9a8781
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment