diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-07-11 01:02:24 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-07-11 01:02:53 +0300 |
commit | adad395f60fdb4b8566842d603237982650451ef (patch) | |
tree | d5428dc6b1af16dca9650fb0f9ff2d1a6e7e4d53 /common | |
parent | 45f77f25bef884df373da65bbf303ac6b06a1975 (diff) |
Export FFMpeg sidedata in IMediaSampleSideData
Diffstat (limited to 'common')
-rw-r--r-- | common/includes/IMediaSideDataFFmpeg.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/common/includes/IMediaSideDataFFmpeg.h b/common/includes/IMediaSideDataFFmpeg.h new file mode 100644 index 00000000..598b7404 --- /dev/null +++ b/common/includes/IMediaSideDataFFmpeg.h @@ -0,0 +1,39 @@ +/* +* Copyright (C) 2010-2016 Hendrik Leppkes +* http://www.1f0.de +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License along +* with this program; if not, write to the Free Software Foundation, Inc., +* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* +* Initial design and concept by Gabest and the MPC-HC Team, copyright under GPLv2 +* Contributions by Ti-BEN from the XBMC DSPlayer Project, also under GPLv2 +*/ + +#pragma once + +// {08FA97DB-392C-4132-9C41-0B6507C3A164} +DEFINE_GUID(IID_MediaSideDataFFMpeg, + 0x8fa97db, 0x392c, 0x4132, 0x9c, 0x41, 0xb, 0x65, 0x7, 0xc3, 0xa1, 0x64); + +extern "C" { +#include "libavcodec/avcodec.h" +} + +#pragma pack(push, 1) +struct MediaSideDataFFMpeg +{ + AVPacketSideData *side_data; + int side_data_elems; +}; +#pragma pack(pop) |