|
@@ -649,9 +649,10 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
BFLog(message: "新录制完成::::\(materialsModel?.locationPath ?? "")")
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
setSubtitleStyle(settingModel: subtitleSettingView.subtitle.setting)
|
|
|
+
|
|
|
subtitleSettingView.subtitleSettingCallBack = { [weak self] subtitileModel in
|
|
|
|
|
|
self?.setSubtitleStyle(settingModel: subtitileModel.setting)
|
|
@@ -703,7 +704,7 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
|
|
|
func updateSubtitle(time: CMTime) {
|
|
|
BFLog(message: "currTime is \(CMTimeGetSeconds(time))")
|
|
|
- if isRecording {
|
|
|
+ if isRecording || !subtitleSettingView.subtitle.setting.subtitleIsShow{
|
|
|
return
|
|
|
}
|
|
|
var findShowSubtitle: PQEditSubTitleModel?
|
|
@@ -750,6 +751,8 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
} else {
|
|
|
subtitleLabel.frame = CGRect(x: leftPoint, y: cScreenHeigth * 0.12, width: cScreenWidth - 37 * 2, height: height)
|
|
|
}
|
|
|
+ }else{
|
|
|
+ subtitleLabel.text = ""
|
|
|
}
|
|
|
}
|
|
|
|