 Chromium Code Reviews
 Chromium Code Reviews Issue 
            125027:
    Fixing bug that 8bit PCM stream is gabbled...  (Closed)
    
  
    Issue 
            125027:
    Fixing bug that 8bit PCM stream is gabbled...  (Closed) 
  | DescriptionFixing bug that 8bit PCM stream is gabbled
The CodecContext passed into FFmpegAudioDecoder by
the FFmpegDemuxer says the output samples are 16bits.
So we tell the audio renderer to create a 16bits
audio output stream. But after the decoder is allocated
by avcodec_find_codec, the sample bits information in
|codec_context_| is changed to 8bit! So we are feeding
16bits output stream with 8bits data.
The decoder should knows more about the actual output
format. So query the sample bits information after
the decoder is allocated.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18406
   Patch Set 1 #
      Total comments: 1
      
     Patch Set 2 : '' #Messages
    Total messages: 3 (0 generated)
     |