Debian Codegraph @

gstreamer/src/enums.hg

raw
1 /* gstreamermm - a C++ wrapper for gstreamer
2 *
3 * Copyright 2008 The gstreamermm Development Team
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library 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 GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free
17 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19
20 #include <gst/gst.h>
21
22 _DEFS(gstreamermm,gst)
23
24 // Plug-in C enums used in the plug-in signals that are shared need to be
25 // declared. This one is is shared between decodebin2 and uridecodebin so it
26 // is difficult for it to be generated.
27 enum GstAutoplugSelectResult
28 {
29 GST_AUTOPLUG_SELECT_TRY,
30 GST_AUTOPLUG_SELECT_EXPOSE,
31 GST_AUTOPLUG_SELECT_SKIP
32 };
33
34 enum GstMultiHandleSinkClientStatus
35 {
36 GST_CLIENT_STATUS_OK,
37 GST_CLIENT_STATUS_CLOSED,
38 GST_CLIENT_STATUS_REMOVED,
39 GST_CLIENT_STATUS_SLOW,
40 GST_CLIENT_STATUS_ERROR,
41 GST_CLIENT_STATUS_DUPLICATE,
42 GST_CLIENT_STATUS_FLUSHING
43 };
44
45 enum GstMultiHandleSinkSyncMethod
46 {
47 GST_SYNC_METHOD_LATEST,
48 GST_SYNC_METHOD_NEXT_KEYFRAME,
49 GST_SYNC_METHOD_LATEST_KEYFRAME,
50 GST_SYNC_METHOD_BURST,
51 GST_SYNC_METHOD_BURST_KEYFRAME,
52 GST_SYNC_METHOD_BURST_WITH_KEYFRAME
53 };
54
55 namespace Gst
56 {
57
58 _WRAP_ENUM(State, GstState)
59
60 // Plug-in non-genereated enums. Handled manually and not generated because
61 // they are shared by more than one plug-in:
62 _WRAP_ENUM(AutoplugSelectResult, GstAutoplugSelectResult)
63
64 _WRAP_ENUM(MultiHandleSinkClientStatus, GstMultiHandleSinkClientStatus)
65
66 _WRAP_ENUM(MultiHandleSinkSyncMethod, GstMultiHandleSinkSyncMethod)
67
68 _WRAP_ENUM(PlayFlags, GstPlayFlags)
69
70 } //namespace Gst