summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2008-07-17 16:42:53 +0000
committerEdward Hervey <bilboed@bilboed.com>2008-07-17 16:42:53 +0000
commit4511fdb05d81e988329597fbf94b6723bdf3b480 (patch)
treeaaa8ca54d100da91904e1fbc41b2cf204914f0e4
parentadf2c0a4a4f0d3bccb42cd3bbce2ae26cbc4e985 (diff)
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
-rw-r--r--ChangeLog6
-rw-r--r--sys/osxvideo/osxvideosink.m4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4051f999..4d97863e 100644
--- 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::
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));