[vlc-devel] [PATCH] decoder device: allow modules to create a decoder device

Steve Lhomme robux4 at ycbcr.xyz
Tue Jul 9 09:04:32 CEST 2019


Like the transcoder or the mosaic bridge.
---
 include/vlc_codec.h | 2 +-
 src/libvlccore.sym  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/vlc_codec.h b/include/vlc_codec.h
index 85d7c0ff23..2a92a4523f 100644
--- a/include/vlc_codec.h
+++ b/include/vlc_codec.h
@@ -587,7 +587,7 @@ typedef void (*vlc_decoder_device_Close)(vlc_decoder_device *device);
  * This function will be hidden in the future. It is now used by opengl vout
  * module as a transition.
  */
-VLC_USED vlc_decoder_device *
+VLC_API vlc_decoder_device *
 vlc_decoder_device_Create(vout_window_t *window);
 
 /**
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 686ef13265..bf3a6a91fe 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -83,6 +83,7 @@ decoder_AbortPictures
 decoder_NewAudioBuffer
 decoder_UpdateDecoderDevice
 decoder_UpdateVideoOutput
+vlc_decoder_device_Create
 vlc_decoder_device_Hold
 vlc_decoder_device_Release
 demux_PacketizerDestroy
-- 
2.17.1



More information about the vlc-devel mailing list