X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gr-video-sdl%2Fsrc%2Fvideo_sdl_sink_s.cc;fp=gr-video-sdl%2Fsrc%2Fvideo_sdl_sink_s.cc;h=2be3ff07226478fa569f3dc89133750ed5d9eac0;hb=2924c0e740bbb9106bfed602345daaee5606d62a;hp=825cd80cb079b9e22d5e4d39dc63d00f42721c28;hpb=94d315e556805fb75784964499472977664809c4;p=debian%2Fgnuradio diff --git a/gr-video-sdl/src/video_sdl_sink_s.cc b/gr-video-sdl/src/video_sdl_sink_s.cc index 825cd80c..2be3ff07 100644 --- a/gr-video-sdl/src/video_sdl_sink_s.cc +++ b/gr-video-sdl/src/video_sdl_sink_s.cc @@ -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