gstreamer/gst-libs/gst/video
George Kiagiadakis 39d2526c34 videoaggregator: delay using new caps from a sink pad until the next buffer in the queue is taken
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
2017-05-20 16:21:16 +02:00
..
.gitignore gitignore: ignore more files 2015-01-12 22:52:36 +01:00
gstvideoaggregator.c videoaggregator: delay using new caps from a sink pad until the next buffer in the queue is taken 2017-05-20 16:21:16 +02:00
gstvideoaggregator.h videoaggregator: canonicalise function names 2016-05-16 12:27:50 +01:00
gstvideoaggregatorpad.h videoaggregator: delay using new caps from a sink pad until the next buffer in the queue is taken 2017-05-20 16:21:16 +02:00
Makefile.am base/audio/video: Install headers and pkg-config files 2016-01-22 12:39:48 +02:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:35:54 +01:00