[linux-dvb] [patch] fix two minor issues in dvb_core

Johannes Stezenbach js at linuxtv.org
Tue Jun 7 11:17:58 CEST 2005

Peter Beutner wrote:
> I came across this problem when I played around with the ttusb_dec
> driver. When doing some cleanups I changed the return values in the
> driver->start_feed() callback(ttusb_dec_start_ts_feed) to -EOPNOTSUPP 
> for DMX_PES_TELETEXT/DMX_PES_OTHER filter as the driver can't handle those.
> Thats the reason why ->start_filtering() failed in my case, but it could
> also fail in other cases, see below.

OK, that explains why this bug was unnoticed so far.

> >- does the same bug exist for the section filters?
> I dont know for sure. I haven't really looked at the section filter code 
> at all. From a first quick glance I would say probably yes( after 
> ->start-filtering() it checks for error but didnt release the filter), 
> but honestly after looking at the code for a couple minutes i find it 
> quite confusing to understand whats really going on ;)

Yeah, I know what you mean :-(


More information about the linux-dvb mailing list