filesink: Flush buffers before directly writing out buffers with the SYNC_AFTER flag
[platform/upstream/gstreamer.git] / plugins / elements / gstidentity.h
index 5d613b2..e902732 100644 (file)
@@ -55,6 +55,7 @@ struct _GstIdentity {
 
   /*< private >*/
   GstClockID     clock_id;
+  gboolean       flushing;
   gint                  error_after;
   gfloat        drop_probability;
   gint          datarate;
@@ -65,6 +66,7 @@ struct _GstIdentity {
   gboolean      check_imperfect_timestamp;
   gboolean      check_imperfect_offset;
   gboolean      single_segment;
+  GstBufferFlags drop_buffer_flags;
   GstClockTime   prev_timestamp;
   GstClockTime   prev_duration;
   guint64        prev_offset;
@@ -72,6 +74,11 @@ struct _GstIdentity {
   gchar        *last_message;
   guint64        offset;
   gboolean       signal_handoffs;
+  GstClockTime   upstream_latency;
+  GCond          blocked_cond;
+  gboolean       blocked;
+  GstClockTimeDiff  ts_offset;
+  gboolean       drop_allocation;
 };
 
 struct _GstIdentityClass {