LongoMatch.Gui.PlayerBin.SetPlayListElement C# (CSharp) Method

SetPlayListElement() public method

public SetPlayListElement ( string fileName, long start, long stop, float rate, bool hasNext ) : void
fileName string
start long
stop long
rate float
hasNext bool
return void
        public void SetPlayListElement(string fileName,long start, long stop, float rate, bool hasNext)
        {
            if (hasNext)
                nextbutton.Sensitive = true;
            else
                nextbutton.Sensitive = false;

            if (fileName != filename){
                Open(fileName);
                //Wait until the pipeline is prerolled and ready to seek
                pendingSeek = new object[3] {start,stop,rate};
            }
            else player.SegmentSeek(start,stop,rate);

            segmentStartTime = start;
            segmentStopTime = stop;
            player.LogoMode = false;
            Rate = rate;
        }