Explorar o código

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

qctecmdr %!s(int64=4) %!d(string=hai) anos
pai
achega
f7485924fd
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;