gdp: rename buffer PREROLL -> LIVE flag
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 16 Aug 2011 15:32:20 +0000 (17:32 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 25 Dec 2011 22:49:59 +0000 (22:49 +0000)
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.

gst/gdp/dataprotocol.c

index e924ea5..3b2e182 100644 (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 */
   /* 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_DELTA_UNIT;