From e8ef3dac6e4ae6428dcf4a590d5f536a7a66162c Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 16 Aug 2004 10:35:36 +0000 Subject: [PATCH] gdp: fix for #150242 Original commit message from CVS: fix for #150242 --- gst/gdp/dataprotocol.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c index a1aa067dcd..8df6fc080d 100644 --- a/gst/gdp/dataprotocol.c +++ b/gst/gdp/dataprotocol.c @@ -186,9 +186,10 @@ gst_dp_header_from_buffer (const GstBuffer * buffer, GstDPHeaderFlag flags, GST_WRITE_UINT64_BE (h + 32, GST_BUFFER_OFFSET_END (buffer)); /* data flags */ - /* we only copy KEY_UNIT and IN_CAPS flags */ + /* we only copy KEY_UNIT,DELTA_UNIT and IN_CAPS flags */ flags_mask = GST_DATA_FLAG_SHIFT (GST_BUFFER_KEY_UNIT) | - GST_DATA_FLAG_SHIFT (GST_BUFFER_IN_CAPS); + GST_DATA_FLAG_SHIFT (GST_BUFFER_IN_CAPS) | + GST_DATA_FLAG_SHIFT (GST_BUFFER_DELTA_UNIT); GST_WRITE_UINT16_BE (h + 40, GST_BUFFER_FLAGS (buffer) & flags_mask);