13
0

vtl: fix --strict compiler warnings

This commit is contained in:
Robin Gareus 2013-03-13 22:59:28 +01:00
parent 0c3e840700
commit 51937314b9
4 changed files with 6 additions and 6 deletions

View File

@ -167,7 +167,7 @@ OpenVideoMonitorDialog::on_show ()
Dialog::on_show ();
}
const int
int
OpenVideoMonitorDialog::xj_settings_mask ()
{
int rv =0;

View File

@ -47,7 +47,7 @@ class OpenVideoMonitorDialog : public ArdourDialog
~OpenVideoMonitorDialog ();
bool show_again () { return showagain_checkbox.get_active(); }
const int xj_settings_mask ();
int xj_settings_mask ();
void setup_settings_mask (const int);
void set_filename (const std::string);
#if 1

View File

@ -475,13 +475,13 @@ TranscodeFfmpeg::ffexit ()
}
void
TranscodeFfmpeg::ffprobeparse (std::string d, size_t s)
TranscodeFfmpeg::ffprobeparse (std::string d, size_t /* s */)
{
ffoutput+=d;
}
void
TranscodeFfmpeg::ffmpegparse_a (std::string d, size_t s)
TranscodeFfmpeg::ffmpegparse_a (std::string d, size_t /* s */)
{
const char *t;
if (!(t=strstr(d.c_str(), "time="))) { return; }
@ -491,7 +491,7 @@ TranscodeFfmpeg::ffmpegparse_a (std::string d, size_t s)
}
void
TranscodeFfmpeg::ffmpegparse_v (std::string d, size_t s)
TranscodeFfmpeg::ffmpegparse_v (std::string d, size_t /* s */)
{
if (strstr(d.c_str(), "ERROR") || strstr(d.c_str(), "Error") || strstr(d.c_str(), "error")) {
PBD::warning << "ffmpeg-error: " << d << endmsg;

View File

@ -66,7 +66,7 @@ class VideoMonitor : public sigc::trackable , public ARDOUR::SessionHandlePtr, p
bool set_custom_setting (const std::string, const std::string);
const std::string get_custom_setting (const std::string);
void restore_settings_mask (int i) { _restore_settings_mask = i;}
const int restore_settings_mask () { return _restore_settings_mask;}
int restore_settings_mask () const { return _restore_settings_mask;}
void set_offset (ARDOUR::frameoffset_t);
void manual_seek (ARDOUR::framepos_t, bool, ARDOUR::frameoffset_t);