aboutsummaryrefslogtreecommitdiff
path: root/src/capture/capture.c
blob: 9755d6a3fb56bc6d30e238e8c0c18bed8fa305ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "../../include/capture/capture.h"

int gsr_capture_start(gsr_capture *cap) {
    return cap->start(cap);
}

void gsr_capture_stop(gsr_capture *cap) {
    cap->stop(cap);
}

int gsr_capture_capture(gsr_capture *cap, AVFrame *frame) {
    return cap->capture(cap, frame);
}

void gsr_capture_destroy(gsr_capture *cap) {
    cap->destroy(cap);
}