diff options
author | Heiko Schaefer <heikos@users.sourceforge.net> | 2003-03-31 14:31:58 +0000 |
---|---|---|
committer | Heiko Schaefer <heikos@users.sourceforge.net> | 2003-03-31 14:31:58 +0000 |
commit | 8668c30dfbc0cd48258cdda1ae7332e01877fb75 (patch) | |
tree | 2316d221f3314e02116cd4bb6c3a503fa183b8ad | |
parent | e516315b49c489150e2f3d3dd0ca356e141eea62 (diff) | |
download | xine-lib-8668c30dfbc0cd48258cdda1ae7332e01877fb75.tar.gz xine-lib-8668c30dfbc0cd48258cdda1ae7332e01877fb75.tar.bz2 |
from freebsd port - but this seems to be a good idea on gnu/linux systems too
CVS patchset: 4520
CVS date: 2003/03/31 14:31:58
-rw-r--r-- | src/dxr3/video_out_dxr3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c index c6113798a..25662eb38 100644 --- a/src/dxr3/video_out_dxr3.c +++ b/src/dxr3/video_out_dxr3.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_dxr3.c,v 1.74 2003/03/30 10:58:35 mroi Exp $ + * $Id: video_out_dxr3.c,v 1.75 2003/03/31 14:31:58 heikos Exp $ */ /* mpeg1 encoding video out plugin for the dxr3. @@ -278,7 +278,7 @@ static vo_driver_t *dxr3_vo_open_plugin(video_driver_class_t *class_gen, const v } snprintf (tmpstr, sizeof(tmpstr), "%s_mv%s", class->devname, class->devnum); - if ((this->fd_video = open (tmpstr, O_WRONLY | O_SYNC )) < 0) { + if ((this->fd_video = open (tmpstr, O_WRONLY | O_FSYNC )) < 0) { printf("video_out_dxr3: Failed to open video device %s (%s)\n", tmpstr, strerror(errno)); return 0; |