libdrm-meson: modify refreshInterval to if the mode is invalid [1/1]

PD#SWPL-144419

Problem:
playback fail when there is no connector.
refreshInterval is invalid. all video frame drops shortly.

Solution:
modify refreshInterval to 0 if the mode is invalid

Verify:
S905D3

Change-Id: I02a1959d60cdc52ff6e7848d29d7242510c98392
Signed-off-by: limin.tian <limin.tian@amlogic.com>
1 file changed
tree: 4444809eca58ca1c4b2f95b9e29f7c38d8649e30
  1. drm-setcrtc/
  2. drm-tests/
  3. meson/
  4. drm_fourcc.h
  5. Makefile
  6. meson_drm.h