]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[crunchyroll] Remove ScaledBorderAndShadow settings
authorYen Chi Hsuan <yan12125@gmail.com>
Wed, 1 Feb 2017 08:39:32 +0000 (16:39 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Wed, 1 Feb 2017 08:39:32 +0000 (16:39 +0800)
See https://github.com/rg3/youtube-dl/pull/9028, especially @lachs0r's
comments for the reason behind this change

youtube_dl/extractor/crunchyroll.py

index f811c7f33e4b56d59217565500bd47633b6dfc06..109d1c5a864f283a01b2b2baaed784384776a5c1 100644 (file)
@@ -255,8 +255,7 @@ class CrunchyrollIE(CrunchyrollBaseIE):
         output += 'WrapStyle: %s\n' % sub_root.attrib['wrap_style']
         output += 'PlayResX: %s\n' % sub_root.attrib['play_res_x']
         output += 'PlayResY: %s\n' % sub_root.attrib['play_res_y']
-        output += """ScaledBorderAndShadow: no
-
+        output += """
 [V4+ Styles]
 Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
 """