mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
ffdec: correctly check for NONE timestamp
This commit is contained in:
parent
669a0e359a
commit
b85d889582
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue