Fixed potential image loading issue of FeedMedia
This commit is contained in:
parent
acfc26a142
commit
6672f0106e
|
@ -418,7 +418,11 @@ public class FeedMedia extends FeedFile implements Playable {
|
|||
@Override
|
||||
public InputStream reopenImageInputStream(InputStream input) {
|
||||
if (input instanceof FileInputStream) {
|
||||
return item.getImage().reopenImageInputStream(input);
|
||||
if (item.hasItemImageDownloaded()) {
|
||||
return item.getImage().reopenImageInputStream(input);
|
||||
} else {
|
||||
return item.getFeed().getImage().reopenImageInputStream(input);
|
||||
}
|
||||
} else {
|
||||
return new Playable.DefaultPlayableImageLoader(this)
|
||||
.reopenImageInputStream(input);
|
||||
|
|
Loading…
Reference in New Issue