Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Jan 2, 2025
1 parent 185135e commit 9f2ec91
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion machinery/src/capture/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ func HandleRecordStream(queue *packets.Queue, configDirectory string, configurat

ttime := convertPTS(pkt.TimeLegacy)
if pkt.IsVideo {
if err := myMuxer.Write(videoTrack, pkt.Data, ttime, dts); err != nil {
if err := myMuxer.Write(videoTrack, pkt.Data, ttime, ttime); err != nil {
log.Log.Error("capture.main.HandleRecordStream(continuous): " + err.Error())
}
Expand Down

0 comments on commit 9f2ec91

Please sign in to comment.