summaryrefslogtreecommitdiffstats
path: root/gst/switch/gstswitch.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/switch/gstswitch.h')
-rw-r--r--gst/switch/gstswitch.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/switch/gstswitch.h b/gst/switch/gstswitch.h
index b546ba29..6f1e4eab 100644
--- a/gst/switch/gstswitch.h
+++ b/gst/switch/gstswitch.h
@@ -43,7 +43,8 @@ struct _GstSwitch {
GstPad *active_sinkpad;
GstPad *srcpad;
-
+ GstPad *previous_sinkpad;
+
guint nb_sinkpads;
/* this hash table stores for key of the pad pointer
* the last new segment event received for this pad
@@ -53,6 +54,9 @@ struct _GstSwitch {
/* flag to decide whether we need to send a new segment event
* before we receive the next buffer */
gboolean need_to_send_newsegment;
+ GstClockTime stop_value;
+ GstClockTime current_start;
+ GstClockTime last_ts;
};
struct _GstSwitchClass {