summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-12-28 15:43:44 +0000
committerCarl Hetherington <cth@carlh.net>2013-12-28 15:43:44 +0000
commit5c6292315aa7c31a076e8ace513f62e062440a33 (patch)
tree9f8effc69fbfd41624210e1a7d5579c28464e8d8 /src/lib
parentaf3e8ed8382cdc35e361cdca1f735a379fce1317 (diff)
Fix typo breaking remote encoding.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/dcp_video_frame.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_video_frame.cc b/src/lib/dcp_video_frame.cc
index 00dc1ac74..685e24d63 100644
--- a/src/lib/dcp_video_frame.cc
+++ b/src/lib/dcp_video_frame.cc
@@ -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.