Opened 14 years ago

Closed 14 years ago

#764 closed defect (fixed)

autoSelectAudioTrack never exits with mono audio and AC3 passthrough

Reported by: kenny@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: 0.18.1
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If AC3 passthrough is turned on and the selected stream only has mono audio, libmythtv starts taking up all of the CPU as it goes throught the while loop near avformatdecoder.cpp:1255

I fixed this by adding another condition to the if statement near avformatdecoder.cpp:1255

if ((selectedTrack > maxTracks)
(selectedTrack == -1))

Attachments (1)

selectedTrack.patch (406 bytes) - added by kenny@… 14 years ago.
Patch against 0.18.1+fixes

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by kenny@…

Attachment: selectedTrack.patch added

Patch against 0.18.1+fixes

comment:1 Changed 14 years ago by kenny@…

Version: 0.18.1

comment:2 Changed 14 years ago by martin@…

This was already fixed in head by r6691. I don't think 18.1 is still being maintained with 0.19 not so far away, so maybe this should be closed.

comment:3 Changed 14 years ago by anonymous

Resolution: fixed
Status: newclosed

Fixed in HEAD.

Note: See TracTickets for help on using tickets.