mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a crash when pressing the '2' button while replaying a DVD
This commit is contained in:
parent
576ba802fe
commit
7e6c2d47e0
1
HISTORY
1
HISTORY
@ -839,3 +839,4 @@ Video Disk Recorder Revision History
|
|||||||
and Setup.ShowReplayMode is enabled.
|
and Setup.ShowReplayMode is enabled.
|
||||||
- New SVDRP commands LSTR and DELR to list and delete recordings (thanks to
|
- New SVDRP commands LSTR and DELR to list and delete recordings (thanks to
|
||||||
Thomas Heiligenmann).
|
Thomas Heiligenmann).
|
||||||
|
- Fixed a crash when pressing the '2' button while replaying a DVD.
|
||||||
|
18
menu.c
18
menu.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: menu.c 1.132 2001/10/27 10:20:04 kls Exp $
|
* $Id: menu.c 1.133 2001/10/27 12:03:19 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -2666,15 +2666,17 @@ void cReplayControl::MarkMove(bool Forward)
|
|||||||
|
|
||||||
void cReplayControl::EditCut(void)
|
void cReplayControl::EditCut(void)
|
||||||
{
|
{
|
||||||
Hide();
|
if (fileName) {
|
||||||
if (!cVideoCutter::Active()) {
|
Hide();
|
||||||
if (!cVideoCutter::Start(fileName))
|
if (!cVideoCutter::Active()) {
|
||||||
Interface->Error(tr("Can't start editing process!"));
|
if (!cVideoCutter::Start(fileName))
|
||||||
|
Interface->Error(tr("Can't start editing process!"));
|
||||||
|
else
|
||||||
|
Interface->Info(tr("Editing process started"));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
Interface->Info(tr("Editing process started"));
|
Interface->Error(tr("Editing process already active!"));
|
||||||
}
|
}
|
||||||
else
|
|
||||||
Interface->Error(tr("Editing process already active!"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void cReplayControl::EditTest(void)
|
void cReplayControl::EditTest(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user