gstreamer/subprojects/gst-plugins-base/tests/check
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
..
elements theoradec: make sure the selected pool accepts the new config 2023-05-12 14:37:06 +02:00
generic Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gst typefindfunctions: Fix WebVTT format detection 2022-02-11 13:48:45 +00:00
libs video: timecode: Add support for framerates lower than 1fps 2023-04-17 10:26:11 +00:00
pipelines Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gst-plugins-base.supp base: Fix a suppression that has a slightly different trace 2021-09-24 16:21:18 -03:00
meson.build theoradec: make sure the selected pool accepts the new config 2023-05-12 14:37:06 +02:00