flacenc: add TOC support
[platform/upstream/gstreamer.git] / ext / flac / gstflacenc.h
index a9f3818..690b098 100644 (file)
@@ -47,28 +47,24 @@ struct _GstFlacEnc {
                              * fails for some reason */
 
   guint64        offset;
-  gint           channels;
-  gint           width;
-  gint           depth;
-  gint           sample_rate;
   gint           quality;
   gboolean       stopped;
   guint           padding;
   gint            seekpoints;
 
-#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT < 8
-  FLAC__SeekableStreamEncoder *encoder;
-#else
   FLAC__StreamEncoder *encoder;
-#endif
+
   FLAC__StreamMetadata **meta;
 
   GstTagList *     tags;
+  GstToc *         toc;
 
   gboolean         eos;
   /* queue headers until we have them all so we can add streamheaders to caps */
   gboolean         got_headers;
   GList           *headers;
+
+  gint             channel_reorder_map[8];
 };
 
 struct _GstFlacEncClass {