diff options
author | Thijs Vermeir <thijsvermeir@gmail.com> | 2012-07-17 17:44:33 +0200 |
---|---|---|
committer | Thijs Vermeir <thijsvermeir@gmail.com> | 2012-07-17 17:46:47 +0200 |
commit | 91e6767c5984b3ec3f3ff938a813eb5c1ca8a8b7 (patch) | |
tree | 1c3d9639c017ff75791af768731fd704d29a6a26 | |
parent | cce71223d7b2f8227301f0724a18fc647f0cfd06 (diff) |
dataprotocol: also copy the MEDIA flags
-rw-r--r-- | libs/gst/dataprotocol/dataprotocol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gst/dataprotocol/dataprotocol.c b/libs/gst/dataprotocol/dataprotocol.c index b57d377d6..993642596 100644 --- a/libs/gst/dataprotocol/dataprotocol.c +++ b/libs/gst/dataprotocol/dataprotocol.c @@ -153,7 +153,8 @@ gst_dp_header_from_buffer_any (const GstBuffer * buffer, GstDPHeaderFlag flags, /* we copy everything but the read-only flags */ flags_mask = GST_BUFFER_FLAG_PREROLL | GST_BUFFER_FLAG_DISCONT | GST_BUFFER_FLAG_IN_CAPS | GST_BUFFER_FLAG_GAP | - GST_BUFFER_FLAG_DELTA_UNIT; + GST_BUFFER_FLAG_DELTA_UNIT | GST_BUFFER_FLAG_MEDIA1 | + GST_BUFFER_FLAG_MEDIA2 | GST_BUFFER_FLAG_MEDIA3 | GST_BUFFER_FLAG_MEDIA4; GST_WRITE_UINT16_BE (h + 42, GST_BUFFER_FLAGS (buffer) & flags_mask); |