ClearTracks() public method

public ClearTracks ( ) : void
return void
Esempio n. 1
0
        public void FillFrom(MediaInfo mInfo)
        {
            if (mInfo != null)
            {
                mInfo.Copyto(_movieInfo, false);
            }
            else
            {
                _movieInfo.ClearTracks();
            }

            Fill();
        }
Esempio n. 2
0
        public void FillFrom(MediaInfo mInfo)
        {
            if (mInfo != null)
            {
                mInfo.Copyto(_info, false);
            }
            else
            {
                _info.ClearTracks();
            }

            Fill();
            SelectFirstAudioTrack();
        }
Esempio n. 3
0
 public void Copyto(MediaInfo mInfo, bool videoOnly)
 {
     mInfo.ClearTracks();
     foreach (var track in Tracks)
     {
         if ((videoOnly == false) || ((track.TrackType == "Video")))
         {
             var tr = new TrackInfo();
             track.CopyTo(tr);
             mInfo.Tracks.Add(tr);
         }
     }
     mInfo.TargetVideoCodec = TargetVideoCodec;
     mInfo.TargetContainer  = TargetContainer;
     mInfo.FileName         = FileName;
     mInfo.FileSize         = FileSize;
     mInfo.EditAspect       = EditAspect;
     mInfo.EditBitRate      = EditBitRate;
     mInfo.EditFrameRate    = EditFrameRate;
     mInfo.EditResolution   = EditResolution;
     mInfo.EditRotation     = EditRotation;
 }
Esempio n. 4
0
 public void Copyto(MediaInfo mInfo,bool videoOnly)
 {
     mInfo.ClearTracks();
     foreach(var track in Tracks)
     {
         if ((videoOnly==false) || ((track.TrackType =="Video")) )
         {
             var tr = new TrackInfo();
             track.CopyTo(tr);
             mInfo.Tracks.Add(tr);
         }
     }
     mInfo.TargetVideoCodec = TargetVideoCodec;
     mInfo.TargetContainer = TargetContainer;
     mInfo.FileName = FileName;
     mInfo.FileSize = FileSize;
     mInfo.EditAspect = EditAspect;
     mInfo.EditBitRate = EditBitRate;
     mInfo.EditFrameRate = EditFrameRate;
     mInfo.EditResolution = EditResolution;
     mInfo.EditRotation = EditRotation;
 }