mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
* [PACKAGE] downgrade FFMPEG(add) & X264 - use ffmpeg-3.1 thus downgrade ver. to working SDL1.2 - downgrade x264 to be inline with former ffmpeg - uncomment FFSERVER build instructions (it is available in 3.1 version) * [BOARD] - add `ffplay` & `ffmpeg` apps to record&play - add `arecord` script for AUDIO capture (use alsaloop workaround) - update appLinks with "params=&" for bg launch - use `pkill` instead 'killall` for scripts (warning: it also checks for bash running under the same name) - use FFPROBE to detect media format in `ffplay` - for X264 use sources.buildroot.net (code.videolan.org src only works with git method) - rm redundant usb Applink - add 0003-ffplay-custom-sdlk.patch (to make hotkeys usable in miyoo)
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
diff --git a/ffplay.c b/ffplay.c
|
|
index f28e0877..b08d7598 100644
|
|
--- a/ffplay.c
|
|
+++ b/root/ffplay.c
|
|
@@ -3367,25 +3367,31 @@ static void event_loop(VideoState *cur_stream)
|
|
do_exit(cur_stream);
|
|
break;
|
|
case SDLK_f:
|
|
+ case SDLK_LSHIFT:
|
|
toggle_full_screen(cur_stream);
|
|
cur_stream->force_refresh = 1;
|
|
break;
|
|
case SDLK_p:
|
|
case SDLK_SPACE:
|
|
+ case SDLK_RETURN:
|
|
toggle_pause(cur_stream);
|
|
break;
|
|
case SDLK_m:
|
|
+ case SDLK_LCTRL:
|
|
toggle_mute(cur_stream);
|
|
break;
|
|
case SDLK_KP_MULTIPLY:
|
|
case SDLK_0:
|
|
+ case SDLK_RSHIFT:
|
|
update_volume(cur_stream, 1, SDL_VOLUME_STEP);
|
|
break;
|
|
case SDLK_KP_DIVIDE:
|
|
case SDLK_9:
|
|
+ case SDLK_RALT:
|
|
update_volume(cur_stream, -1, SDL_VOLUME_STEP);
|
|
break;
|
|
case SDLK_s: // S: Step to next frame
|
|
+ case SDLK_LALT:
|
|
step_to_next_frame(cur_stream);
|
|
break;
|
|
case SDLK_a:
|