Skip to content

Commit

Permalink
flv: Suppress warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
iizukanao committed Mar 16, 2016
1 parent 5cd7aa1 commit 7c0a4c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flv.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ api =
if info.codecID is 7
info.avcPacketType = bits.read_byte()
info.compositionTime = bits.read_bits 24
if (info.avcPacketType isnt 1) and (info.compositionTime isnt 0)
# TODO: Handle this situation
logger.error "flv:readVideoDataTag(): AVCPacketType isn't 1 but CompositionTime isn't 0 (feature not implemented); AVCPacketType=#{info.avcPacketType} CompositionTime=#{info.compositionTime}"
# if (info.avcPacketType isnt 1) and (info.compositionTime isnt 0)
# # TODO: Does this situation require special handling?
# logger.error "flv:readVideoDataTag(): AVCPacketType isn't 1 but CompositionTime isn't 0 (feature not implemented); AVCPacketType=#{info.avcPacketType} CompositionTime=#{info.compositionTime}"
return info

# E.4.2.1 AUDIODATA
Expand Down

0 comments on commit 7c0a4c2

Please sign in to comment.