Mailing List archive

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

[linux-dvb] Re: struct dmx_input_t



Aurelian Pop wrote:
> 
> I want to ask you what is the difference between the "DMX_IN_FRONTEND" and
> "DMX_IN_DVR" from the structure "dmx_input_t"?
> 
> I can tell you that I have used the "in_dvr" parameter to record streams
> from dvr device. However, almost all-over in the example-code there is used
> "in_frontend".

apps/test/test_dvr.c works for me. For you not?

> So then what is the difference between those two parameters?

DMX_IN_FRONTEND: input from frontend
DMX_IN_DVR     : input from userspace program writing a TS to /dev/dvb/.../dvr*

The actual implementation is not very intuitive, however. A filter
opened with DMX_IN_FRONTEND *after* the dvr device has been opened
for writing will get the stream from dvr. Why? Just one more bit
of broken dvr device semantics...

It's time to resume work on dvb-kernel-v4.


Johannes


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index