Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / videodevice.C
index 78214adacacf00fc6b8cf1aedd793861bfd3fe41..339d3ac780622c8fd86f0e3271507a3edaff58e7 100644 (file)
@@ -2,6 +2,7 @@
 /*
  * CINELERRA
  * Copyright (C) 2008-2013 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -721,6 +722,8 @@ void VideoDevice::new_output_buffer(VFrame **output, int colormodel, EDL *edl)
 {
        if(!output_base) return;
        output_base->new_output_buffer(output, colormodel, edl);
+       int clr_color = edl->session->cwindow_clear_color;
+       (*output)->set_clear_color(clr_color, 0xff);
 }