sys/osxvideo/osxvideosink.m: Fix previous commit, we want to pass the NSView in the...
authorEdward Hervey <bilboed@bilboed.com>
Fri, 16 Mar 2007 18:38:18 +0000 (18:38 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 16 Mar 2007 18:38:18 +0000 (18:38 +0000)
Original commit message from CVS:
* sys/osxvideo/osxvideosink.m:
Fix previous commit, we want to pass the NSView in the message.

ChangeLog
sys/osxvideo/osxvideosink.m

index 62247f3..dd5c3d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
index faac2fb..057ead3 100644 (file)
@@ -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);