<div dir="ltr">I tested this with the earth-pt3 driver, and it required this patch.<div><br></div><div>The driver sets 7 to the DTV_ISDBT_LAYER_ENABLED parameter when the frontend of earth-pt3 is initialized [1], but it's overridden to 0 by the DTV_CLEAR ioctl call from VLC [2, 3], so we need to revert it back to 7 explicitly.</div><div><br></div><div>We need to enable at least one layer to receive TS from ISDB-T. There are drivers with which we can watch TV without setting this parameter, but I think it's just because these drivers don't support disabling layers. Correct me if I'm wrong.</div><div><br></div><div>[1] <a href="https://github.com/torvalds/linux/blob/master/drivers/media/dvb-frontends/tc90522.c#L635" target="_blank">https://github.com/torvalds/linux/blob/master/drivers/media/dvb-frontends/tc90522.c#L635</a></div><div>[2] <a href="https://github.com/torvalds/linux/blob/master/drivers/media/dvb-core/dvb_frontend.c#L1041" target="_blank">https://github.com/torvalds/linux/blob/master/drivers/media/dvb-core/dvb_frontend.c#L1041</a></div><div>[3] <a href="https://github.com/videolan/vlc/blob/master/modules/access/dtv/linux.c#L1134" target="_blank">https://github.com/videolan/vlc/blob/master/modules/access/dtv/linux.c#L1134</a></div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-17 1:55 GMT+09:00 Francois Cartegnie <span dir="ltr"><<a href="mailto:fcvlcdev@free.fr" target="_blank">fcvlcdev@free.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>Le 16/02/2016 16:33, HIRANO Takahito a écrit :<br>
> Layer configurations were set, but layers have not been enabled. Some DVB<br>
> drivers are require them to be enabled to watch TV.<br>
<br>
</span>DVB drivers which are ?<br>
<br>
Francois<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</blockquote></div><br></div></div></div>