public float 不透明度0to1 { get; set; } = 1.0f;
public bool ループ再生する { get; set; } = false;
public int キューのサイズ { get; set; } = 16;
+ public double 長さsec
+ {
+ get { return ( null != this.デコーダ ) ? this.デコーダ.長さsec : 0.0; }
+ }
public 動画( string 動画ファイルパス, int キューのサイズ )
{
break;
}
}
+ public void 再生位置secを移動する( double 再生位置sec )
+ {
+ this.デコーダ?.再生位置secを移動する( 再生位置sec );
+ }
protected 動画デコーダ デコーダ = null;