msdkdec: Update decoding pts
authorMa, Mingyang <mingyang.ma@intel.com>
Tue, 22 Nov 2022 09:01:37 +0000 (17:01 +0800)
committermamingy2 <mingyang.ma@intel.com>
Fri, 25 Nov 2022 01:42:58 +0000 (01:42 +0000)
commit66087b62766d0fb1362baab494930144d5985305
tree2031e453f6a72bcf32bc01da8584a6e53e0d62ab
parent4c3bb001f5be9fd8d3e2e0045a91ce4388ad4dfb
msdkdec: Update decoding pts

Update frame pts before calling gst_video_decoder_finish_frame, or frames may be lost when transcoding in specific stream

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3449>
subprojects/gst-plugins-bad/sys/msdk/gstmsdkdec.c