Re: [PATCH] Multi protocol support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 12 Apr 2006, Manu Abraham wrote:
> Andreas Oberritter wrote:
> >> +typedef enum {
> >> +       DMX_PROTO_DVB_S,
> >> +       DMX_PROTO_DVB_C,
> >
> > Why should a demux care how the TS was delivered? All DVB variants and
> > ATSC use MPEG-2 TS, right? I don't know about DSS though.
>
> Some protocols need different SYNC words , stream lengths etc for the
> demuxer to work (DSS and DVB-S2 differ from DVB-S/C/T/ATSC) DSS has a

Is this really mpeg-2 vs mpeg-4?  Maybe it make more sense to name the formats
after the bit-stream protocol instead of the a transmission standard that
happens to use them.

> >> +typedef enum {
> >> +       FE_PROTO_ATSC,
> >> +       FE_PROTO_DVB_S2
> >> +} fe_protocol_t;
> >
> What would be your suggestion .. ? FE_SYS_XXXX. Or any other suggestion ?

How do you handle frontends that can do more than one standard?  Would having
these be bit-flags be better, so a tuner could report the standards it
supports by or-ing them together?

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux