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
@ -375,7 +375,7 @@ gst_dwrite_text_overlay_decode_cc_data (GstDWriteTextOverlay * self,
|
|||||||
case LIBCAPTION_READY:
|
case LIBCAPTION_READY:
|
||||||
{
|
{
|
||||||
auto len = caption_frame_to_text (&priv->frame,
|
auto len = caption_frame_to_text (&priv->frame,
|
||||||
&priv->closed_caption[0], TRUE);
|
&priv->closed_caption[0], FALSE);
|
||||||
priv->closed_caption.resize (len);
|
priv->closed_caption.resize (len);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -421,7 +421,7 @@ gst_dwrite_text_overlay_decode_s334_1a (GstDWriteTextOverlay * self,
|
|||||||
case LIBCAPTION_READY:
|
case LIBCAPTION_READY:
|
||||||
{
|
{
|
||||||
auto len = caption_frame_to_text (&priv->frame,
|
auto len = caption_frame_to_text (&priv->frame,
|
||||||
&priv->closed_caption[0], TRUE);
|
&priv->closed_caption[0], FALSE);
|
||||||
priv->closed_caption.resize (len);
|
priv->closed_caption.resize (len);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -456,7 +456,7 @@ gst_dwrite_text_overlay_decode_raw (GstDWriteTextOverlay * self,
|
|||||||
case LIBCAPTION_READY:
|
case LIBCAPTION_READY:
|
||||||
{
|
{
|
||||||
auto len = caption_frame_to_text (&priv->frame,
|
auto len = caption_frame_to_text (&priv->frame,
|
||||||
&priv->closed_caption[0], TRUE);
|
&priv->closed_caption[0], FALSE);
|
||||||
priv->closed_caption.resize (len);
|
priv->closed_caption.resize (len);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user