nvdec: Respect upstream provided timestamp

Decoder sometimes reports nonincreasing timestamp.
Use input frame's timestamp like other decoder elements.
This commit is contained in:
Seungha Yang 2019-07-30 23:49:09 +09:00 committed by Sebastian Dröge
parent e68bfd7566
commit f7f9f327cd

View file

@ -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;
}
}