mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +00:00
Merge commit '98b37fea' into staged
This commit is contained in:
commit
cbf62a4dbe
|
@ -240,7 +240,7 @@ bool DecoderContext::openCodec( QString & errorString )
|
|||
return false;
|
||||
}
|
||||
|
||||
av_log( NULL, AV_LOG_INFO, "Codec open: %s: channels: %d, rate: %d, format: %s\n", codec_->long_name,
|
||||
gdDebug( "Codec open: %s: channels: %d, rate: %d, format: %s\n", codec_->long_name,
|
||||
codecContext_->channels, codecContext_->sample_rate, av_get_sample_fmt_name( codecContext_->sample_fmt ) );
|
||||
|
||||
if ( codecContext_->sample_fmt == AV_SAMPLE_FMT_S32 ||
|
||||
|
@ -341,7 +341,7 @@ bool DecoderContext::openOutputDevice( QString & errorString )
|
|||
return false;
|
||||
}
|
||||
|
||||
av_log( NULL, AV_LOG_INFO, "ao_open_live(): %s: channels: %d, rate: %d, bits: %d\n",
|
||||
gdDebug( "ao_open_live(): %s: channels: %d, rate: %d, bits: %d\n",
|
||||
aoDrvInfo->name, aoSampleFormat.channels, aoSampleFormat.rate, aoSampleFormat.bits );
|
||||
|
||||
aoDevice_ = ao_open_live( aoDriverId, &aoSampleFormat, NULL );
|
||||
|
|
Loading…
Reference in a new issue