mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
6eba201f32
Delaying the pool re-negotiation untill we push all decoded (and queued) frames downstream. Otherwise for the multi-resolution videos, the GstVideoVideoMemory will be having wrong resolution and which leads to nasty behaviours, especially when using software renderers. sample media file: RAP_B_Bossen_1.bin case explained: The first SPS Nal will report resoultion of 448x256 and having crop rectangles to get the final resoultion 416x240. Starting from 25 th frame, the resolution will change to 416x240. But parser elements won't report this since the effective croped resolution is same in both cases. Here the core libgstvaapi will detect this through it's internal parsing and do all context/pool destory/reset stuffs. Also it will notify this change to plugins in advance. But if the plugin try to do re-negotiaion of pool immediately, this will not sync with the resolution of already decoded and queued frames and which will lead to failure in gst_video_frame_map() in downstream(if we use the software renderer). So we have to delay the pool renegotiation in vaapidecode, untill we push all decoded frames downstream. https://bugzilla.gnome.org/show_bug.cgi?id=753914 |
||
---|---|---|
.. | ||
gstcompat.h | ||
gstvaapi.c | ||
gstvaapidecode.c | ||
gstvaapidecode.h | ||
gstvaapidecodebin.c | ||
gstvaapidecodebin.h | ||
gstvaapiencode.c | ||
gstvaapiencode.h | ||
gstvaapiencode_h264.c | ||
gstvaapiencode_h264.h | ||
gstvaapiencode_h265.c | ||
gstvaapiencode_h265.h | ||
gstvaapiencode_jpeg.c | ||
gstvaapiencode_jpeg.h | ||
gstvaapiencode_mpeg2.c | ||
gstvaapiencode_mpeg2.h | ||
gstvaapiencode_vp8.c | ||
gstvaapiencode_vp8.h | ||
gstvaapiparse.c | ||
gstvaapiparse.h | ||
gstvaapipluginbase.c | ||
gstvaapipluginbase.h | ||
gstvaapipluginutil.c | ||
gstvaapipluginutil.h | ||
gstvaapipostproc.c | ||
gstvaapipostproc.h | ||
gstvaapisink.c | ||
gstvaapisink.h | ||
gstvaapivideobuffer.c | ||
gstvaapivideobuffer.h | ||
gstvaapivideobufferpool.c | ||
gstvaapivideobufferpool.h | ||
gstvaapivideocontext.c | ||
gstvaapivideocontext.h | ||
gstvaapivideomemory.c | ||
gstvaapivideomemory.h | ||
gstvaapivideometa.c | ||
gstvaapivideometa.h | ||
gstvaapivideometa_texture.c | ||
gstvaapivideometa_texture.h | ||
Makefile.am |