[vlc-devel] [PATCH 4/8] api: expose input_DecoderSetSpuHighlight

Francois Cartegnie fcvlcdev at free.fr
Wed Aug 29 18:27:53 CEST 2018


Allows changing Highlight on input decoders
---
 include/vlc_input.h | 1 +
 src/input/decoder.h | 1 -
 src/libvlccore.sym  | 1 +
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index cfa2cef215..e8e7dfed3d 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -702,6 +702,7 @@ VLC_API void input_DecoderDelete( decoder_t * );
 VLC_API void input_DecoderDecode( decoder_t *, block_t *, bool b_do_pace );
 VLC_API void input_DecoderDrain( decoder_t * );
 VLC_API void input_DecoderFlush( decoder_t * );
+VLC_API int  input_DecoderSetSpuHighlight( decoder_t *, const vlc_spu_highlight_t * );
 
 /**
  * This function creates a sane filename path.
diff --git a/src/input/decoder.h b/src/input/decoder.h
index 67d29cdc3a..ec5525bd50 100644
--- a/src/input/decoder.h
+++ b/src/input/decoder.h
@@ -120,6 +120,5 @@ void input_DecoderGetObjects( decoder_t *, vout_thread_t **, audio_output_t ** )
 void input_DecoderSetVoutMouseEvent( decoder_t *, vlc_mouse_event, void * );
 int  input_DecoderAddVoutOverlay( decoder_t *, subpicture_t *, int * );
 int  input_DecoderFlushVoutOverlay( decoder_t *, int );
-int  input_DecoderSetSpuHighlight( decoder_t *, const vlc_spu_highlight_t * );
 
 #endif
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index c77f39d6b7..33184e87a2 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -159,6 +159,7 @@ input_DecoderDelete
 input_DecoderDecode
 input_DecoderDrain
 input_DecoderFlush
+input_DecoderSetSpuHighlight
 input_GetItem
 input_item_AddInfo
 input_item_AddOption
-- 
2.14.4



More information about the vlc-devel mailing list