MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / request_normal_frame

Method request_normal_frame

src/video.cpp:367–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365 }
366
367 void request_normal_frame() override {
368 if (device && device->frame) {
369 auto &frame = device->frame;
370 frame->pict_type = AV_PICTURE_TYPE_NONE;
371 frame->flags &= ~AV_FRAME_FLAG_KEY;
372 }
373 }
374
375 void invalidate_ref_frames(int64_t first_frame, int64_t last_frame) override {
376 BOOST_LOG(error) << "Encoder doesn't support reference frame invalidation";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected