From: Wim Taymans Date: Mon, 7 Mar 2005 18:27:42 +0000 (+0000) Subject: gdp: First THREADED backport attempt, focusing on adding locks and making sure the... X-Git-Tag: 1.19.3~511^2~7020^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d29a498d864d62d5880596f0ed6399e35869e711;p=platform%2Fupstream%2Fgstreamer.git gdp: First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor... Original commit message from CVS: First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. More docs follow this week. --- diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c index 645d757..b271883 100644 --- a/gst/gdp/dataprotocol.c +++ b/gst/gdp/dataprotocol.c @@ -188,7 +188,7 @@ gst_dp_header_from_buffer (const GstBuffer * buffer, GstDPHeaderFlag flags, /* data flags */ /* we only copy KEY_UNIT,DELTA_UNIT and IN_CAPS flags */ - flags_mask = GST_DATA_FLAG_SHIFT (GST_BUFFER_KEY_UNIT) | + flags_mask = GST_DATA_FLAG_SHIFT (GST_BUFFER_PREROLL) | GST_DATA_FLAG_SHIFT (GST_BUFFER_IN_CAPS) | GST_DATA_FLAG_SHIFT (GST_BUFFER_DELTA_UNIT);