summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2006-11-15 10:05:33 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2006-11-15 10:05:33 +0000
commit8795eafaa482ea25e34ed42fcdfa02b622111a01 (patch)
treefec690a1b98a3a2cc8ea0a2daaf2bd7f5ff3cb94 /sys
parent12bfb95f3ffc8eaaee2eac9a80c6ceecbae0407c (diff)
sys/xvimage/xvimagesink.c: clear xv when going to NULL, remove // commented non-existant proto
Original commit message from CVS: * sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state): clear xv when going to NULL, remove // commented non-existant proto * tests/examples/seek/seek.c: (main): add missing tooltip description for scrub and play_scrub
Diffstat (limited to 'sys')
-rw-r--r--sys/xvimage/xvimagesink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c
index 84205f6e..aa6b3c7c 100644
--- a/sys/xvimage/xvimagesink.c
+++ b/sys/xvimage/xvimagesink.c
@@ -156,8 +156,6 @@ static gint gst_xvimagesink_get_format_from_caps (GstXvImageSink * xvimagesink,
GstCaps * caps);
static void gst_xvimagesink_expose (GstXOverlay * overlay);
-//static void gst_xvimagesink_send_pending_navigation (GstXvImageSink * xvimagesink);
-
/* ElementFactory information */
static const GstElementDetails gst_xvimagesink_details =
GST_ELEMENT_DETAILS ("Video sink",
@@ -1972,6 +1970,7 @@ gst_xvimagesink_change_state (GstElement * element, GstStateChange transition)
gst_xvimagesink_imagepool_clear (xvimagesink);
if (xvimagesink->xwindow) {
+ gst_xvimagesink_xwindow_clear (xvimagesink, xvimagesink->xwindow);
gst_xvimagesink_xwindow_destroy (xvimagesink, xvimagesink->xwindow);
xvimagesink->xwindow = NULL;
}