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
This commit is contained in:
Edward Hervey 2008-07-17 16:42:53 +00:00
parent adf2c0a4a4
commit 4511fdb05d
2 changed files with 8 additions and 2 deletions

View file

@ -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::

View 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));