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

Rémi Denis-Courmont remi at remlab.net
Tue Jul 9 16:30:22 CEST 2019


Le tiistaina 9. heinäkuuta 2019, 10.04.32 EEST Steve Lhomme a écrit :
> Like the transcoder or the mosaic bridge.

There are no windows in those cases, so I don't see how exposing this specific 
function helps for the stated purpose.

> ---
>  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


-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list