Skip to content

Commit

Permalink
added debug logger output of ENCODER value
Browse files Browse the repository at this point in the history
  • Loading branch information
yajrendrag committed Apr 7, 2024
1 parent 6ea5b13 commit 487083a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions source/encoder_audio_libfdk_aac/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

**<span style="color:#56adda">0.0.5</span>**
- add debug logger output for ENCODER value

**<span style="color:#56adda">0.0.4</span>**
- fix test stream functiojn to test tags for ENCODER value containing 'libfdk_aac'

Expand Down
2 changes: 1 addition & 1 deletion source/encoder_audio_libfdk_aac/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"on_worker_process": 0
},
"tags": "audio,encoder,ffmpeg,library file test",
"version": "0.0.4"
"version": "0.0.5"
}
2 changes: 2 additions & 0 deletions source/encoder_audio_libfdk_aac/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ def calculate_bitrate(stream_info: dict):

def test_stream_needs_processing(self, stream_info: dict):
# Ignore streams already of the required codec_name
if ('tags' in stream_info and 'ENCODER' in stream_info.get('tags') and self.encoder in stream_info.get('tags')['ENCODER']):
logger.debug("codec name: '{}', ENCODER: '{}'".format(stream_info.get('codec_name'), stream_info.get('tags')['ENCODER']))
if stream_info.get('codec_name').lower() in [self.codec] and
('tags' in stream_info and 'ENCODER' in stream_info.get('tags') and
self.encoder in stream_info.get('tags')['ENCODER']):
Expand Down

0 comments on commit 487083a

Please sign in to comment.