X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_audio_stream.h;h=aae982f9e81ff6ecaff40f62b384dc893cf067dc;hb=refs%2Fheads%2F2404-assertion;hp=a5ed90c972e46f0a6297ff31eb17810bd8026fa3;hpb=8963f0007af1a312017b9627c18b82ec2a577591;p=dcpomatic.git diff --git a/src/lib/ffmpeg_audio_stream.h b/src/lib/ffmpeg_audio_stream.h index a5ed90c97..aae982f9e 100644 --- a/src/lib/ffmpeg_audio_stream.h +++ b/src/lib/ffmpeg_audio_stream.h @@ -30,20 +30,20 @@ struct ffmpeg_pts_offset_test; class FFmpegAudioStream : public FFmpegStream, public AudioStream { public: - FFmpegAudioStream (std::string name, int id, int frame_rate, Frame length, int channels) + FFmpegAudioStream(std::string name, int id, int frame_rate, Frame length, int channels, int bit_depth) : FFmpegStream (name, id) - , AudioStream (frame_rate, length, channels) + , AudioStream(frame_rate, length, channels, bit_depth) {} - FFmpegAudioStream (std::string name, std::string codec_name_, int id, int frame_rate, Frame length, int channels) + FFmpegAudioStream(std::string name, std::string codec_name_, int id, int frame_rate, Frame length, int channels, int bit_depth) : FFmpegStream (name, id) - , AudioStream (frame_rate, length, channels) + , AudioStream(frame_rate, length, channels, bit_depth) , codec_name (codec_name_) {} - FFmpegAudioStream (std::string name, int id, int frame_rate, Frame length, AudioMapping mapping) + FFmpegAudioStream(std::string name, int id, int frame_rate, Frame length, AudioMapping mapping, int bit_depth) : FFmpegStream (name, id) - , AudioStream (frame_rate, length, mapping) + , AudioStream(frame_rate, length, mapping, bit_depth) {} FFmpegAudioStream (cxml::ConstNodePtr, int); @@ -61,7 +61,7 @@ private: /* Constructor for tests */ FFmpegAudioStream () : FFmpegStream ("", 0) - , AudioStream (0, 0, 0) + , AudioStream(0, 0, 0, 0) {} };