event: make GstSegment argument const

This commit is contained in:
Wim Taymans 2011-10-29 09:43:04 +02:00
parent fff13f6f64
commit 7f6495d713
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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);