projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6235216
)
gdp: fix for #150242
author
Thomas Vander Stichele
<thomas@apestaart.org>
Mon, 16 Aug 2004 10:35:36 +0000
(10:35 +0000)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Sun, 25 Dec 2011 22:49:57 +0000
(22:49 +0000)
Original commit message from CVS:
fix for #150242
gst/gdp/dataprotocol.c
patch
|
blob
|
history
diff --git
a/gst/gdp/dataprotocol.c
b/gst/gdp/dataprotocol.c
index a1aa067dcd269a5a552863912fc9beeaee8fe662..8df6fc080d5acaf37936b16aa97e7d915c693324 100644
(file)
--- 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);