diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-11-17 17:55:21 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-11-17 17:55:21 +0000 |
commit | 14369ea84f454c4d4e9bd8fa1f7d03b7fd7a0913 (patch) | |
tree | bcf3840c77b98c80a85cbe171a85da06fab34e7d | |
parent | 607670a62dc658d1b496a944c181fe7d7e29273b (diff) | |
download | xine-lib-14369ea84f454c4d4e9bd8fa1f7d03b7fd7a0913.tar.gz xine-lib-14369ea84f454c4d4e9bd8fa1f7d03b7fd7a0913.tar.bz2 |
make Carsten happy: the dxr3 image should now disappear on close
CVS patchset: 3282
CVS date: 2002/11/17 17:55:21
-rw-r--r-- | src/dxr3/dxr3_decode_video.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/dxr3/dxr3_decode_video.c b/src/dxr3/dxr3_decode_video.c index 24f0392b9..8fb4d45e6 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.20 2002/11/12 21:29:34 mroi Exp $ + * $Id: dxr3_decode_video.c,v 1.21 2002/11/17 17:55:21 mroi Exp $ */ /* dxr3 video decoder plugin. @@ -559,15 +559,14 @@ static void dxr3_dispose(video_decoder_t *this_gen) if (this->scr) { metronom->unregister_scr(metronom, &this->scr->scr_plugin); this->scr->scr_plugin.exit(&this->scr->scr_plugin); - this->scr = NULL; } + dxr3_mvcommand(this->fd_control, MVCOMMAND_FLUSHBUF); + if (this->fd_video >= 0) close(this->fd_video); - this->fd_video = -1; + close(this->fd_control); this->stream->video_out->close(this->stream->video_out); - - this->have_header_info = 0; this->class->instance = 0; free(this); |