diff --git a/gnomecast.py b/gnomecast.py index 3bbd7f2..55dc0ec 100644 --- a/gnomecast.py +++ b/gnomecast.py @@ -271,7 +271,7 @@ def __init__(self, cast, fmd, video_stream, audio_stream, done_callback, error_c print('Transcoder', fn) transcode_container = fmd.container not in ('mp4', 'aac', 'mp3', 'wav') self.transcode_video = force_video or not self.can_play_video_codec(video_stream.codec) - self.transcode_audio = force_audio or fmd.container not in AUDIO_EXTS or not self.can_play_audio_stream(self.audio_stream) + self.transcode_audio = force_audio or fmd.container not in AUDIO_EXTS and not self.can_play_audio_stream(self.audio_stream) self.transcode = transcode_container or self.transcode_video or self.transcode_audio self.trans_fn = None