[vlc-devel] [PATCH 8/8] sout: transcode: forward highlight control
Francois Cartegnie
fcvlcdev at free.fr
Wed Aug 29 18:27:57 CEST 2018
---
modules/stream_out/transcode/transcode.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/modules/stream_out/transcode/transcode.c b/modules/stream_out/transcode/transcode.c
index 900707e29a..d6550104a1 100644
--- a/modules/stream_out/transcode/transcode.c
+++ b/modules/stream_out/transcode/transcode.c
@@ -366,6 +366,16 @@ static int Control( sout_stream_t *p_stream, int i_query, va_list args )
case SOUT_STREAM_EMPTY:
if( p_stream->p_next )
return sout_StreamControlVa( p_stream->p_next, i_query, args );
+ break;
+ case SOUT_STREAM_ID_SPU_HIGHLIGHT:
+ {
+ sout_stream_id_sys_t *id = (sout_stream_id_sys_t *) va_arg(args, void *);
+ void *spu_hl = va_arg(args, void *);
+ if( p_stream->p_next && id->downstream_id )
+ return sout_StreamControl( p_stream->p_next, i_query,
+ id->downstream_id, spu_hl );
+ break;
+ }
}
return VLC_EGENERIC;
}
--
2.14.4
More information about the vlc-devel
mailing list