public unsafe MediaRational Reduce()
        {
            MediaRational result = this;

            av_reduce(&result.Num, &result.Den, Num, Den, int.MaxValue);
            return(result);
        }
示例#2
0
 /// <summary>
 /// <see cref="av_opt_set_q(void*, string, AVRational, int)"/>
 /// </summary>
 public void Set(string name, MediaRational value, OptionSearchFlags searchFlags = OptionSearchFlags.None) =>
 av_opt_set_q(_obj, name, value, (int)searchFlags).ThrowIfError();