summaryrefslogtreecommitdiff
path: root/gr-video-sdl
diff options
context:
space:
mode:
authorEric Blossom2010-08-03 13:36:18 -0700
committerEric Blossom2010-08-03 13:43:42 -0700
commit0a9b999b5cce596f4de05828005f698047e14ce9 (patch)
tree3d77eabfdc798322a13cceb9253da152470bdbd9 /gr-video-sdl
parentfa56c39802a82e6e0e730813a57e86e1aea09a24 (diff)
downloadgnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.tar.gz
gnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.tar.bz2
gnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.zip
Modify all block factories to use gnuradio::get_initial_sptr.
Diffstat (limited to 'gr-video-sdl')
-rw-r--r--gr-video-sdl/src/video_sdl_sink_s.cc4
-rw-r--r--gr-video-sdl/src/video_sdl_sink_uc.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-video-sdl/src/video_sdl_sink_s.cc b/gr-video-sdl/src/video_sdl_sink_s.cc
index 825cd80cb..2be3ff072 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
diff --git a/gr-video-sdl/src/video_sdl_sink_uc.cc b/gr-video-sdl/src/video_sdl_sink_uc.cc
index 2d25399a8..58e4830e4 100644
--- a/gr-video-sdl/src/video_sdl_sink_uc.cc
+++ b/gr-video-sdl/src/video_sdl_sink_uc.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_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