sys/osxvideo/osxvideosink.m: Fix minor build issues on macosx.
authorEdward Hervey <bilboed@bilboed.com>
Thu, 17 Jul 2008 16:42:53 +0000 (16:42 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 17 Jul 2008 16:42:53 +0000 (16:42 +0000)
Original commit message from CVS:
* sys/osxvideo/osxvideosink.m:
Fix minor build issues on macosx.
Fixes #543054

ChangeLog
sys/osxvideo/osxvideosink.m

index 4051f99..4d97863 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-07-17  Edward Hervey  <edward.hervey@collabora.co.uk>
+
+       * sys/osxvideo/osxvideosink.m:
+       Fix minor build issues on macosx.
+       Fixes #543054
+
 2008-07-17  Tim-Philipp Müller  <tim.muller at collabora co uk>
 
        * configure.ac::
index f14cbca..57908f3 100644 (file)
@@ -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));