Skip to content

Commit

Permalink
Ignore VIDEO-RANGE quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricioabreu committed Aug 5, 2024
1 parent 4acf27d commit 91c3982
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions m3u8/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ def _parse_stream_inf(line, data, state, **kwargs):
attribute_parser["bandwidth"] = lambda x: int(float(x))
attribute_parser["average_bandwidth"] = int
attribute_parser["frame_rate"] = float
attribute_parser["video_range"] = str
attribute_parser["hdcp_level"] = str
state["stream_info"] = _parse_attribute_list(
protocol.ext_x_stream_inf, line, attribute_parser
Expand All @@ -369,7 +368,6 @@ def _parse_i_frame_stream_inf(line, data, **kwargs):
attribute_parser["program_id"] = int
attribute_parser["bandwidth"] = int
attribute_parser["average_bandwidth"] = int
attribute_parser["video_range"] = str
attribute_parser["hdcp_level"] = str
iframe_stream_info = _parse_attribute_list(
protocol.ext_x_i_frame_stream_inf, line, attribute_parser
Expand Down

0 comments on commit 91c3982

Please sign in to comment.