Commit 612b176c authored by Yong Tang's avatar Yong Tang
Browse files

Add stream selection support for `tf.contrib.ffmpeg.decode_audio`



This fix tries to address the issue raised in 16073 where it
was not possible to selectively decode a perticular stream
with `tf.contrib.ffmpeg.decode_audio`.
This fix adds an additional attribute `stream` which could
be used to specify the stream to decode. By default stream=''
which leaves the decision to ffmpeg.

This fix fixes 16073.

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