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

Steve Lhomme git at videolan.org
Mon Dec 9 11:51:03 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jul  9 09:01:18 2019 +0200| [36a7c36829090ccf303efa62217ab841f9a0f4ab] | committer: Steve Lhomme

decoder device: allow modules to create a decoder device

Like the transcoder or the mosaic bridge.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=36a7c36829090ccf303efa62217ab841f9a0f4ab
---

 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 3613e1a14c..bfff72d6db 100644
--- a/include/vlc_codec.h
+++ b/include/vlc_codec.h
@@ -604,7 +604,7 @@ typedef int (*vlc_decoder_device_Open)(vlc_decoder_device *device,
  * This function will be hidden in the future. It is now used by opengl vout
  * module as a transition.
  */
-vlc_decoder_device *
+VLC_API vlc_decoder_device *
 vlc_decoder_device_Create(vlc_object_t *, vout_window_t *window) VLC_USED;
 
 /**
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 9f711c4eb8..2c12034990 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -83,6 +83,7 @@ decoder_AbortPictures
 decoder_NewAudioBuffer
 decoder_UpdateVideoFormat
 decoder_UpdateVideoOutput
+vlc_decoder_device_Create
 vlc_decoder_device_Hold
 vlc_decoder_device_Release
 demux_PacketizerDestroy



More information about the vlc-commits mailing list