- } else if (property == TextContentProperty::BURN) {
- checked_set (_burn, scs ? scs->subtitle->burn() : false);
- } else if (property == TextContentProperty::X_OFFSET) {
- checked_set (_x_offset, scs ? lrint (scs->subtitle->x_offset() * 100) : 0);
- } else if (property == TextContentProperty::Y_OFFSET) {
- checked_set (_y_offset, scs ? lrint (scs->subtitle->y_offset() * 100) : 0);
- } else if (property == TextContentProperty::X_SCALE) {
- checked_set (_x_scale, scs ? lrint (scs->subtitle->x_scale() * 100) : 100);
- } else if (property == TextContentProperty::Y_SCALE) {
- checked_set (_y_scale, scs ? lrint (scs->subtitle->y_scale() * 100) : 100);
- } else if (property == TextContentProperty::LINE_SPACING) {
- checked_set (_line_spacing, scs ? lrint (scs->subtitle->line_spacing() * 100) : 100);
- } else if (property == TextContentProperty::LANGUAGE) {
- checked_set (_language, scs ? scs->subtitle->language() : "");
+ } else if (property == CaptionContentProperty::BURN) {
+ checked_set (_burn, scs ? scs->caption->burn() : false);
+ } else if (property == CaptionContentProperty::X_OFFSET) {
+ checked_set (_x_offset, scs ? lrint (scs->caption->x_offset() * 100) : 0);
+ } else if (property == CaptionContentProperty::Y_OFFSET) {
+ checked_set (_y_offset, scs ? lrint (scs->caption->y_offset() * 100) : 0);
+ } else if (property == CaptionContentProperty::X_SCALE) {
+ checked_set (_x_scale, scs ? lrint (scs->caption->x_scale() * 100) : 100);
+ } else if (property == CaptionContentProperty::Y_SCALE) {
+ checked_set (_y_scale, scs ? lrint (scs->caption->y_scale() * 100) : 100);
+ } else if (property == CaptionContentProperty::LINE_SPACING) {
+ checked_set (_line_spacing, scs ? lrint (scs->caption->line_spacing() * 100) : 100);
+ } else if (property == CaptionContentProperty::LANGUAGE) {
+ checked_set (_language, scs ? scs->caption->language() : "");