mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
ab3fd36d64
Some devices only ever keep one buffer available in the GL queue resulting in multiple calls to release_output_buffer only causing one frame to be rendered. If there is a queue after amcvideodec (even playsink's small one), then multiple buffers are pushed but only a small fraction of them are actually rendered on time. The rest will either render some number of frames ahead of where they are meant to be or timeout waiting for a frame that's already been rendered. Solved by moving the release_output_buffer into the sync_meta the is pushed downstream. When downstream renders, the custom sync implementation attempts to release the current buffer (if not already released) and render. Once the frame has been rendered to the screen, the next frame is released and is hopefully available by the time the next frame is to be rendered. This fixes a perceived frame jitter in the output. |
||
---|---|---|
.. | ||
org/freedesktop/gstreamer/androidmedia | ||
gstamc-constants.h | ||
gstamc.c | ||
gstamc.h | ||
gstamcaudiodec.c | ||
gstamcaudiodec.h | ||
gstamcsurface.c | ||
gstamcsurface.h | ||
gstamcsurfacetexture.c | ||
gstamcsurfacetexture.h | ||
gstamcvideodec.c | ||
gstamcvideodec.h | ||
gstamcvideoenc.c | ||
gstamcvideoenc.h | ||
gstjniutils.c | ||
gstjniutils.h | ||
Makefile.am |