You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libvlc_media_player_get_fps(aka FVlc::MediaPlayerGetFps) may returns a 0.0f if the fps is unspecified in some real time streams.
And the current code use its return value as denominator without check when caculating VideoFrameDuration. This can lead to an error that Engine cannot get pictures correctly from the sample pool because of the wrong duration.
Just check fps and set frame duration to 1 millisecond if fps is not greater than 0.0f can resolve this problem.
The text was updated successfully, but these errors were encountered:
libvlc_media_player_get_fps
(akaFVlc::MediaPlayerGetFps
) may returns a 0.0f if the fps is unspecified in some real time streams.And the current code use its return value as denominator without check when caculating
VideoFrameDuration
. This can lead to an error that Engine cannot get pictures correctly from the sample pool because of the wrong duration.Just check fps and set frame duration to 1 millisecond if fps is not greater than 0.0f can resolve this problem.
The text was updated successfully, but these errors were encountered: