RDK Documentation (Open Sourced RDK Components)
GstMSESrc.h
1 /*
2  * If not stated otherwise in this file or this component's Licenses.txt file the
3  * following copyright and licenses apply:
4  *
5  * Copyright 2017 RDK Management
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 
20 #ifndef GstMSESrc_h
21 #define GstMSESrc_h
22 
23 #include <gst/gst.h>
24 
25 G_BEGIN_DECLS
26 
27 #define GST_MSE_TYPE_SRC (gst_mse_src_get_type ())
28 #define GST_MSE_SRC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_MSE_TYPE_SRC, GstMSESrc))
29 #define GST_MSE_SRC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_MSE_TYPE_SRC, GstMSESrcClass))
30 #define GST_IS_MSE_SRC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_MSE_TYPE_SRC))
31 #define GST_IS_MSE_SRC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_MSE_TYPE_SRC))
32 
33 typedef struct _GstMSESrc GstMSESrc;
34 typedef struct _GstMSESrcClass GstMSESrcClass;
35 typedef struct _GstMSESrcPrivate GstMSESrcPrivate;
36 
37 struct _GstMSESrc {
38  GstBin parent;
39 
40  GstMSESrcPrivate *priv;
41 };
42 
44  GstBinClass parentClass;
45 };
46 
47 GType gst_mse_src_get_type(void);
48 
49 void gst_mse_src_register_player(GstElement*, GstElement*);
50 void gst_mse_src_unregister_player(GstElement*, GstElement*);
51 void gst_mse_src_configuration_done(GstElement*);
52 gboolean gst_mse_src_configured(GstElement*);
53 G_END_DECLS
54 
55 #endif
_GstMSESrcClass
Definition: GstMSESrc.h:43
_GstMSESrcPrivate
Definition: GstMSESrc.cpp:26
_GstMSESrc
Definition: GstMSESrc.h:37