segment: make sure we don't have unmapped seek flags littering out segment flags
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 4 Jul 2012 15:16:04 +0000 (16:16 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 4 Jul 2012 15:16:04 +0000 (16:16 +0100)
commit49ea16e041ef41e7a85f9c9810a2a28bc3929be9
tree3246693b933da7b90311b688c7dcaf6adc229059
parent5c702768942c349c31c1ae61f3baf48f09b6f6a8
segment: make sure we don't have unmapped seek flags littering out segment flags

Make GstSeekFlag to GstSegmentFlag conversion explicit, and
set only those seek flags in the segment flags which are
mapped. This makes sure we don't have extraneous flags
littering our segment flag field, which also fixes the
debug printing/serialisation of segment events in the
debug log.
docs/design/part-segments.txt
gst/gstsegment.c
gst/gstsegment.h