gstsegment: Initialize with proper type

This commit is contained in:
Edward Hervey 2011-12-04 11:32:57 +01:00
parent ad0a465f93
commit bf19148acb

View file

@ -175,7 +175,7 @@ gst_segment_init (GstSegment * segment, GstFormat format)
{
g_return_if_fail (segment != NULL);
segment->flags = GST_SEEK_FLAG_NONE;
segment->flags = GST_SEGMENT_FLAG_NONE;
segment->rate = 1.0;
segment->applied_rate = 1.0;
segment->format = format;