File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,9 @@ static void ccx_demuxer_print_cfg(struct ccx_demuxer *ctx)
285285 case CCX_SM_MXF :
286286 mprint ("MXF" );
287287 break ;
288+ case CCX_SM_SCC :
289+ mprint ("SCC" );
290+ break ;
288291#ifdef WTV_DEBUG
289292 case CCX_SM_HEX_DUMP :
290293 mprint ("Hex" );
Original file line number Diff line number Diff line change @@ -990,6 +990,8 @@ pub enum InFormat {
990990 Mkv ,
991991 /// Material Exchange Format (MXF).
992992 Mxf ,
993+ /// Scenarist Closed Caption (SCC).
994+ Scc ,
993995 #[ cfg( feature = "wtv_debug" ) ]
994996 // For WTV Debug mode only
995997 Hex ,
Original file line number Diff line number Diff line change @@ -327,6 +327,9 @@ impl CcxDemuxer<'_> {
327327 StreamMode :: Mxf => {
328328 info ! ( "MXF" ) ;
329329 }
330+ StreamMode :: Scc => {
331+ info ! ( "SCC" ) ;
332+ }
330333 #[ cfg( feature = "wtv_debug" ) ]
331334 StreamMode :: HexDump => {
332335 info ! ( "Hex" ) ;
Original file line number Diff line number Diff line change @@ -311,6 +311,7 @@ impl OptionsExt for Options {
311311 InFormat :: Mp4 => self . demux_cfg . auto_stream = StreamMode :: Mp4 ,
312312 InFormat :: Mkv => self . demux_cfg . auto_stream = StreamMode :: Mkv ,
313313 InFormat :: Mxf => self . demux_cfg . auto_stream = StreamMode :: Mxf ,
314+ InFormat :: Scc => self . demux_cfg . auto_stream = StreamMode :: Scc ,
314315 }
315316 }
316317
You can’t perform that action at this time.
0 commit comments