gstsegment: Initialize with proper type
authorEdward Hervey <bilboed@bilboed.com>
Sun, 4 Dec 2011 10:32:57 +0000 (11:32 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Sun, 4 Dec 2011 10:32:57 +0000 (11:32 +0100)
gst/gstsegment.c

index 8a72c00..84e217a 100644 (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;