From 5c6292315aa7c31a076e8ace513f62e062440a33 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 28 Dec 2013 15:43:44 +0000 Subject: [PATCH] Fix typo breaking remote encoding. --- src/lib/dcp_video_frame.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 image, shared_ptrnode_child ("ColourConversion")); _frames_per_second = node->number_child ("FramesPerSecond"); _j2k_bandwidth = node->number_child ("J2KBandwidth"); - _resolution = Resolution (node->optional_number_child("J2KBandwidth").get_value_or (RESOLUTION_2K)); + _resolution = Resolution (node->optional_number_child("Resolution").get_value_or (RESOLUTION_2K)); } /** J2K-encode this frame on the local host. -- 2.30.2