mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
tttocea708: ensure periodic sync points in roll up mode
Otherwise, without the relevant DefineWindow, then a receiver cannot begin to display the captions from the middle of a stream. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1591>
This commit is contained in:
parent
a7418fb483
commit
45800d7636
1 changed files with 2 additions and 1 deletions
|
@ -479,7 +479,8 @@ impl TextToCea708 {
|
|||
|| self.pen_location.column > 31
|
||||
{
|
||||
self.pen_location.column = self.origin_column as u8;
|
||||
self.service_writer.push_codes(&[Code::CR]);
|
||||
|
||||
self.open_line(chunk, Some(true));
|
||||
}
|
||||
} else if self.pen_location.column > 31 {
|
||||
if chars.peek().is_some() {
|
||||
|
|
Loading…
Reference in a new issue