mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
dwritetextoverlay: Remove leading CRLF sequence from CC
The CRLF sequence is unnecessary Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5121>
This commit is contained in:
parent
f01fc727e3
commit
8633b29fab
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue