projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e68bfd7
)
nvdec: Respect upstream provided timestamp
author
Seungha Yang
<seungha.yang@navercorp.com>
Tue, 30 Jul 2019 14:49:09 +0000
(23:49 +0900)
committer
Sebastian Dröge
<slomo@coaxion.net>
Mon, 5 Aug 2019 20:32:39 +0000
(20:32 +0000)
Decoder sometimes reports nonincreasing timestamp.
Use input frame's timestamp like other decoder elements.
sys/nvcodec/gstnvdec.c
patch
|
blob
|
history
diff --git
a/sys/nvcodec/gstnvdec.c
b/sys/nvcodec/gstnvdec.c
index
907c322
..
fc8d639
100644
(file)
--- 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;
}
}