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 qffmpegplaybackutils_p_H
5#define qffmpegplaybackutils_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#include <QtFFmpegMediaPluginImpl/private/qffmpegtime_p.h>
20
21QT_BEGIN_NAMESPACE
22
23namespace QFFmpeg {
24
25struct LoopOffset
26{
27 TrackPosition loopStartTimeUs =
28 TrackPosition(0); // Accumulated duration of previous loops (microseconds)
29 int loopIndex = 0; // Counts the number of times the media has been played
30};
31
32} // namespace QFFmpeg
33
34QT_END_NAMESPACE
35
36#endif // qffmpegplaybackutils_p_H
37

Provided by KDAB

Privacy Policy
Learn to use CMake with our Intro Training
Find out more

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