From 8633b29fab6caea1467023b8c777694ef340d3af Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sat, 29 Jul 2023 02:38:01 +0900 Subject: [PATCH] dwritetextoverlay: Remove leading CRLF sequence from CC The CRLF sequence is unnecessary Part-of: --- .../gst-plugins-bad/sys/dwrite/gstdwritetextoverlay.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subprojects/gst-plugins-bad/sys/dwrite/gstdwritetextoverlay.cpp b/subprojects/gst-plugins-bad/sys/dwrite/gstdwritetextoverlay.cpp index d7394a7248..f762521cf7 100644 --- a/subprojects/gst-plugins-bad/sys/dwrite/gstdwritetextoverlay.cpp +++ b/subprojects/gst-plugins-bad/sys/dwrite/gstdwritetextoverlay.cpp @@ -375,7 +375,7 @@ gst_dwrite_text_overlay_decode_cc_data (GstDWriteTextOverlay * self, case LIBCAPTION_READY: { auto len = caption_frame_to_text (&priv->frame, - &priv->closed_caption[0], TRUE); + &priv->closed_caption[0], FALSE); priv->closed_caption.resize (len); break; } @@ -421,7 +421,7 @@ gst_dwrite_text_overlay_decode_s334_1a (GstDWriteTextOverlay * self, case LIBCAPTION_READY: { auto len = caption_frame_to_text (&priv->frame, - &priv->closed_caption[0], TRUE); + &priv->closed_caption[0], FALSE); priv->closed_caption.resize (len); break; } @@ -456,7 +456,7 @@ gst_dwrite_text_overlay_decode_raw (GstDWriteTextOverlay * self, case LIBCAPTION_READY: { auto len = caption_frame_to_text (&priv->frame, - &priv->closed_caption[0], TRUE); + &priv->closed_caption[0], FALSE); priv->closed_caption.resize (len); break; }