GST_DEBUG reorganization containing loads of stuff:
[platform/upstream/gstreamer.git] / gst / elements / gstfilesink.h
index 76ffb81..99e38eb 100644 (file)
 #ifndef __GST_FILESINK_H__
 #define __GST_FILESINK_H__
 
-
-#include <config.h>
 #include <gst/gst.h>
 
 G_BEGIN_DECLS
 
-GstElementDetails gst_filesink_details;
-
+extern GstElementDetails gst_filesink_details;
+GST_DEBUG_CATEGORY_EXTERN(gst_filesink_debug);
 
 #define GST_TYPE_FILESINK \
   (gst_filesink_get_type())
@@ -50,7 +48,7 @@ typedef struct _GstFileSinkClass GstFileSinkClass;
 typedef enum {
   GST_FILESINK_OPEN             = GST_ELEMENT_FLAG_LAST,
 
-  GST_FILESINK_FLAG_LAST       = GST_ELEMENT_FLAG_LAST + 2,
+  GST_FILESINK_FLAG_LAST       = GST_ELEMENT_FLAG_LAST + 2
 } GstFileSinkFlags;
 
 struct _GstFileSink {
@@ -59,17 +57,14 @@ struct _GstFileSink {
   gchar *filename;
   FILE *file;
 
-  gint filenum;
-
   guint64 data_written;
-  gint maxfilesize;
 };
 
 struct _GstFileSinkClass {
   GstElementClass parent_class;
 
   /* signals */
-  void (*handoff) (GstElement *element,GstPad *pad);
+  void (*handoff) (GstElement *element, GstPad *pad);
 };
 
 GType gst_filesink_get_type(void);