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:
f885829
)
theoradec: Drop ignored headers
author
Olivier Crête
<olivier.crete@collabora.com>
Tue, 7 Aug 2012 20:58:21 +0000
(13:58 -0700)
committer
Olivier Crête
<olivier.crete@collabora.com>
Tue, 7 Aug 2012 20:58:58 +0000
(13:58 -0700)
Instead of finishing an empty frame, call drop_frame as we're
ignoring the header frame.
ext/theora/gsttheoradec.c
patch
|
blob
|
history
diff --git
a/ext/theora/gsttheoradec.c
b/ext/theora/gsttheoradec.c
index
f7906df
..
a5468a6
100644
(file)
--- a/
ext/theora/gsttheoradec.c
+++ b/
ext/theora/gsttheoradec.c
@@
-789,6
+789,7
@@
theora_dec_decode_buffer (GstTheoraDec * dec, GstBuffer * buf,
if (packet.bytes && packet.packet[0] & 0x80) {
if (dec->have_header) {
GST_WARNING_OBJECT (GST_OBJECT (dec), "Ignoring header");
+ result = GST_CUSTOM_FLOW_DROP;
goto done;
}
result = theora_handle_header_packet (dec, &packet);