diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-09-10 14:11:18 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-09-10 14:11:18 +0200 |
commit | b85d889582ecf633d9a0decef50df9872ba73e54 (patch) | |
tree | 6bee6754ebd0547c4713706fcbd3110fd973f5e1 | |
parent | 669a0e359a294e5efc6187f4c723eadcc25ea2c3 (diff) |
ffdec: correctly check for NONE timestamp
-rw-r--r-- | ext/ffmpeg/gstffmpegdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index f8345f0..b946a55 100644 --- 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, |