[vlc-devel] Getting both audio and video playout for Blackmagic Design Decklink/Intensity
Rémi Denis-Courmont
remi at remlab.net
Wed Jun 23 19:10:34 CEST 2010
On Wed, 23 Jun 2010 22:40:44 +1000, Stuart Cunningham <stuart8c at gmail.com>
wrote:
> The problem with audio is that it's going to be available only in an
audio
> output module e.g. modules/audio_output/decklink.cpp but this code won't
> be able to access the object created in
modules/video_output/decklink.cpp.
> You can only have one instance of a Decklink board object, so how would I
> share an object created in a video_output module with code in an
audio_output
> module?
The simplest solution is to implement both modules in the same plugin, and
share the data via static variables (and a static lock). But that may cause
problem if (Lib)VLC has more than one playing media at a time.
> An alternative would be to somehow have modules/video_output/decklink.cpp
> handle both audio and video data for output, but I'm not sure the
internal
> design of VLC allows this.
Just grep for add_submodule.
--
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list