mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
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.
This commit is contained in:
parent
45e06fe704
commit
ae2f05ffa3
3 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue