1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef qffmpegpositionwithoffset_p_H
5#define qffmpegpositionwithoffset_p_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <qtypes.h>
19
20QT_BEGIN_NAMESPACE
21
22namespace QFFmpeg {
23
24struct LoopOffset
25{
26 qint64 pos = 0;
27 int index = 0;
28};
29
30struct PositionWithOffset
31{
32 qint64 pos = 0;
33 LoopOffset offset;
34};
35
36} // namespace QFFmpeg
37
38QT_END_NAMESPACE
39
40#endif // qffmpegpositionwithoffset_p_H
41

source code of qtmultimedia/src/plugins/multimedia/ffmpeg/playbackengine/qffmpegpositionwithoffset_p.h