Exemplo n.º 1
0
void Stream::setFrameRate(const Rational &frameRate)
{
    RAW_SET2(isValid(), r_frame_rate, frameRate.getValue());
}
Exemplo n.º 2
0
void Stream::setTimeBase(const Rational &timeBase)
{
    RAW_SET2(isValid(), time_base, timeBase.getValue());
}
Exemplo n.º 3
0
void Stream::setSampleAspectRatio(const Rational &aspectRatio)
{
    RAW_SET2(isValid(), sample_aspect_ratio, aspectRatio.getValue());
}
Exemplo n.º 4
0
void CodecContext2::setFrameRate(const Rational &value) noexcept {
    RAW_SET2(isValid() && !isOpened(), framerate, value.getValue());
}
Exemplo n.º 5
0
void CodecContext2::setTimeBase(const Rational &value) noexcept
{
    RAW_SET2(isValid() && !isOpened(), time_base, value.getValue());
}
Exemplo n.º 6
0
void CodecContext::setTimeBase(const Rational &value)
{
    RAW_SET2(isValid(), time_base, value.getValue());
}