From: Seungha Yang Date: Tue, 30 Jul 2019 14:49:09 +0000 (+0900) Subject: nvdec: Respect upstream provided timestamp X-Git-Tag: 1.19.3~507^2~3029 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f7f9f327cd74c4bee77728d9191acb98507315b2;p=platform%2Fupstream%2Fgstreamer.git nvdec: Respect upstream provided timestamp Decoder sometimes reports nonincreasing timestamp. Use input frame's timestamp like other decoder elements. --- diff --git a/sys/nvcodec/gstnvdec.c b/sys/nvcodec/gstnvdec.c index 907c322..fc8d639 100644 --- a/sys/nvcodec/gstnvdec.c +++ b/sys/nvcodec/gstnvdec.c @@ -536,7 +536,6 @@ parser_display_callback (GstNvDec * nvdec, CUVIDPARSERDISPINFO * dispinfo) GST_INFO_OBJECT (nvdec, "timestamp mismatch, diff: %" GST_STIME_FORMAT, GST_STIME_ARGS (GST_CLOCK_DIFF (dispinfo->timestamp, frame->pts))); - frame->pts = dispinfo->timestamp; } }