rtpmanager: Update codes based on 1.18.4
[platform/upstream/gst-plugins-good.git] / gst / rtpmanager / gstrtpmux.h
index c7e39bc..65343da 100644 (file)
@@ -19,8 +19,8 @@
  *
  * You should have received a copy of the GNU Library General Public
  * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
  */
 
 #ifndef __GST_RTP_MUX_H__
@@ -42,10 +42,8 @@ typedef struct _GstRTPMuxClass GstRTPMuxClass;
 
 typedef struct
 {
-  gboolean have_clock_base;
-  guint clock_base;
-
-  GstCaps *out_caps;
+  gboolean have_timestamp_offset;
+  guint timestamp_offset;
 
   GstSegment segment;
 
@@ -53,8 +51,7 @@ typedef struct
 } GstRTPMuxPadPrivate;
 
 
-/**
- * GstRTPMux:
+/* GstRTPMux:
  *
  * The opaque #GstRTPMux structure.
  */
@@ -73,10 +70,12 @@ struct _GstRTPMux
   guint16 seqnum;               /* protected by object lock */
   guint ssrc;
   guint current_ssrc;
+  gboolean have_ssrc;
 
-  gboolean segment_pending;
+  GstPad *last_pad; /* protected by object lock */
 
   GstClockTime last_stop;
+  gboolean send_stream_start;
 };
 
 struct _GstRTPMuxClass