Opened 16 years ago

Closed 16 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


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@… 16 years ago.
Patch against 0.18.1+fixes

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by kenny@…

Attachment: selectedTrack.patch added

Patch against 0.18.1+fixes

comment:1 Changed 16 years ago by kenny@…

Version: 0.18.1

comment:2 Changed 16 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 16 years ago by anonymous

Resolution: fixed
Status: newclosed

Fixed in HEAD.

Note: See TracTickets for help on using tickets.