From: Thomas Vander Stichele Date: Fri, 30 Apr 2004 10:58:08 +0000 (+0000) Subject: spell fix X-Git-Tag: BRANCH-GSTREAMER-0_8-ROOT~1203 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9215430bb67358a545cc0364374c73d3f93c3685;p=platform%2Fupstream%2Fgst-plugins-base.git spell fix Original commit message from CVS: spell fix --- diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index 53e8b2f..e44e94b 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -71,7 +71,7 @@ enum }; static GstVideoSinkClass *parent_class = NULL; -static gboolean error_catched = FALSE; +static gboolean error_caught = FALSE; /* ============================================================= */ /* */ @@ -88,7 +88,7 @@ gst_xvimagesink_handle_xerror (Display * display, XErrorEvent * xevent) XGetErrorText (display, xevent->error_code, error_msg, 1024); GST_DEBUG ("xvimagesink failed to use XShm calls. error: %s", error_msg); - error_catched = TRUE; + error_caught = TRUE; return 0; } @@ -122,15 +122,15 @@ gst_xvimagesink_check_xshm_calls (GstXContext * xcontext) XShmAttach (xcontext->disp, &xvimage->SHMInfo); - error_catched = FALSE; + error_caught = FALSE; XSync (xcontext->disp, 0); XSetErrorHandler (handler); - if (error_catched) { /* Failed, detaching shared memory, destroying image and telling we can't + if (error_caught) { /* Failed, detaching shared memory, destroying image and telling we can't use XShm */ - error_catched = FALSE; + error_caught = FALSE; XFree (xvimage->xvimage); shmdt (xvimage->SHMInfo.shmaddr); shmctl (xvimage->SHMInfo.shmid, IPC_RMID, 0);