Beispiel #1
0
int MediaThread::on_video_frame(int idx, const AVFrame *frame, double stamp)
{
    Picture *p = next_freed_picture();
    if (p) {
        p->save(frame, stamp);
        save_data_picture(p);
    }
    return 0;
}