gdp: First THREADED backport attempt, focusing on adding locks and making sure the...
authorWim Taymans <wim.taymans@gmail.com>
Mon, 7 Mar 2005 18:27:42 +0000 (18:27 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 11 Sep 2012 00:54:37 +0000 (01:54 +0100)
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.

gst/gdp/dataprotocol.c

index 645d757..b271883 100644 (file)
@@ -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);