Skip to content

Commit

Permalink
Change buffered bytes log
Browse files Browse the repository at this point in the history
  • Loading branch information
dmorn committed Sep 25, 2024
1 parent 1816c30 commit 0ff7f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mpeg/ts/demuxer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ defmodule MPEG.TS.Demuxer do
%{ts | discontinuity: discontinuity}
end)

if bytes_to_buffer != <<>>, do: Logger.warning("Not all buffers have been processed")
if bytes_to_buffer != <<>>, do: Logger.debug("buffered: #{byte_size(bytes_to_buffer)} bytes")
state = push_packets(%__MODULE__{state | buffered_bytes: <<>>}, ok)
%__MODULE__{state | buffered_bytes: bytes_to_buffer}
end
Expand Down

0 comments on commit 0ff7f1a

Please sign in to comment.