Commit 6e56e195 authored by Yong Tang's avatar Yong Tang
Browse files

Fix crash in `tf.contrib.ffmpeg.decode_video`



This fix fixes the crash in `tf.contrib.ffmpeg.decode_video`.
The reason for the crash was that, `decode_video` dumps
the information about streaming etc. (as opposed to dump
to stderr) info a file and read from it. As the loglevel
was `error` the file was empty.

This fix addresses the issue.

The fix could be verifed by manually running
```
bazel test -s --config=opt --cache_test_results=no //tensorflow/contrib/ffmpeg:decode_video_op_test
```

With this fix, the above test works.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent ac8e6739
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment