- Timestamp:
- 03/21/12 18:36:20 (15 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp
r12811 r13041 73 73 m_frequency = m_context->sample_rate; 74 74 m_nb_channels = m_context->channels; 75 switch (m_context->sample_fmt) 75 switch (m_context->sample_fmt) 76 76 { 77 77 case AV_SAMPLE_FMT_NONE: … … 232 232 { 233 233 const bool skip_audio = ! validContext() || ! m_audio_sink.valid(); 234 234 235 235 if (! skip_audio && ! m_audio_sink->playing()) 236 236 { … … 340 340 // If we have some data, return it and come back for more later. 341 341 if (data_size > 0) 342 return data_size; 342 return data_size; 343 343 } 344 344
