Debian Codegraph @

gstreamer/src/filesink.hg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 #include <gstreamermm/basesink.h>
5 #include <gstreamermm/urihandler.h>
6 _DEFS(gstreamermm,gst)
7
8 _CONFIGINCLUDE(gstreamermmconfig.h)
9 _IS_DEPRECATED
10
11 namespace Gst
12 {
13
14 _WRAP_ENUM(FileSinkBufferMode,GstFileSinkBufferMode)
15 _CONV_ENUM(Gst,FileSinkBufferMode)
16
17 /** A Wrapper for the filesink plugin.
18 * Please note that not all plug-ins are available on all systems so care
19 * must be taken that they exist before they are used otherwise there will
20 * be errors and possibly a crash.
21 *
22 * @ingroup GstPlugins
23 * @deprecated Plugins API is deprecated, and should not be used in a new code.
24 */
25 class FileSink
26 : public Gst::BaseSink, public Gst::URIHandler
27 {
28 _CLASS_GOBJECT(FileSink, GstFileSink, GST_FILE_SINK_GSTREAMERMM, Gst::BaseSink, GstBaseSink)
29 _IMPLEMENTS_INTERFACE(Gst::URIHandler)
30
31 _IS_GSTREAMERMM_PLUGIN
32 protected:
33 FileSink();
34 explicit FileSink(const Glib::ustring& name);
35
36 public:
37 /** Creates a new filesink plugin with a unique name.
38 */
39 _WRAP_CREATE()
40
41 /** Creates a new filesink plugin with the given name.
42 */
43 _WRAP_CREATE(const Glib::ustring& name)
44
45 _WRAP_PROPERTY("location", Glib::ustring)
46 _WRAP_PROPERTY("buffer-mode", Gst::FileSinkBufferMode)
47 _WRAP_PROPERTY("buffer-size", guint)
48 _WRAP_PROPERTY("append", bool)
49 };
50
51 } // namespace Gst