projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f865729
)
theoradec: Always inform base class when dropping frames
author
Jan Schmidt
<thaytan@noraisin.net>
Tue, 12 Jun 2012 17:17:27 +0000
(
03:17
+1000)
committer
Jan Schmidt
<thaytan@noraisin.net>
Tue, 12 Jun 2012 17:17:27 +0000
(
03:17
+1000)
Partially fixes backwards playback. Informing the base class
of the dropped frame lets it manage the timestamping and events
better.
ext/theora/gsttheoradec.c
patch
|
blob
|
history
diff --git
a/ext/theora/gsttheoradec.c
b/ext/theora/gsttheoradec.c
index
317d05a
..
4ea7803
100644
(file)
--- a/
ext/theora/gsttheoradec.c
+++ b/
ext/theora/gsttheoradec.c
@@
-819,6
+819,7
@@
theora_dec_handle_frame (GstVideoDecoder * bdec, GstVideoCodecFrame * frame)
res = gst_video_decoder_finish_frame (bdec, frame);
break;
case GST_CUSTOM_FLOW_DROP:
+ case GST_VIDEO_DECODER_FLOW_NEED_DATA:
res = gst_video_decoder_drop_frame (bdec, frame);
break;
default: