d3d11: Use gst_video_decoder_get_frame()
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 3 Mar 2020 20:21:07 +0000 (15:21 -0500)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Thu, 5 Mar 2020 03:06:16 +0000 (03:06 +0000)
commit020ee62c593778cc7f68d5b7e91457c759a860d4
tree263f6ecb6292dffcf0be7f8960e32dfb922a0bd3
parent56c3b40c30e218518f0cd1c724968336b3078f90
d3d11: Use gst_video_decoder_get_frame()

Now that the system_frame_number is saved on the pictures we can use
gst_video_decoder_get_frame() helper instead of getting the full list
and looping over it.
sys/d3d11/gstd3d11h264dec.c
sys/d3d11/gstd3d11h265dec.c
sys/d3d11/gstd3d11vp9dec.c