mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
event: make GstSegment argument const
This commit is contained in:
parent
fff13f6f64
commit
7f6495d713
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue