Skip to content

Instantly share code, notes, and snippets.

View shiretu's full-sized avatar

Gavriloaie Eugen-Andrei shiretu

View GitHub Profile
$ gdb -p 24706
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
$ make && time ./video_decode H264 -f 1 -o /srv/media/bla.nv12 --disable-rendering /tmp/a.h264
make: Nothing to be done for 'all'.
Set governor to performance before enabling profiler
Failed to query video capabilities: Inappropriate ioctl for device
NvMMLiteOpen : Block : BlockType = 261
TVMR: NvMMLiteTVMRDecBlockOpen: 7647: NvMMLiteBlockOpen
NvMMLiteBlockCreate : Block : BlockType = 261
Starting decoder capture loop thread
Input file read complete
diff --git a/samples/00_video_decode/video_decode_main.cpp b/samples/00_video_decode/video_decode_main.cpp
index 96fb05d..5ed0c53 100644
--- a/samples/00_video_decode/video_decode_main.cpp
+++ b/samples/00_video_decode/video_decode_main.cpp
@@ -1314,6 +1314,9 @@ main(int argc, char *argv[])
}
// Signal EOS to the decoder capture loop
+ fprintf(stderr,"**** Delay the EOS setting for 5 seconds\n");
+ sleep(5);