Make extracted ffmpeg executable#361
Make extracted ffmpeg executable#361jrb0001 wants to merge 2 commits intoitdelatrisu:masterfrom jrb0001:master
Conversation
|
Can you explain / can anyone else confirm? No one has reported this to be an issue and the feature has been out for a long time now. |
|
Opsu failed to play background videos and the log showed stacktraces caused by the ffmpeg file not being executable. |
|
Confirmed. I probably haven't noticed because I build using the system FFmpeg and turn videos off. However, this patch isn't enough to fix the problem. The patch only covers the case when you're running the JAR and natives get extracted into the Natives directory, but not when running using gradle and there's already a |
|
Is this solved by changing |
|
@itdelatrisu Yes, it appears so. I'm not so sure about stuffing it in that function as it would result in too many concerns, but I guess it's fine as long as you're okay with the side effect. |
|
Committed in cd1cdf8, thanks! |
This also makes
./gradlewexecutable for easier building on linux.