diff --git a/video/closedcaption/src/tttocea608/imp.rs b/video/closedcaption/src/tttocea608/imp.rs index 4daf24e8..3cb383be 100644 --- a/video/closedcaption/src/tttocea608/imp.rs +++ b/video/closedcaption/src/tttocea608/imp.rs @@ -778,6 +778,8 @@ impl TtToCea608 { ); } + state.pad(element, mut_list, state.max_frame_no); + self.srcpad.push_list(bufferlist) } diff --git a/video/closedcaption/tests/tttocea608.rs b/video/closedcaption/tests/tttocea608.rs index efcc57b7..658c77cb 100644 --- a/video/closedcaption/tests/tttocea608.rs +++ b/video/closedcaption/tests/tttocea608.rs @@ -107,7 +107,7 @@ fn test_one_timed_buffer_and_eos() { assert_eq!(e.2, &*data); } - assert_eq!(h.buffers_in_queue(), 0); + assert_eq!(h.buffers_in_queue(), 23); h.push_event(gst::event::Eos::new());