diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/video_out_xshm.c | 8 | ||||
-rw-r--r-- | src/video_out/video_out_xv.c | 7 |
2 files changed, 2 insertions, 13 deletions
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c index 68629a183..9f08d3e13 100644 --- a/src/video_out/video_out_xshm.c +++ b/src/video_out/video_out_xshm.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_xshm.c,v 1.132 2004/05/09 21:05:34 miguelfreitas Exp $ + * $Id: video_out_xshm.c,v 1.133 2004/06/27 11:16:20 mroi Exp $ * * video_out_xshm.c, X11 shared memory extension interface for xine * @@ -1046,12 +1046,6 @@ static vo_driver_t *xshm_open_plugin (video_driver_class_t *class_gen, const voi int cpu_byte_order; XColor dummy; - if (!XInitThreads()) { - xprintf (class->xine, XINE_VERBOSITY_LOG, - _("video_out_xshm: No thread-safe X libraries available.\n")); - return NULL; - } - this = (xshm_driver_t *) xine_xmalloc (sizeof (xshm_driver_t)); if (!this) diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index cf1f8b50b..bc6541dac 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_xv.c,v 1.201 2004/06/26 14:47:34 mroi Exp $ + * $Id: video_out_xv.c,v 1.202 2004/06/27 11:16:20 mroi Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -1522,11 +1522,6 @@ static void dispose_class (video_driver_class_t *this_gen) { static void *init_class (xine_t *xine, void *visual_gen) { xv_class_t *this = (xv_class_t *) xine_xmalloc (sizeof (xv_class_t)); - if (!XInitThreads()) { - xprintf (xine, XINE_VERBOSITY_LOG, _("video_out_xv: No thread-safe X libraries available.\n")); - return NULL; - } - this->driver_class.open_plugin = open_plugin; this->driver_class.get_identifier = get_identifier; this->driver_class.get_description = get_description; |