summaryrefslogtreecommitdiffstats
path: root/xbmc/cores/EdlEdit.h
blob: a06ed1572a1fcb2a9c216e737976b7e83c04d69c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 *  Copyright (C) 2019 Team Kodi
 *  This file is part of Kodi - https://kodi.tv
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 *  See LICENSES/README.md for more information.
 */

#pragma once

namespace EDL
{

constexpr int EDL_ACTION_NONE = -1;

enum class Action
{
  CUT = 0,
  MUTE = 1,
  SCENE = 2,
  COMM_BREAK = 3
};

struct Edit
{
  int start = 0; // ms
  int end = 0; // ms
  Action action = Action::CUT;
};

} // namespace EDL