QtGStreamer
1.2.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
QGst
sample.h
1
/*
2
Copyright (C) 2013 Diane Trout
3
@author Diane Trout <diane@ghic.org>
4
5
This library is free software; you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published
7
by the Free Software Foundation; either version 2.1 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public License
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
#ifndef QGST_SAMPLE_H
19
#define QGST_SAMPLE_H
20
21
#include "miniobject.h"
22
23
namespace
QGst {
24
31
class
QTGSTREAMER_EXPORT
Sample
:
public
MiniObject
32
{
33
QGST_WRAPPER(
Sample
)
34
public
:
35
static
SamplePtr
create(
const
BufferPtr
& buffer,
const
CapsPtr
& caps,
36
const
Segment
& segment,
const
Structure
& info);
37
38
BufferPtr
buffer()
const
;
39
CapsPtr
caps()
const
;
40
Structure
info()
const
;
41
Segment
segment()
const
;
42
};
43
}
//namespace QGst
44
45
QGST_REGISTER_TYPE(
QGst::Sample
)
46
47
#endif
QGst::MiniObject
Wrapper class for GstMiniObject.
Definition:
miniobject.h:29
QGlib::RefPointer
Smart pointer class for working with wrapper classes that support reference counting.
Definition:
global.h:56
QGst::Structure
Wrapper for GstStructure.
Definition:
structure.h:49
QGst::Segment
Wrapper for GstSegment.
Definition:
segment.h:27
QGst::Sample
Wrapper class for GstSample.
Definition:
sample.h:31
Generated on Tue Jul 8 2014 21:39:44 for QtGStreamer by
1.8.7