forked from len0rd/rockbox
The saving flag wasn't correctly handled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2883 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
063c6d471f
commit
4432d3730d
1 changed files with 2 additions and 0 deletions
|
|
@ -1734,6 +1734,7 @@ static void mpeg_thread(void)
|
||||||
time to stop for real */
|
time to stop for real */
|
||||||
if(stop_pending)
|
if(stop_pending)
|
||||||
queue_post(&mpeg_queue, MPEG_STOP_DONE, 0);
|
queue_post(&mpeg_queue, MPEG_STOP_DONE, 0);
|
||||||
|
saving = false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
@ -1980,6 +1981,7 @@ void mpeg_record(char *filename)
|
||||||
static void start_recording(void)
|
static void start_recording(void)
|
||||||
{
|
{
|
||||||
stop_pending = false;
|
stop_pending = false;
|
||||||
|
saving = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long mpeg_num_recorded_frames(void)
|
unsigned long mpeg_num_recorded_frames(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue