ffprobe: don't use AVStream.codec to set decoder framerate
authorJames Almer <jamrial@gmail.com>
Tue, 27 Sep 2016 01:56:52 +0000 (22:56 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 28 Sep 2016 00:21:42 +0000 (21:21 -0300)
commit92de2c23a61e5a8d8ced28b4697cae395f35e46c
tree9da09094e68f3d221ad66010e635a8d311eaa44a
parent29b6c2be291eaa604a409daf7fd8cc4fb8a762cb
ffprobe: don't use AVStream.codec to set decoder framerate

Also don't set time_base. It's deprecated for decoding and avcodec_open2()
will overwrite it

Reviewed-by: Josh de Kock <josh@itanimul.li>
Signed-off-by: James Almer <jamrial@gmail.com>
ffprobe.c