File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1+ DEVELOPMENT VERSION
2+ -------------------
3+ RUST:
4+ - Documented EIA_708_BUFFER_LENGTH constant with CEA-708 specification reference
5+ - Removed debug logging from target.rs network module
6+
170.96.3 (2025-12-29)
28-------------------
39- New: VOBSUB subtitle extraction with OCR support for MP4 files
Original file line number Diff line number Diff line change @@ -147,7 +147,11 @@ pub const CCX_DECODER_608_SCREEN_WIDTH: usize = 32;
147147pub const ONEPASS : usize = 120 ; // Bytes we can always look ahead without going out of limits
148148pub const BUFSIZE : usize = 2048 * 1024 + ONEPASS ; // 2 Mb plus the safety pass
149149pub const MAX_CLOSED_CAPTION_DATA_PER_PICTURE : usize = 32 ;
150- pub const EIA_708_BUFFER_LENGTH : usize = 2048 ; // TODO: Find out what the real limit is
150+ /// CEA-708 Service Input Buffer size.
151+ /// Specification minimum is 128 bytes per service, but we use 2048 bytes
152+ /// (16x the minimum) to provide a safety margin for buffer management.
153+ /// Reference: CEA-708-E Section 8.4.3 - Service Input Buffers
154+ pub const EIA_708_BUFFER_LENGTH : usize = 2048 ;
151155pub const TS_PACKET_PAYLOAD_LENGTH : usize = 184 ; // From specs
152156pub const SUBLINESIZE : usize = 2048 ; // Max. length of a .srt line - TODO: Get rid of this
153157pub const STARTBYTESLENGTH : usize = 1024 * 1024 ;
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ impl<'a> SendTarget<'a> {
8282 "Unable to connect, address passed is null\n "
8383 ) ;
8484 }
85- info ! ( "Target address: {}\n " , config. target_addr) ; // TODO remove this
8685 info ! ( "Target port: {}\n " , config. port. unwrap_or( DEFAULT_TCP_PORT ) ) ;
8786 let tcp_stream = TcpStream :: connect ( (
8887 config. target_addr ,
You can’t perform that action at this time.
0 commit comments