summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2003-04-24 16:22:12 +0000
committerJohannes Stezenbach <devnull@localhost>2003-04-24 16:22:12 +0000
commit0316c3b1a4b6d8fe0f90621eebac1934e8a0c5c6 (patch)
tree8135bd7c34945537a3eb7c61f5020f375144b28a /linux/drivers/media/dvb
parent3e004ed242b3bb9cd7d41031c089c851021c7680 (diff)
downloadmediapointer-dvb-s2-0316c3b1a4b6d8fe0f90621eebac1934e8a0c5c6.tar.gz
mediapointer-dvb-s2-0316c3b1a4b6d8fe0f90621eebac1934e8a0c5c6.tar.bz2
fix for VIDEO_STILLIMAGE to allow removal of the I-frame
with VIDEO_STOP w/o having to close the device
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c1
1 files changed, 1 insertions, 0 deletions
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);