Skip to content
Snippets Groups Projects
Commit 06973007 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Handle negative sizes

parent 6303ffdb
No related branches found
No related tags found
No related merge requests found
......@@ -232,7 +232,7 @@ public class MediaInfoFragment extends ListFragment {
return;
int videoHeight = mItem.getHeight();
int videoWidth = mItem.getWidth();
if (videoWidth == 0 || videoHeight == 0) {
if (videoWidth <= 0 || videoHeight <= 0) {
//FIXME : find a better way to display media info without video size
videoWidth = 16;
videoHeight = 9;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment