gdp: rename buffer PREROLL -> LIVE flag

Rename the GST_BUFFER_FLAG_PREROLL to GST_BUFFER_FLAG_LIVE and give the new flag
a meaning. The old PREROLL flag never had a clear meaning.
This commit is contained in:
Wim Taymans 2011-08-16 17:32:20 +02:00 committed by Tim-Philipp Müller
parent 615063ba5e
commit 3bd55502a1

View file

@ -155,7 +155,7 @@ gst_dp_header_from_buffer_any (const GstBuffer * buffer, GstDPHeaderFlag flags,
/* data flags; eats two bytes from the ABI area */ /* data flags; eats two bytes from the ABI area */
/* we copy everything but the read-only flags */ /* we copy everything but the read-only flags */
flags_mask = GST_BUFFER_FLAG_PREROLL | GST_BUFFER_FLAG_DISCONT | flags_mask = GST_BUFFER_FLAG_LIVE | GST_BUFFER_FLAG_DISCONT |
GST_BUFFER_FLAG_IN_CAPS | GST_BUFFER_FLAG_GAP | GST_BUFFER_FLAG_IN_CAPS | GST_BUFFER_FLAG_GAP |
GST_BUFFER_FLAG_DELTA_UNIT; GST_BUFFER_FLAG_DELTA_UNIT;