Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gr-video-sdl / src / video_sdl_sink_uc.cc
index 2d25399a89a329f580a29e157d8661bc30fdf4e3..58e4830e4a5403f363038678a68d3ce53e0b011d 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_uc::~video_sdl_sink_uc ()
 video_sdl_sink_uc_sptr
 video_sdl_make_sink_uc (double framerate,int width, int height,unsigned int format,int dst_width,int dst_height)
 {
-  return video_sdl_sink_uc_sptr (new video_sdl_sink_uc (framerate, width, height,format,dst_width,dst_height));
+  return gnuradio::get_initial_sptr(new video_sdl_sink_uc (framerate, width, height,format,dst_width,dst_height));
 }
 
 void