summaryrefslogtreecommitdiffstats
path: root/xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxPacket.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2018-01-01 16:26:10 +0100
committermanuel <manuel@mausz.at>2018-01-01 16:26:10 +0100
commita51f51db67e3eab80ac2ed28d403a6d77f7acc45 (patch)
tree72e41d0283d3db549ea5a22e3c9063ef2a971d54 /xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxPacket.h
parent4830f27a40323fe859dc166337a2b861877b7121 (diff)
downloadkodi-pvr-build-a51f51db67e3eab80ac2ed28d403a6d77f7acc45.tar.gz
kodi-pvr-build-a51f51db67e3eab80ac2ed28d403a6d77f7acc45.tar.bz2
kodi-pvr-build-a51f51db67e3eab80ac2ed28d403a6d77f7acc45.zip
sync with upstream
Diffstat (limited to 'xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxPacket.h')
-rw-r--r--xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxPacket.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxPacket.h b/xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxPacket.h
deleted file mode 100644
index 77d796e..0000000
--- a/xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxPacket.h
+++ /dev/null
@@ -1,55 +0,0 @@
1#pragma once
2
3/*
4 * Copyright (C) 2012-2013 Team XBMC
5 * http://xbmc.org
6 *
7 * This Program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
11 *
12 * This Program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with XBMC; see the file COPYING. If not, see
19 * <http://www.gnu.org/licenses/>.
20 *
21 */
22
23#include <cstdint>
24#include <memory>
25
26#define DMX_SPECIALID_STREAMINFO -10
27#define DMX_SPECIALID_STREAMCHANGE -11
28
29struct DemuxCryptoInfo;
30
31typedef struct DemuxPacket
32{
33 DemuxPacket() = default;
34
35 DemuxPacket(unsigned char *pData, int const iSize, double const pts, double const dts)
36 : pData(pData)
37 , iSize(iSize)
38 , pts(pts)
39 , dts(dts)
40 {};
41
42 unsigned char *pData; // data
43 int iSize; // data size
44 int iStreamId; // integer representing the stream index
45 int64_t demuxerId; // id of the demuxer that created the packet
46 int iGroupId; // the group this data belongs to, used to group data from different streams together
47
48 double pts; // pts in DVD_TIME_BASE
49 double dts; // dts in DVD_TIME_BASE
50 double duration; // duration in DVD_TIME_BASE if available
51
52 int dispTime;
53
54 std::shared_ptr<DemuxCryptoInfo> cryptoInfo;
55} DemuxPacket;