mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
nvdec: Respect upstream provided timestamp
Decoder sometimes reports nonincreasing timestamp. Use input frame's timestamp like other decoder elements.
This commit is contained in:
parent
e68bfd7566
commit
f7f9f327cd
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue