gstreamer/subprojects/gst-plugins-base/ext/theora
Michael Olbrich b660f258a6 theoradec: make sure the selected pool accepts the new config
If gst_buffer_pool_set_config() fails then the pool will use its old
config. This may include different width or height when
pic_width/pic_height != frame_width/frame_height.
As a result, the assertions in theora_handle_image() will fail.

So check the result of gst_buffer_pool_set_config() and only use the pool
if it succeeds. Otherwise let the parrent decide_allocation() create a new
pool.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4600>
2023-05-12 14:37:06 +02:00
..
gsttheora.c
gsttheoradec.c theoradec: make sure the selected pool accepts the new config 2023-05-12 14:37:06 +02:00
gsttheoradec.h
gsttheoraenc.c plugins: Fix wrong enum usage 2023-03-20 11:40:30 +00:00
gsttheoraenc.h
gsttheoraparse.c
gsttheoraparse.h
meson.build