[vlc-devel] Re: [PATCH]: BDA modules now supports DVB-C

Jean-Paul Saman jean-paul.saman at planet.nl
Fri Apr 20 16:22:48 CEST 2007


Ken Self wrote:
> I think we should try to integrate them.
> 
Ok

> Some things that would need to be resolved that I can see are:
> - Looks like bda uses different parameters for DVB-S than dvb

Some are the same and some are different. Use
  #if defined(WIN32) || defined(WINCE)
...
  #endif
around the ones that aren't supported for windows.

> - Need to build a C interface between the dvb access module and bda
> module or rewrite bda in C (not one of my strong points)

C interface would be nice, bda can remain C++.

> - Current dvb module allows selection of the tuner device. Not so easy
> in bda so I instead cycle through the tuners till it gets a signal


> - dvb module allows selection of budget-mode. bda can only support
> budget-mode

Just use
  #if defined(WIN32) || defined(WINCE)
...
  #endif
around things that are not supported.

> - dvb module has a parameter dvb-caching. I am not clear on where the
> caching happens so not sure if I can replicate this in bda. In the bda
> module I rely on callbacks when a sample is provided by the tuner and
> queue them up till vlc asks for them.

Caching is controlled by the Control function. To be exactly dvb-caching 
is the PTS delay, which means wait x ms before passing the buffer/frame 
to the decoder. It is controlled int Control() function with i_query = 
ACCESS_GET_PTS_DELAY.

> 
> None of these are insurmountable
> 
> Ken

Gtz,
Jean-Paul Saman.

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list