Hello,
While setting the screen format to PAL or NTSC using
directfb, it says "not supported" but my hardware supports. Can anyone
please help me on this issue. Is there anything i have to initialize or
modify prior to setting the screen format?
here is the error log:
(!) em86_check_encoder(0) signal not supported: PAL
(!) SMP863x: encoder config failed flags 8
SetEncoderConfiguration(0) failed!
Adding the code for your reference:
DFBScreenEncoderConfig enc_cfg;
DFBScreenOutputConfig out_cfg;
DFBScreenOutputSignals signal = DSOS_PAL;
enc_cfg.flags = (DFBScreenEncoderConfigFlags)(DSECONF_OUT_SIGNALS |
DSECONF_DELAYED_CONFIG);
enc_cfg.out_signals = signal;
enc_cfg.delayed_config = true;
if (GfxScreen->SetEncoderConfiguration(GfxScreen, 0, &enc_cfg) !=
DFB_OK)
{
dprintf("SetEncoderConfiguration(0) failed!\n");
component = false;
analog = false;
}
else
{
out_cfg.flags = (DFBScreenOutputConfigFlags)(DSOCONF_SIGNALS |
DSOCONF_DELAYED_CONFIG);
out_cfg.out_signals = signal;
out_cfg.delayed_config = component || analog;
if (GfxScreen->SetOutputConfiguration(GfxScreen, 0, &out_cfg)
!= DFB_OK)
{
dprintf("SetOutputConfiguration(0) failed!\n");
component = false;
analog = false;
}
}
--
Regards
Ravi Swami
EnMedia Software Technologies
Ph +91-974-264-3747
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users