<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi all,<div><br></div><div>I used the following commands to decode HEVC file,</div><div><br></div><div>gst-launch-1.0 filesrc location="1.265" ! h265parse ! video/x-h265,stream-format=byte-stream ! avdec_h265 ! filesink location=265.yuv</div><div><br></div><div>but I found it stucks at GST_VIDEO_DECODER_STREAM_LOCK (decoder) inside gst_video_decoder_get_frame() when I debugged it.</div><div>It seems to be caused by deadlock.</div><div><br></div><div>When I used </div><div><span style="font-size: 12pt;">gst-launch-1.0 filesrc location="1.265" ! h265parse ! video/x-h265,stream-format=byte-stream ! avdec_h265 </span>max-threads=1 <span style="font-size: 12pt;">! filesink location=265.yuv</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">the problem disappeared.</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Can anyone explain it? Or is it a bug?</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Thanks a lot,</span></div><div><span style="font-size: 12pt;">Jin</span></div>                                           </div></body>
</html>