cea608tott: output generated text on carriage return

We would never output any text in roll-up mode otherwise

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1973>
This commit is contained in:
Mathieu Duponchelle 2024-12-06 18:46:03 +01:00 committed by GStreamer Marge Bot
parent 0376cd2752
commit e88db4e35d

View file

@ -124,6 +124,7 @@ impl Cea608ToTt {
| cea608_types::Cea608::Backspace(_) | cea608_types::Cea608::Backspace(_)
| cea608_types::Cea608::EndOfCaption(_) | cea608_types::Cea608::EndOfCaption(_)
| cea608_types::Cea608::DeleteToEndOfRow(_) | cea608_types::Cea608::DeleteToEndOfRow(_)
| cea608_types::Cea608::CarriageReturn(_)
) )
{ {
// only in some specific circumstances do we want to actually change // only in some specific circumstances do we want to actually change