Commit 12ff3c04 authored by Felix Paul Kühne's avatar Felix Paul Kühne

qtcapture: improved variable handling

Thanks to j-b and ivoire
parent a9dd52e4
......@@ -324,9 +324,9 @@ static int Open( vlc_object_t *p_this )
NSSize par_size = [[camera_format attributeForKey:QTFormatDescriptionVideoProductionApertureDisplaySizeAttribute] sizeValue];
par_size.width = display_size.width = encoded_size.width
= var_CreateGetInteger (p_this, "qtcapture-width");
= var_InheritInteger (p_this, "qtcapture-width");
par_size.height = display_size.height = encoded_size.height
= var_CreateGetInteger (p_this, "qtcapture-height");
= var_InheritInteger (p_this, "qtcapture-height");
fmt.video.i_width = p_sys->width = encoded_size.width;
fmt.video.i_height = p_sys->height = encoded_size.height;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment