diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-19 04:50:37 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-16 19:47:11 +0400 |
commit | 773ff823dac3da733c251b4cb1cc95b3b7e03001 (patch) | |
tree | d54ec0c380eaa614584eed1a6f3ab19b69797aab /tests | |
parent | 9546f331c6723d046f302da15acaa0ed52c03866 (diff) |
bethsoftvid: add audio stream only after getting the first audio packet
This avoids initializing a stream with dummy values or when the file does not
contain audio.
Also set duration for audio packets, using the sample rate as the time base.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions