projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e459cf3
)
jpegdec: mark all parsed frames as sync points
author
Thiago Santos
<ts.santos@sisa.samsung.com>
Thu, 27 Feb 2014 21:55:04 +0000
(18:55 -0300)
committer
Thiago Santos
<ts.santos@sisa.samsung.com>
Thu, 27 Feb 2014 22:08:15 +0000
(19:08 -0300)
all jpeg frames are sync points, so mark them as such so
reverse playback can properly work with the video decoder
base class
https://bugzilla.gnome.org/show_bug.cgi?id=725104
ext/jpeg/gstjpegdec.c
patch
|
blob
|
history
diff --git
a/ext/jpeg/gstjpegdec.c
b/ext/jpeg/gstjpegdec.c
index
89b8460
..
b05043a
100644
(file)
--- a/
ext/jpeg/gstjpegdec.c
+++ b/
ext/jpeg/gstjpegdec.c
@@
-456,6
+456,7
@@
need_more_data:
have_full_frame:
if (toadd)
gst_video_decoder_add_to_frame (bdec, toadd);
+ GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (frame);
return gst_video_decoder_have_frame (bdec);
drop_frame: