[vlc-devel] [PATCH] access module for BlackMagic SDI cards

Steinar H. Gunderson sgunderson at bigfoot.com
Sat Oct 2 18:35:10 CEST 2010


On Sat, Oct 02, 2010 at 06:51:50PM +0300, Rémi Denis-Courmont wrote:
> Als a few general questions... I guess this plugin copies entire video frames 
> from the SDK into VLC block_t. The rawvideo codec will again copy those entire 
> frames into VLC pictures_t. Is this intended?

Is there a way to send picture_t straight down? If so, how? I could surely do
that.

The audio has exactly the same issue, of course (pushed through araw.c).
Could I do something there as well?

> And does Demux() not get stuck if we never get an image? Is that possible at 
> all?

If there's no input, Demux() will not return since there's no data to return.
Is there anything wrong about that?

> Do you really need the mutex and condition variable?

If I am to send data from Demux(), yes. (The alternative is polling, of
course, which is not good at all.)

/* Steinar */
-- 
Homepage: http://www.sesse.net/



More information about the vlc-devel mailing list