summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_none.c
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2005-11-14 12:34:45 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2005-11-14 12:34:45 +0000
commit678b4e9cad47a6c176bb05de32aa0dd56742f15a (patch)
treebbf9721ae6fb2fde3326bfece1af08ba34d3a164 /src/video_out/video_out_none.c
parentdd90d5f61610a7bd59fe3f778d07000cc9746516 (diff)
downloadxine-lib-678b4e9cad47a6c176bb05de32aa0dd56742f15a.tar.gz
xine-lib-678b4e9cad47a6c176bb05de32aa0dd56742f15a.tar.bz2
*BUGFIX*
Testsuite for M$ Windows: - init mutex in all video drivers ('none' for testsuite, fixes crashes), was OK for linux pthreads - use WaitForSingleObject for console file descriptirs in _x_io_select (fixes stdin:/) - workaround heavy debug messages in asf demuxer for some samples (fixes full disk :->) Fixed previous fix, s/gmtime/timgm/ :-) Aalib cross detection + udate docs CVS patchset: 7799 CVS date: 2005/11/14 12:34:45
Diffstat (limited to 'src/video_out/video_out_none.c')
-rw-r--r--src/video_out/video_out_none.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_out/video_out_none.c b/src/video_out/video_out_none.c
index 1d55ee208..d5ec0d374 100644
--- a/src/video_out/video_out_none.c
+++ b/src/video_out/video_out_none.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_none.c,v 1.23 2005/09/24 19:08:26 miguelfreitas Exp $
+ * $Id: video_out_none.c,v 1.24 2005/11/14 12:34:46 valtri Exp $
*
* Was originally part of toxine frontend.
* ...but has now been adapted to xine coding style standards ;)
@@ -94,6 +94,8 @@ static vo_frame_t *none_alloc_frame(vo_driver_t *vo_driver) {
if(!frame)
return NULL;
+ pthread_mutex_init(&frame->vo_frame.mutex, NULL);
+
frame->vo_frame.base[0] = NULL;
frame->vo_frame.base[1] = NULL;
frame->vo_frame.base[2] = NULL;