use norm setting from dummy info instead of edl to open v4l2 device, dont zero norm setting

This commit is contained in:
niels
2015-06-18 21:41:53 +02:00
parent 231ea18dd7
commit a75bac7470
2 changed files with 1 additions and 2 deletions

View File

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

View File

@@ -3636,7 +3636,6 @@ static void configure_dummy_defaults(veejay_t *info, char override_norm, float f
if( info->dummy->fps <= 0.0f)
info->dummy->fps = dfps;
info->dummy->norm = default_norm;
info->dummy->chroma = get_chroma_from_pixfmt( vj_to_pixfmt( info->pixel_format ) );
info->settings->output_fps = dfps;