ext/theora/theoradec.c: Sync to keyframe after seek

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_from_granulepos),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_chain):
Sync to keyframe after seek
This commit is contained in:
Wim Taymans 2004-07-09 14:08:43 +00:00
parent 1f6c30d675
commit 684281176c
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-07-09 Wim Taymans <wim@fluendo.com>
* ext/theora/theoradec.c: (theora_dec_from_granulepos),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_chain):
Sync to keyframe after seek
2004-07-09 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
* ext/alsa/gstalsa.c: (gst_alsa_change_state):

View file

@ -255,6 +255,8 @@ theora_dec_src_event (GstPad * pad, GstEvent * event)
GST_FORMAT_DEFAULT,
value);
/* sync to keyframe */
dec->need_keyframe = TRUE;
res = gst_pad_send_event (GST_PAD_PEER (dec->sinkpad), real_seek);
}
gst_event_unref (event);