diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sys/osxvideo/osxvideosink.m | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,11 @@ 2007-03-16 Edward Hervey <edward@fluendo.com> * sys/osxvideo/osxvideosink.m: + Fix previous commit, we want to pass the NSView in the message. + +2007-03-16 Edward Hervey <edward@fluendo.com> + + * sys/osxvideo/osxvideosink.m: Emit 'have-ns-view' message when working in embedded mode. The message will contain a pointer to the newly created NSView. diff --git a/sys/osxvideo/osxvideosink.m b/sys/osxvideo/osxvideosink.m index faac2fb1..057ead3c 100644 --- a/sys/osxvideo/osxvideosink.m +++ b/sys/osxvideo/osxvideosink.m @@ -269,7 +269,7 @@ gst_osx_video_sink_osxwindow_new (GstOSXVideoSink * osxvideosink, gint width, [osxwindow->gstview autorelease]; s = gst_structure_new ("have-ns-view", - "nsview", G_TYPE_POINTER, osxwindow, + "nsview", G_TYPE_POINTER, osxwindow->gstview, nil); tmp = gst_structure_to_string (s); |