mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
theoradec: deactivate pool on negotiation
Deactivate the old bufferpool when we negotiate a new one.
This commit is contained in:
parent
ac9a8781ba
commit
de7148a942
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue