소스 검색

Merge "video: driver: reject unsupported resolution in output streamon"

qctecmdr 4 년 전
부모
커밋
f7485924fd
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      driver/vidc/src/msm_vdec.c

+ 4 - 0
driver/vidc/src/msm_vdec.c

@@ -1684,6 +1684,10 @@ int msm_vdec_streamon_output(struct msm_vidc_inst *inst)
 		return -EINVAL;
 	}
 
+	rc = msm_vidc_check_session_supported(inst);
+	if (rc)
+		return rc;
+
 	rc = msm_vdec_update_max_map_output_count(inst);
 	if (rc)
 		return rc;