summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-03-16 18:38:18 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-03-16 18:38:18 +0000
commit5b3587b7f5494deda70b9176281694cd52a5d9b2 (patch)
tree3928eceffd5310ed6a961353851ce551a0dc4437
parent559d4e9f4494482c3e08da8ff3ad95d2c172b3dc (diff)
downloadgst-plugins-bad-5b3587b7f5494deda70b9176281694cd52a5d9b2.tar.gz
gst-plugins-bad-5b3587b7f5494deda70b9176281694cd52a5d9b2.tar.bz2
gst-plugins-bad-5b3587b7f5494deda70b9176281694cd52a5d9b2.zip
sys/osxvideo/osxvideosink.m: Fix previous commit, we want to pass the NSView in the message.
Original commit message from CVS: * sys/osxvideo/osxvideosink.m: Fix previous commit, we want to pass the NSView in the message.
-rw-r--r--ChangeLog5
-rw-r--r--sys/osxvideo/osxvideosink.m2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 62247f30..dd5c3d79 100644
--- 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.
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);