pull/3122/head
Isaac Connor 2021-01-27 12:49:37 -05:00
parent d741f4ba04
commit 6df865cd08
2 changed files with 10 additions and 10 deletions

View File

@ -2259,7 +2259,7 @@ int LocalCamera::PostCapture() {
}
AVStream *LocalCamera::get_VideoStream() {
if ( ! video_stream ) {
if ( !video_stream ) {
oc = avformat_alloc_context();
Debug(1, "Allocating avstream");
video_stream = avformat_new_stream(oc, nullptr);

View File

@ -142,25 +142,25 @@ public:
void Initialise();
void Terminate();
const std::string &Device() const { return( device ); }
const std::string &Device() const { return device; }
int Channel() const { return( channel ); }
int Standard() const { return( standard ); }
int Palette() const { return( palette ); }
int Extras() const { return( extras ); }
int Channel() const { return channel; }
int Standard() const { return standard; }
int Palette() const { return palette; }
int Extras() const { return extras; }
int Brightness( int p_brightness=-1 ) override;
int Hue( int p_hue=-1 ) override;
int Colour( int p_colour=-1 ) override;
int Contrast( int p_contrast=-1 ) override;
int PrimeCapture()override ;
int PreCapture()override ;
int PrimeCapture() override;
int PreCapture() override;
int Capture(ZMPacket &p) override;
int PostCapture()override ;
int PostCapture() override;
int Close() override { return 0; };
static bool GetCurrentSettings( const char *device, char *output, int version, bool verbose );
static bool GetCurrentSettings(const char *device, char *output, int version, bool verbose);
AVStream* get_VideoStream();
};