Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gr-video-sdl / src / video_sdl_sink_s.cc
index 825cd80cb079b9e22d5e4d39dc63d00f42721c28..2be3ff07226478fa569f3dc89133750ed5d9eac0 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2006 Free Software Foundation, Inc.
+ * Copyright 2006,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
@@ -118,7 +118,7 @@ video_sdl_sink_s::~video_sdl_sink_s ()
 video_sdl_sink_s_sptr
 video_sdl_make_sink_s (double framerate,int width, int height,unsigned int format,int dst_width,int dst_height)
 {
-  return video_sdl_sink_s_sptr (new video_sdl_sink_s (framerate, width, height,format,dst_width,dst_height));
+  return gnuradio::get_initial_sptr(new video_sdl_sink_s (framerate, width, height,format,dst_width,dst_height));
 }
 
 void