diff options
author | Julien Moutte <julien@moutte.net> | 2004-07-21 11:02:31 +0000 |
---|---|---|
committer | Julien Moutte <julien@moutte.net> | 2004-07-21 11:02:31 +0000 |
commit | a0daa305d03e2454c6ab1d691e73de6024b1f627 (patch) | |
tree | c4e4b9b72b5f242eab69959de806a2559c231f69 /ChangeLog | |
parent | a98cbfa5efc783fc18da09e24155c0b8f0ed8a93 (diff) | |
download | gst-plugins-bad-a0daa305d03e2454c6ab1d691e73de6024b1f627.tar.gz gst-plugins-bad-a0daa305d03e2454c6ab1d691e73de6024b1f627.tar.bz2 gst-plugins-bad-a0daa305d03e2454c6ab1d691e73de6024b1f627.zip |
sys/ximage/ximagesink.c: Optimize images creation for both elements. We don't create the image on caps nego or renego...
Original commit message from CVS:
2004-07-21 Julien MOUTTE <julien@moutte.net>
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_renegotiate_size), (gst_ximagesink_sink_link),
(gst_ximagesink_chain), (gst_ximagesink_set_xwindow_id): Optimize
images creation for both elements. We don't create the image on caps
nego or renego, we just destroy the internal one if present if it does
not match the needs. The chain function takes care of creating a new
image when needed.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_xwindow_decorate), (gst_xvimagesink_sink_link),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_alloc),
(gst_xvimagesink_set_xwindow_id): Additionally xvimage now contains
the image format information. The buffer pool checks for the context
image format and discard images with different formats.
* sys/xvimage/xvimagesink.h: Adding im_format in the xvimage structure.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,20 @@ +2004-07-21 Julien MOUTTE <julien@moutte.net> + + * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new), + (gst_ximagesink_renegotiate_size), (gst_ximagesink_sink_link), + (gst_ximagesink_chain), (gst_ximagesink_set_xwindow_id): Optimize + images creation for both elements. We don't create the image on caps + nego or renego, we just destroy the internal one if present if it does + not match the needs. The chain function takes care of creating a new + image when needed. + * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new), + (gst_xvimagesink_xwindow_decorate), (gst_xvimagesink_sink_link), + (gst_xvimagesink_chain), (gst_xvimagesink_buffer_alloc), + (gst_xvimagesink_set_xwindow_id): Additionally xvimage now contains + the image format information. The buffer pool checks for the context + image format and discard images with different formats. + * sys/xvimage/xvimagesink.h: Adding im_format in the xvimage structure. + 2004-07-21 Thomas Vander Stichele <thomas at apestaart dot org> * gst/ffmpegcolorspace/gstffmpegcolorspace.c: |