aboutsummaryrefslogtreecommitdiffstats
path: root/tools/decode_simple.h
diff options
context:
space:
mode:
authorDiederick Niehorster <dcnieho@gmail.com>2021-12-21 14:53:29 +0100
committerGyan Doshi <ffmpeg@gyani.pro>2021-12-24 14:06:21 +0530
commit271e55987faf41c850dc2c2e719ffb1e097242d9 (patch)
treeec5ee344119ede86a8e2ca0fec3e0becca47aaaa /tools/decode_simple.h
parent584b0fbe4b6ae4c6a5fadefda0c59889c7238cc7 (diff)
downloadffmpeg-271e55987faf41c850dc2c2e719ffb1e097242d9.tar.gz
avdevice/dshow: handle unknown sample time
GetTime may return an error indication that the sample has not timestamps, or may return a NULL start time. In those cases, fall back to graph time. Emit log when that happens. Improve logging in the frame receive function: now logged against correct avclass instead of NULL. Better debug message in case sample dropped: could now be audio or video frame. Signed-off-by: Diederick Niehorster <dcnieho@gmail.com> Reviewed-by: Roger Pack <rogerdpack2@gmail.com>
Diffstat (limited to 'tools/decode_simple.h')
0 files changed, 0 insertions, 0 deletions