summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2004-01-08 00:54:01 +0000
committerJulien Moutte <julien@moutte.net>2004-01-08 00:54:01 +0000
commit0721630b3b027887f4d09d2ebc42d2a44d6d4d4b (patch)
treee43c2f623f7f4b490349fe86f91978a2fbc3f8db
parent861724761f815f5bcd28be1f9aeca0b4a0c20ef7 (diff)
downloadgst-plugins-bad-0721630b3b027887f4d09d2ebc42d2a44d6d4d4b.tar.gz
gst-plugins-bad-0721630b3b027887f4d09d2ebc42d2a44d6d4d4b.tar.bz2
gst-plugins-bad-0721630b3b027887f4d09d2ebc42d2a44d6d4d4b.zip
ext/sdl/sdlvideosink.c: Using XOverlay public method to fire size signal.
Original commit message from CVS: * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_create): Using XOverlay public method to fire size signal.
-rw-r--r--ChangeLog5
-rw-r--r--ext/sdl/sdlvideosink.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b926af5..7a13ccb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-08 Julien MOUTTE <julien@moutte.net>
+
+ * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_create): Using XOverlay
+ public method to fire size signal.
+
2004-01-07 Julien MOUTTE <julien@moutte.net>
* examples/gstplay/Makefile.am: Adding the interface library.
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index 887b37f8..1e3e2f6e 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -501,9 +501,9 @@ gst_sdlvideosink_create (GstSDLVideoSink *sdlvideosink)
GST_DEBUG ("sdlvideosink: setting %08x (" GST_FOURCC_FORMAT ")",
sdlvideosink->format, GST_FOURCC_ARGS(sdlvideosink->format));
- gst_video_sink_got_video_size (GST_VIDEOSINK (sdlvideosink),
- GST_VIDEOSINK_WIDTH (sdlvideosink),
- GST_VIDEOSINK_HEIGHT (sdlvideosink));
+ gst_x_overlay_got_desired_size (GST_X_OVERLAY (sdlvideosink),
+ GST_VIDEOSINK_WIDTH (sdlvideosink),
+ GST_VIDEOSINK_HEIGHT (sdlvideosink));
return TRUE;
}