Fix YUVDataVideos use of shared pointer by storing only valid frame information