Commit ae2f05ff authored by Michael Smith's avatar Michael Smith
Browse files

ext/theora/theoraparse.c: Mark DELTA_UNIT on non-keyframes.

Original commit message from CVS:
* ext/theora/theoraparse.c: (theora_parse_drain_queue_prematurely),
(theora_parse_drain_queue):
Mark DELTA_UNIT on non-keyframes.
parent 45e06fe7
2006-06-06 Michael Smith <msmith@fluendo.com>
* ext/theora/theoraparse.c: (theora_parse_drain_queue_prematurely),
(theora_parse_drain_queue):
Mark DELTA_UNIT on non-keyframes.
2006-06-03 Jan Schmidt <thaytan@mad.scientist.com>
 
* gst-libs/gst/audio/gstbaseaudiosink.c:
......
common @ 4282dfa8
Subproject commit 80b4e2c08717159760ebaa40715f8919b3f77ba9
Subproject commit 4282dfa89d50e80f59d4e1837af95fbf74e75d18
......@@ -319,6 +319,8 @@ theora_parse_drain_queue_prematurely (GstTheoraParse * parse)
if (is_keyframe (buf))
/* we have a keyframe */
parse->prev_keyframe = parse->prev_frame;
else
GST_BUFFER_FLAGS (buf) |= GST_BUFFER_FLAG_DELTA_UNIT;
if (parse->prev_keyframe < 0) {
if (GST_BUFFER_OFFSET_END_IS_VALID (buf)) {
......@@ -367,6 +369,8 @@ theora_parse_drain_queue (GstTheoraParse * parse, gint64 granulepos)
if (is_keyframe (buf))
/* we have a keyframe */
parse->prev_keyframe = parse->prev_frame;
else
GST_BUFFER_FLAGS (buf) |= GST_BUFFER_FLAG_DELTA_UNIT;
ret = theora_parse_push_buffer (parse, buf, parse->prev_keyframe,
parse->prev_frame);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment