diff options
Diffstat (limited to 'xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxPacket.h')
| -rw-r--r-- | xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxPacket.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxPacket.h b/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxPacket.h new file mode 100644 index 0000000..d64fbb3 --- /dev/null +++ b/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxPacket.h | |||
| @@ -0,0 +1,36 @@ | |||
| 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 | #define DMX_SPECIALID_STREAMINFO -10 | ||
| 24 | #define DMX_SPECIALID_STREAMCHANGE -11 | ||
| 25 | |||
| 26 | typedef struct DemuxPacket | ||
| 27 | { | ||
| 28 | unsigned char* pData; // data | ||
| 29 | int iSize; // data size | ||
| 30 | int iStreamId; // integer representing the stream index | ||
| 31 | int iGroupId; // the group this data belongs to, used to group data from different streams together | ||
| 32 | |||
| 33 | double pts; // pts in DVD_TIME_BASE | ||
| 34 | double dts; // dts in DVD_TIME_BASE | ||
| 35 | double duration; // duration in DVD_TIME_BASE if available | ||
| 36 | } DemuxPacket; | ||
