diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-11-29 19:35:39 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-11-29 19:35:39 +0000 |
commit | ca00406b7e0e24da89a84d55aeaf051aad40ca67 (patch) | |
tree | 128961e9e7b3c61f48b1267f57c92efb6c11b43d /src/dxr3/dxr3_decode_video.c | |
parent | d525d5ba0cfc37c966d2504ed7b80844108c0f8a (diff) | |
download | xine-lib-ca00406b7e0e24da89a84d55aeaf051aad40ca67.tar.gz xine-lib-ca00406b7e0e24da89a84d55aeaf051aad40ca67.tar.bz2 |
we actually want the device to block, when the dxr3 is fed up
(this O_NONBLOCK must be an ancient relic, thanks to Anders Rune Jensen for
finding it)
CVS patchset: 5820
CVS date: 2003/11/29 19:35:39
Diffstat (limited to 'src/dxr3/dxr3_decode_video.c')
-rw-r--r-- | src/dxr3/dxr3_decode_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dxr3/dxr3_decode_video.c b/src/dxr3/dxr3_decode_video.c index ded0a5624..f27c58146 100644 --- a/src/dxr3/dxr3_decode_video.c +++ b/src/dxr3/dxr3_decode_video.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: dxr3_decode_video.c,v 1.46 2003/11/26 23:44:09 f1rmb Exp $ + * $Id: dxr3_decode_video.c,v 1.47 2003/11/29 19:35:39 mroi Exp $ */ /* dxr3 video decoder plugin. @@ -494,7 +494,7 @@ static void dxr3_decode_data(video_decoder_t *this_gen, buf_element_t *buf) /* open the device for the decoder */ snprintf (tmpstr, sizeof(tmpstr), "%s_mv%s", this->devname, this->devnum); - if ((this->fd_video = open(tmpstr, O_WRONLY | O_NONBLOCK)) < 0) { + if ((this->fd_video = open(tmpstr, O_WRONLY)) < 0) { printf("dxr3_decode_video: Failed to open video device %s (%s)\n", tmpstr, strerror(errno)); return; |