예제 #1
0
파일: stream.cpp 프로젝트: brucechase/avcpp
void Stream::setFrameRate(const Rational &frameRate)
{
    RAW_SET2(isValid(), r_frame_rate, frameRate.getValue());
}
예제 #2
0
파일: stream.cpp 프로젝트: brucechase/avcpp
void Stream::setTimeBase(const Rational &timeBase)
{
    RAW_SET2(isValid(), time_base, timeBase.getValue());
}
예제 #3
0
파일: stream.cpp 프로젝트: adarovsky/avcpp
void Stream::setSampleAspectRatio(const Rational &aspectRatio)
{
    RAW_SET2(isValid(), sample_aspect_ratio, aspectRatio.getValue());
}
예제 #4
0
void CodecContext2::setFrameRate(const Rational &value) noexcept {
    RAW_SET2(isValid() && !isOpened(), framerate, value.getValue());
}
예제 #5
0
void CodecContext2::setTimeBase(const Rational &value) noexcept
{
    RAW_SET2(isValid() && !isOpened(), time_base, value.getValue());
}
예제 #6
0
void CodecContext::setTimeBase(const Rational &value)
{
    RAW_SET2(isValid(), time_base, value.getValue());
}