diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-03-25 02:41:08 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-03-25 02:41:08 +0000 |
commit | c9a5ffcee70f421c94ec1df80e3cb54c4f7b1e4e (patch) | |
tree | 0c4c66209674efff6a80cee745f36d1a378d882f /libmpdemux/muxer_lavf.c | |
parent | 93b2bacee5fba5ae0f09b5a654e0593bc9eb8e1d (diff) | |
download | mpv-c9a5ffcee70f421c94ec1df80e3cb54c4f7b1e4e.tar.bz2 mpv-c9a5ffcee70f421c94ec1df80e3cb54c4f7b1e4e.tar.xz |
1000l (dwSampleSize != nSamplesPerSec)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15006 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/muxer_lavf.c')
-rw-r--r-- | libmpdemux/muxer_lavf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/muxer_lavf.c b/libmpdemux/muxer_lavf.c index 4fc708e57f..39452bdc11 100644 --- a/libmpdemux/muxer_lavf.c +++ b/libmpdemux/muxer_lavf.c @@ -158,7 +158,8 @@ static void fix_parameters(muxer_stream_t *stream, void *sh) ctx->codec_tag = codec_get_wav_tag(ctx->codec_id); mp_msg(MSGT_MUXER, MSGL_INFO, "AUDIO CODEC ID: %x, TAG: %x\n", ctx->codec_id, (uint32_t) ctx->codec_tag); ctx->bit_rate = stream->wf->nAvgBytesPerSec * 8; - ctx->sample_rate = stream->h.dwSampleSize; + ctx->sample_rate = stream->wf->nSamplesPerSec; +// mp_msg(MSGT_MUXER, MSGL_INFO, "stream->h.dwSampleSize: %d\n", stream->h.dwSampleSize); ctx->channels = stream->wf->nChannels; ctx->frame_size = 576; ctx->block_align = stream->wf->nBlockAlign; |