From 4511fdb05d81e988329597fbf94b6723bdf3b480 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 17 Jul 2008 16:42:53 +0000 Subject: sys/osxvideo/osxvideosink.m: Fix minor build issues on macosx. Original commit message from CVS: * sys/osxvideo/osxvideosink.m: Fix minor build issues on macosx. Fixes #543054 --- sys/osxvideo/osxvideosink.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/osxvideo') diff --git a/sys/osxvideo/osxvideosink.m b/sys/osxvideo/osxvideosink.m index f14cbcab..57908f31 100644 --- a/sys/osxvideo/osxvideosink.m +++ b/sys/osxvideo/osxvideosink.m @@ -475,10 +475,10 @@ static GstFlowReturn gst_osx_video_sink_show_frame (GstBaseSink * bsink, GstBuffer * buf) { GstOSXVideoSink *osxvideosink; + char *viewdata; osxvideosink = GST_OSX_VIDEO_SINK (bsink); - - char *viewdata =[osxvideosink->osxwindow->gstview getTextureBuffer]; + viewdata = [osxvideosink->osxwindow->gstview getTextureBuffer]; GST_DEBUG ("show_frame"); memcpy (viewdata, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf)); -- cgit