summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-12-04 21:26:23 +0100
committerCarl Hetherington <cth@carlh.net>2023-12-04 21:26:27 +0100
commitf5b3a24f42763bfb84c4c60132e0af7404c239df (patch)
tree07b27604834ca819b5b6782c57ee65ae0be4dd0c
parentcbd59509a766b46f36ce0886ac57d822bb8078ce (diff)
Omit vposition property when it's 0.smaller-ccap
This is already done for hposition.
-rw-r--r--src/subtitle_asset_internal.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/subtitle_asset_internal.cc b/src/subtitle_asset_internal.cc
index 484e75ac..5400b190 100644
--- a/src/subtitle_asset_internal.cc
+++ b/src/subtitle_asset_internal.cc
@@ -197,12 +197,6 @@ position_align (xmlpp::Element* e, order::Context& context, HAlign h_align, floa
} else {
e->set_attribute ("VPosition", raw_convert<string> (v_position * 100, 6));
}
- } else {
- if (context.standard == Standard::SMPTE) {
- e->set_attribute ("Vposition", "0");
- } else {
- e->set_attribute ("VPosition", "0");
- }
}
if (fabs(z_position) > ALIGN_EPSILON && context.standard == Standard::SMPTE) {