Commit 8f6382f
committed
Do not stub out info for invalid files
Originally it was not known if parsing a media file
would generally succeed, and as a hedge some sane defaults
were given to the user if something went wrong.
It seems that parsing media files works well. If an
invalid file is provided, the video playback will fail
(which is expected), but encoding options are still provided.
In this case, the sane defaults are actually more confusing.
Removing them, as they are not really needed.1 parent 3e6888e commit 8f6382f
File tree
2 files changed
+35
-13
lines changed- app/src/main
- java/protect/videotranscoder/activity
- res/values
2 files changed
+35
-13
lines changedLines changed: 34 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
1035 | 1057 | | |
1036 | 1058 | | |
1037 | 1059 | | |
| |||
1371 | 1393 | | |
1372 | 1394 | | |
1373 | 1395 | | |
1374 | | - | |
1375 | | - | |
1376 | 1396 | | |
1377 | 1397 | | |
1378 | 1398 | | |
1379 | 1399 | | |
1380 | 1400 | | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
1387 | | - | |
1388 | | - | |
1389 | | - | |
1390 | 1401 | | |
1391 | | - | |
1392 | 1402 | | |
1393 | | - | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
1394 | 1415 | | |
1395 | 1416 | | |
1396 | 1417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments