Skip to content

Commit

Permalink
source_mediainfo: Remove atrack check
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Dec 4, 2022
1 parent a7e52cb commit b902aa9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lvsfunc/comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,12 +848,10 @@ def source_mediainfo(filepath: str, print_mediainfo: bool = False,
mi = MediaInfo.parse(filepath)
gtrack = mi.general_tracks[0].to_data()
vtrack = mi.video_tracks[stream_idx].to_data()
atrack = mi.audio_tracks[stream_idx].to_data()

if print_mediainfo:
pprint(gtrack, sort_dicts=False, width=120, compact=True)
pprint(vtrack, sort_dicts=False, width=120, compact=True)
pprint(atrack, sort_dicts=False, width=120, compact=True)

stream_size = vtrack.get("other_stream_size")

Expand Down

0 comments on commit b902aa9

Please sign in to comment.