Dear Sir! I previous letter i describe a problem what happen in my case. After some research i found that problem could be reproduced by multiple VIDIOC_STREAMON/VIDIOC_STREAMOFF ioctl's. In detail: multiple changing video output port enable/disable flag reproduce this problem (6..15 times of calling): ivtvctl -g reg=0x193,val=0x21 ; sleep 1 ; ivtvctl -g reg=0x193,val=0xA1
to fix a problem (cure!) its enough to: ivtvctl --set-input=0 ; ivtvctl --set-input=2 just change from composite to tuner input and back (even if i disable writing into saa7174 registers) - thats all - picture is correct. Perhaps, changing video output port state is delayed to VBI, but CX2341X_ENC_REFRESH_INPUT has not enough time for stabilization internal circuits? I try to disable VIDIOC_STREAMON/VIDIOC_STREAMOFF in saa7174 and it become stable. Is keeping video decoder output data (ITU stream) stable bad idea? There are no GPIO used. I rechecked ivtv_set_video_for_gpio. It's did not call. The cure somewhere are at CX2341X_ENC_REFRESH_INPUT/CX2341X_ENC_PAUSE_ENCODER. Dear Hans! What is your opinion about this problem/solution? May be solution is : VIDIOC_STREAMON, <delay 2 frames>, CX2341X_ENC_REFRESH_INPUT order? -- ________________________________________ Maksym Veremeyenko _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
