MCPcopy Create free account
hub / github.com/FFMS/ffms2 / ResetInputFormat

Method ResetInputFormat

src/core/videosource.cpp:605–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603}
604
605void FFMS_VideoSource::ResetInputFormat() {
606 InputFormatOverridden = false;
607 InputFormat = AV_PIX_FMT_NONE;
608 InputColorSpace = AVCOL_SPC_UNSPECIFIED;
609 InputColorRange = AVCOL_RANGE_UNSPECIFIED;
610
611 ReAdjustOutputFormat(DecodeFrame);
612 OutputFrame(DecodeFrame);
613}
614
615void FFMS_VideoSource::SetVideoProperties() {
616 VP.RFFDenominator = FormatContext->streams[VideoTrack]->time_base.num;

Callers 1

FFMS_ResetInputFormatVFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected