summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/xoverlay
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2004-01-09 18:05:57 +0000
committerJulien Moutte <julien@moutte.net>2004-01-09 18:05:57 +0000
commit6b9e58c9e46c327bdc9a3db2fe32c27898fd3039 (patch)
tree94ac0d91391b5282098217ba7d9e0b2ff02705fa /gst-libs/gst/xoverlay
parentc09123d6d042191b27c152c8c214a2242a19504a (diff)
downloadgst-plugins-bad-6b9e58c9e46c327bdc9a3db2fe32c27898fd3039.tar.gz
gst-plugins-bad-6b9e58c9e46c327bdc9a3db2fe32c27898fd3039.tar.bz2
gst-plugins-bad-6b9e58c9e46c327bdc9a3db2fe32c27898fd3039.zip
ext/ffmpeg/gstffmpegcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
Original commit message from CVS: * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain): Implementing gst_pad_alloc_buffer to use optimized buffer allocation. * gst-libs/gst/xoverlay/xoverlay.c: (gst_x_overlay_got_desired_size): Updating doc for the xid being 0. * gst/videoscale/gstvideoscale.c: (gst_videoscale_chain): Implementing gst_pad_alloc_buffer to use optimized buffer allocation. * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get): Implementing gst_pad_alloc_buffer to use optimized buffer allocation. * sys/ximage/ximagesink.c: (gst_ximagesink_chain), (gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc), (gst_ximagesink_set_xwindow_id), (gst_ximagesink_init): Implementing the bufferalloc_function to replace bufferpools, fixing the XOverlay interface implementation to handle xid being 0 and fix some bugs triggered by Benjamin's testcase. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain), (gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc), (gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init): Implementing the bufferalloc_function to replace bufferpools, fixing the XOverlay interface implementation to handle xid being 0 and fix some bugs triggered by Benjamin's testcase.
Diffstat (limited to 'gst-libs/gst/xoverlay')
-rw-r--r--gst-libs/gst/xoverlay/xoverlay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/xoverlay/xoverlay.c b/gst-libs/gst/xoverlay/xoverlay.c
index c0bbcec0..2efe2966 100644
--- a/gst-libs/gst/xoverlay/xoverlay.c
+++ b/gst-libs/gst/xoverlay/xoverlay.c
@@ -103,7 +103,8 @@ gst_x_overlay_base_init (gpointer g_class)
*
* This will call the video overlay's set_xwindow_id method. You should
* use this method to tell to a XOverlay to display video output to a
- * specific XWindow.
+ * specific XWindow. Passing 0 as the xwindow_id will tell the overlay to
+ * stop using that window and create an internal one.
*/
void
gst_x_overlay_set_xwindow_id (GstXOverlay *overlay, XID xwindow_id)
@@ -182,4 +183,3 @@ gst_x_overlay_got_desired_size (GstXOverlay *overlay, guint width, guint height)
g_signal_emit (G_OBJECT (overlay),
gst_x_overlay_signals[DESIRED_SIZE], 0, width, height);
}
-