2 Copyright 2004-2019 Chris Tallon
4 This file is part of VOMP.
6 VOMP is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 VOMP is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with VOMP. If not, see <https://www.gnu.org/licenses/>.
26 #include "messagequeue.h"
30 #include "osdreceiver.h"
43 //#include "vepg.h" // for testing EPG in NTSC with a NTSC test video
45 class VVideoRec : public Boxx, public MessageReceiver, public TimerReceiver, public OSDReceiver
48 VVideoRec(Recording* rec, bool ish264);
51 int handleCommand(int command);
54 void timercall(int clientReference);
55 void processMessage(Message* m);
57 void drawOSDBitmap(u4 posX, u4 posY, const Bitmap&, const DisplayRegion& region);
59 void clearOSDArea(u4 posX, u4 posY, u4 width, u4 height, const DisplayRegion& region);
68 PlayerVideoRec* player;
76 void toggleChopSides();
85 void doAudioSelector();
86 void doBar(int action);