selTrack cannot be less then zero at the point of this patch. So the conditional is
From: Erik Hovland <erik@hovland.org>
not helpful
---
libs/libmythtv/decoderbase.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libs/libmythtv/decoderbase.cpp b/libs/libmythtv/decoderbase.cpp
index 9b3c78f..c067013 100644
a
|
b
|
int DecoderBase::AutoSelectTrack(uint type)
|
934 | 934 | } |
935 | 935 | |
936 | 936 | int oldTrack = currentTrack[type]; |
937 | | currentTrack[type] = (selTrack < 0) ? -1 : selTrack; |
| 937 | currentTrack[type] = selTrack; |
938 | 938 | StreamInfo tmp = tracks[type][currentTrack[type]]; |
939 | 939 | selectedTrack[type] = tmp; |
940 | 940 | |