projects
/
platform
/
upstream
/
gst-libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
669a0e3
)
ffdec: correctly check for NONE timestamp
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 10 Sep 2009 12:11:18 +0000
(14:11 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 10 Sep 2009 12:11:18 +0000
(14:11 +0200)
ext/ffmpeg/gstffmpegdec.c
patch
|
blob
|
history
diff --git
a/ext/ffmpeg/gstffmpegdec.c
b/ext/ffmpeg/gstffmpegdec.c
index
f8345f0
..
b946a55
100644
(file)
--- a/
ext/ffmpeg/gstffmpegdec.c
+++ b/
ext/ffmpeg/gstffmpegdec.c
@@
-1821,7
+1821,7
@@
gst_ffmpegdec_video_frame (GstFFMpegDec * ffmpegdec,
*/
if (out_offset != GST_BUFFER_OFFSET_NONE) {
/* out_offset already contains the offset from opaque_find() call */
- } else if (out_timestamp
>= 0
) {
+ } else if (out_timestamp
!= GST_CLOCK_TIME_NONE
) {
GstFormat out_fmt = GST_FORMAT_DEFAULT;
GST_LOG_OBJECT (ffmpegdec, "Using offset converted from timestamp");
gst_pad_query_peer_convert (ffmpegdec->sinkpad,