mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-20 14:46:24 +00:00
tttocea708: output CEA-X08 padding by default
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1942>
This commit is contained in:
parent
9eb3ad4412
commit
c0a3b0c868
1 changed files with 4 additions and 1 deletions
|
@ -73,6 +73,9 @@ pub struct TextToCea708 {
|
|||
|
||||
impl Default for TextToCea708 {
|
||||
fn default() -> Self {
|
||||
let mut cc_data_writer = CCDataWriter::default();
|
||||
cc_data_writer.set_output_padding(true);
|
||||
cc_data_writer.set_output_cea608_padding(true);
|
||||
Self {
|
||||
cea608: TextToCea608::default(),
|
||||
mode: Cea708Mode::RollUp,
|
||||
|
@ -85,7 +88,7 @@ impl Default for TextToCea708 {
|
|||
output_packets: VecDeque::new(),
|
||||
sequence_no: 0,
|
||||
service_writer: Cea708ServiceWriter::new(1),
|
||||
cc_data_writer: CCDataWriter::default(),
|
||||
cc_data_writer,
|
||||
pen_location: SetPenLocationArgs::new(0, 0),
|
||||
pen_color: textstyle_to_pen_color(TextStyle::White),
|
||||
pen_attributes: SetPenAttributesArgs::new(
|
||||
|
|
Loading…
Reference in a new issue