I have a question of synchronization problem of output plane and capture plane.
When i quit the dec_capture_loop_fcn,it blocks in the dqBuffer mostly.I modify the 00_video_decode sample simply.
I want to avoid the block,sow when i feed data to outplane,i add lock.when get data in capture plane unlock.
I donot know this has or not effect.
If the decoder has synchronized the output plane and capture plane,i think what i did has no effect.
If you know this,Please tell me,thank you!
Hi,
Your logic may not work. Some H264/H265 streams are encoded in multiple frames, so decoder may keep some frames and you possibly see one capture_plance call after multiple output_plane calls.
1 Like