From: Wim Taymans Date: Tue, 16 Aug 2011 15:32:20 +0000 (+0200) Subject: gdp: rename buffer PREROLL -> LIVE flag X-Git-Tag: 1.19.3~511^2~7020^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9cd50cad386f576592c40a564d1949077c6d9306;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c index e924ea5..3b2e182 100644 --- a/gst/gdp/dataprotocol.c +++ b/gst/gdp/dataprotocol.c @@ -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;