From 0316c3b1a4b6d8fe0f90621eebac1934e8a0c5c6 Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Thu, 24 Apr 2003 16:22:12 +0000 Subject: fix for VIDEO_STILLIMAGE to allow removal of the I-frame with VIDEO_STOP w/o having to close the device --- linux/drivers/media/dvb/ttpci/av7110.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linux/drivers') diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 8e136af67..aff284b9c 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -3644,6 +3644,7 @@ dvb_video_ioctl(struct inode *inode, struct file *file, { struct video_still_picture *pic= (struct video_still_picture *) parg; + av7110->videostate.stream_source = VIDEO_SOURCE_MEMORY; dvb_ringbuffer_flush_spinlock_wakeup(&av7110->avout); play_iframe(av7110, pic->iFrame, pic->size, file->f_flags&O_NONBLOCK); -- cgit v1.2.3