6 Commits

Author SHA1 Message Date
lummax
71d23d0f92 examples/transcode-audio: fix on input with multiple streams
On input files with muliple streams the best audio streams gets transcoded. If
this stream happens to have an `index > 0` the transcoding crashes as no
associated output stream is available.

This commit fixes this by using the first (and only) output stream.
2015-09-12 14:18:09 +02:00
lummax
b06ebec3b6 examples/transcode-audio: use ChannelLayoutIter.best() 2015-09-11 18:27:50 +02:00
lummax
402657cbfb examples/transcode-audio: dump filter graph as text 2015-09-09 20:25:34 +02:00
lummax
d920fcce7d examples/transcode-audio: fix compilation error 2015-09-09 19:38:45 +02:00
meh
7f130a7448 examples/transcode-audio: update pts setting API usage 2015-09-09 16:48:10 +02:00
meh
bc5ef9cdcf examples/transcode-audio: add audio transcoding example 2015-09-09 14:31:26 +02:00