Exemple #1
0
        /// <summary>
        /// Bitmap cache get -> thread hand off -> multiplex ->
        /// bitmap cache -> local video thumbnail
        /// </summary>
        private IProducer <CloseableReference <CloseableImage> > GetLocalVideoFileFetchSequence()
        {
            lock (_gate)
            {
                if (_localVideoFileFetchSequence == null)
                {
                    LocalVideoThumbnailProducer localVideoThumbnailProducer =
                        _producerFactory.NewLocalVideoThumbnailProducer();

                    _localVideoFileFetchSequence =
                        NewBitmapCacheGetToBitmapCacheSequence(localVideoThumbnailProducer);
                }

                return(_localVideoFileFetchSequence);
            }
        }