e_comp_screen_available_video_format return the pp available formats
if pp is supported.
format of the pp destination buffer should be checked in check_if_pp_needed
Change-Id: I86db82c37c22eee7b69cc4bd6fb7e65fb3851652
const tbm_format *formats;
Eina_Bool found = EINA_FALSE;
E_Hwc *hwc;
+ tdm_error error = TDM_ERROR_NONE;
evhw = (E_Video_Hwc_Windows *)evh;
hwc = evhw->hwc;
if (hwc->tdm_hwc_video_stream)
return EINA_FALSE;
- if (!e_comp_screen_available_video_formats_get(&formats, &count))
+ error = tdm_hwc_get_video_supported_formats(hwc->thwc, &formats, &count);
+ if (error != TDM_ERROR_NONE)
return EINA_FALSE;
for (i = 0; i < count; i++)