v4l2videodec: safely retrun from video_dec_loop with stream unlock 29/279729/1 accepted/tizen/unified/20220819.122509 submit/tizen/20220817.065352
authorHou Qi <qi.hou@nxp.com>
Tue, 15 Mar 2022 01:49:59 +0000 (09:49 +0800)
committerJeongmo Yang <jm80.yang@samsung.com>
Wed, 17 Aug 2022 04:47:13 +0000 (13:47 +0900)
commit95a3270c71a8395cb7261f7bce15d3263f8d164f
tree7fe7511a524a900152886a5fbb2ad04ea7a8372e
parent80adc75cf6cb3d3cd3c04cc3275e45a25429a76c
v4l2videodec: safely retrun from video_dec_loop with stream unlock

This is to avoid decoder hang when doing trick play between
different resolutions.

Change-Id: I5731d6f7f587955fd4c5ffd07e1bc57404f10b23
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1960>
subprojects/gst-plugins-good/sys/v4l2/gstv4l2videodec.c