projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5686512
)
theorapay: add delta-unit to output frames
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Sun, 31 Mar 2013 17:14:04 +0000
(19:14 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Sun, 31 Mar 2013 17:14:04 +0000
(19:14 +0200)
gst/rtp/gstrtptheoradepay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtptheoradepay.c
b/gst/rtp/gstrtptheoradepay.c
index
f25a678
..
8fa348a
100644
(file)
--- a/
gst/rtp/gstrtptheoradepay.c
+++ b/
gst/rtp/gstrtptheoradepay.c
@@
-549,8
+549,11
@@
gst_rtp_theora_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
gst_buffer_fill (outbuf, 0, payload, length);
}
- if (payload_len > 0 && (payload[0] & 0xC0) == 0x0)
+ if (payload_len > 0 && (payload[0] & 0xC0) == 0x0)
{
rtptheoradepay->needs_keyframe = FALSE;
+ } else {
+ GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_DELTA_UNIT);
+ }
payload += length;
payload_len -= length;