Fix typo breaking remote encoding.
authorCarl Hetherington <cth@carlh.net>
Sat, 28 Dec 2013 15:43:44 +0000 (15:43 +0000)
committerCarl Hetherington <cth@carlh.net>
Sat, 28 Dec 2013 15:43:44 +0000 (15:43 +0000)
src/lib/dcp_video_frame.cc

index 00dc1ac74e32456b24ee86840b5a67a797c701a9..685e24d63bd5cf40db8401475f548a4031569b09 100644 (file)
@@ -111,7 +111,7 @@ DCPVideoFrame::DCPVideoFrame (shared_ptr<const Image> image, shared_ptr<const cx
        _conversion = ColourConversion (node->node_child ("ColourConversion"));
        _frames_per_second = node->number_child<int> ("FramesPerSecond");
        _j2k_bandwidth = node->number_child<int> ("J2KBandwidth");
-       _resolution = Resolution (node->optional_number_child<int>("J2KBandwidth").get_value_or (RESOLUTION_2K));
+       _resolution = Resolution (node->optional_number_child<int>("Resolution").get_value_or (RESOLUTION_2K));
 }
 
 /** J2K-encode this frame on the local host.