Commit 7f6495d7 authored by Wim Taymans's avatar Wim Taymans

event: make GstSegment argument const

parent fff13f6f
......@@ -648,7 +648,7 @@ gst_event_parse_caps (GstEvent * event, GstCaps ** caps)
* Returns: (transfer full): the new SEGMENT event.
GstEvent *
gst_event_new_segment (GstSegment * segment)
gst_event_new_segment (const GstSegment * segment)
GstEvent *event;
......@@ -451,7 +451,7 @@ GstEvent * gst_event_new_caps (GstCaps *caps);
void gst_event_parse_caps (GstEvent *event, GstCaps **caps);
/* segment event */
GstEvent* gst_event_new_segment (GstSegment *segment);
GstEvent* gst_event_new_segment (const GstSegment *segment);
void gst_event_parse_segment (GstEvent *event, const GstSegment **segment);
void gst_event_copy_segment (GstEvent *event, GstSegment *segment);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment