コード例 #1
0
        /// <summary>
        /// Reset all info (always call before playing next file)
        /// </summary>
        public void ResetInfo()
        {
            AudioCodec = string.Empty;
            VideoCodec = string.Empty;

            // VideoInfo
            HasVideo    = true;
            VideoWidth  = 0;
            VideoHeight = 0;

            Id3Tags = new Id3Tag
            {
                AlbumArtist = string.Empty,
                Encoder     = string.Empty,
                Artist      = string.Empty,
                Genre       = string.Empty,
                Track       = string.Empty,
                Disc        = 0,
                Title       = string.Empty,
                Album       = string.Empty,
                Date        = string.Empty,
                Comment     = string.Empty,
                Description = string.Empty,

                AlbumArtTag = null
            };

            IdInfos.Clear();

            // Tracks
            Subs.Clear();
            Chapters.Clear();
            AudioTracks.Clear();
        }
コード例 #2
0
        /// <summary>
        /// Reset all info (always call before playing next file)
        /// </summary>
        public void ResetInfo()
        {
            AudioCodec = string.Empty;
            VideoCodec = string.Empty;

            // VideoInfo
            HasVideo = true;
            VideoWidth = 0;
            VideoHeight = 0;

            Id3Tags = new Id3Tag
            {
                AlbumArtist = string.Empty,
                Encoder = string.Empty,
                Artist = string.Empty,
                Genre = string.Empty,
                Track = string.Empty,
                Disc = 0,
                Title = string.Empty,
                Album = string.Empty,
                Date = string.Empty,
                Comment = string.Empty,
                Description = string.Empty,

                AlbumArtTag = null
            };

            IdInfos.Clear();

            // Tracks
            Subs.Clear();
            Chapters.Clear();
            AudioTracks.Clear();
        }