15 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
meh
ffb193ac68 examples/metadata: update to new format API 2015-09-04 16:32:39 +02:00
lummax
9b612fc90f format: rename open* function to open_input* 2015-09-02 14:51:56 +02:00
lummax
ac5d8cfbe8 examples/metadata: adapt example to new decoder state transitions 2015-08-29 21:10:25 +02:00
meh
8ed092c0c3 codec: use Option<_> in the getter API 2015-08-29 16:15:57 +02:00
meh
b39d8df4ee examples/codec-info: fix field names 2015-08-28 21:28:57 +02:00
meh
a85bd6d6c8 examples/codec-info: print capabilities and profiles 2015-08-28 21:25:36 +02:00
lummax
5fff2ab123 examples/codec-info: add example 2015-08-28 20:37:36 +02:00
meh
13c9f8e5ab examples/metadata: cleanup and find best streams 2015-08-28 16:33:19 +02:00
lummax
d1fa9bd864 examples/metadata: add a metadata fetching example 2015-08-24 14:04:55 +02:00