diff options
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r-- | apps/recorder/recording.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 8eea24d82d..a80a0df2fc 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -745,6 +745,8 @@ static void trigger_listener(int trigger_status) | |||
745 | } | 745 | } |
746 | } | 746 | } |
747 | 747 | ||
748 | bool recording_start_automatic = false; | ||
749 | |||
748 | bool recording_screen(bool no_source) | 750 | bool recording_screen(bool no_source) |
749 | { | 751 | { |
750 | long button; | 752 | long button; |
@@ -935,6 +937,14 @@ bool recording_screen(bool no_source) | |||
935 | last_audio_stat = audio_stat; | 937 | last_audio_stat = audio_stat; |
936 | } | 938 | } |
937 | 939 | ||
940 | |||
941 | if (recording_start_automatic) | ||
942 | { | ||
943 | /* simulate a button press */ | ||
944 | button = ACTION_REC_PAUSE; | ||
945 | recording_start_automatic = false; | ||
946 | } | ||
947 | |||
938 | switch(button) | 948 | switch(button) |
939 | { | 949 | { |
940 | #ifdef HAVE_REMOTE_LCD | 950 | #ifdef HAVE_REMOTE_LCD |