fps and norm for both threading and non-threading v4l2

This commit is contained in:
niels
2015-06-18 21:43:41 +02:00
parent a75bac7470
commit 82be495bc6

View File

@@ -426,10 +426,10 @@ int _vj_tag_new_unicap( vj_tag * tag, int stream_nr, int width, int height, int
#elif HAVE_V4L2
if( no_v4l2_threads_ ) {
vj_tag_input->unicap[stream_nr] = v4l2open( refname, channel, palette,width,height,
_tag_info->effect_frame1->fps,_tag_info->edit_list->video_norm );
_tag_info->dummy->fps,_tag_info->dummy->norm );
} else {
vj_tag_input->unicap[stream_nr] = v4l2_thread_new( refname, channel,palette,width,height,
_tag_info->effect_frame1->fps,_tag_info->dummy->norm );
_tag_info->dummy->fps,_tag_info->dummy->norm );
}
if( !vj_tag_input->unicap[stream_nr] ) {
veejay_msg(0, "Unable to open device %d (%s)",device_num, refname );