hi,emailist!<br> <br> I think S3C64XX and next-s3c MFC driver need IOCTL_MFC_RESET,because if APP unlegal exit mfc operation or MFC met some uncorrect h264/mpeg4/vc1/wmv9 media stream,can cause MFC inter unit become uncorrect state,it need RESET to recover to work for next!When under that uncorrect condition,APP must use ioctl_MFC_RESET to recover!<br>
<br> i have test it ,also OK even met uncorrect stream and unlegal app file descriptor exit !<br><br><br><br>patch may be similiar as following:<br><br> /*For MFC RESET,when met uncorrect stram or unlegal file descriptor exit ,for APP engineer*/<br>
case IOCTL_MFC_RESET:<br> MFC_Mutex_Lock();<br> <br> MFC_HW_Init(); /*RESET MFC,download firmware ,reset mfc busy flag*/<br><br> MFC_Mutex_Release();<br>
break;<br><br><br>
Tommy@China<br><br>