mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
2a60a9f66f
When caps changes while streaming, the new caps was getting processed immediately in videoaggregator, but the next buffer in the queue that corresponds to this new caps was not necessarily being used immediately, which resulted sometimes in using an old buffer with new caps. Of course there used to be a separate buffer_vinfo for mapping the buffer with its own caps, but in compositor the GstVideoConverter was still using wrong info and resulted in invalid reads and corrupt output. This approach here is more safe. We delay using the new caps until we actually select the next buffer in the queue for use. This way we also eliminate the need for buffer_vinfo, since the pad->info is always in sync with the format of the selected buffer. https://bugzilla.gnome.org/show_bug.cgi?id=780682 |
||
---|---|---|
.. | ||
.gitignore | ||
blend.c | ||
blend.h | ||
blendorc.h | ||
compositor.c | ||
compositor.h | ||
compositororc-dist.c | ||
compositororc-dist.h | ||
compositororc.orc | ||
compositorpad.h | ||
Makefile.am | ||
meson.build |