Changeset View
Changeset View
Standalone View
Standalone View
src/capture/mltdevicecapture.h
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | 52 | enum FailStates { OK = 0, | |||
---|---|---|---|---|---|
53 | APP_NOEXIST | 53 | APP_NOEXIST | ||
54 | }; | 54 | }; | ||
55 | /** @brief Build a MLT Renderer | 55 | /** @brief Build a MLT Renderer | ||
56 | * @param winid The parent widget identifier (required for SDL display). Set to 0 for OpenGL rendering | 56 | * @param winid The parent widget identifier (required for SDL display). Set to 0 for OpenGL rendering | ||
57 | * @param profile The MLT profile used for the capture (default one will be used if empty). */ | 57 | * @param profile The MLT profile used for the capture (default one will be used if empty). */ | ||
58 | explicit MltDeviceCapture(QString profile, /*VideoSurface *surface,*/ QWidget *parent = nullptr); | 58 | explicit MltDeviceCapture(QString profile, /*VideoSurface *surface,*/ QWidget *parent = nullptr); | ||
59 | 59 | | |||
60 | /** @brief Destroy the MLT Renderer. */ | 60 | /** @brief Destroy the MLT Renderer. */ | ||
61 | ~MltDeviceCapture(); | 61 | ~MltDeviceCapture() override; | ||
62 | 62 | | |||
63 | int doCapture; | 63 | int doCapture; | ||
64 | 64 | | |||
65 | /** @brief Someone needs us to send again a frame. */ | 65 | /** @brief Someone needs us to send again a frame. */ | ||
66 | void sendFrameUpdate() Q_DECL_OVERRIDE {} | 66 | void sendFrameUpdate() Q_DECL_OVERRIDE {} | ||
67 | 67 | | |||
68 | void emitFrameUpdated(Mlt::Frame &); | 68 | void emitFrameUpdated(Mlt::Frame &); | ||
69 | void emitFrameNumber(double position); | 69 | void emitFrameNumber(double position); | ||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |