mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
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:
parent
adf2c0a4a4
commit
4511fdb05d
2 changed files with 8 additions and 2 deletions
|
@ -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>
|
2008-07-17 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||||
|
|
||||||
* configure.ac::
|
* configure.ac::
|
||||||
|
|
|
@ -475,10 +475,10 @@ static GstFlowReturn
|
||||||
gst_osx_video_sink_show_frame (GstBaseSink * bsink, GstBuffer * buf)
|
gst_osx_video_sink_show_frame (GstBaseSink * bsink, GstBuffer * buf)
|
||||||
{
|
{
|
||||||
GstOSXVideoSink *osxvideosink;
|
GstOSXVideoSink *osxvideosink;
|
||||||
|
char *viewdata;
|
||||||
|
|
||||||
osxvideosink = GST_OSX_VIDEO_SINK (bsink);
|
osxvideosink = GST_OSX_VIDEO_SINK (bsink);
|
||||||
|
viewdata = [osxvideosink->osxwindow->gstview getTextureBuffer];
|
||||||
char *viewdata =[osxvideosink->osxwindow->gstview getTextureBuffer];
|
|
||||||
|
|
||||||
GST_DEBUG ("show_frame");
|
GST_DEBUG ("show_frame");
|
||||||
memcpy (viewdata, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf));
|
memcpy (viewdata, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf));
|
||||||
|
|
Loading…
Reference in a new issue