From e946a66554185459043af2a8bdae575e255c743d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 15 Oct 2012 23:19:27 +0100 Subject: Unholy melange of stuff; setup a standard test config; send / receive subs to / from servers; various other image stride-related fixes. --- src/lib/decoder.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/lib/decoder.cc') diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc index 1f771da2d..8989a938b 100644 --- a/src/lib/decoder.cc +++ b/src/lib/decoder.cc @@ -417,10 +417,7 @@ Decoder::process_subtitle (shared_ptr s) _subtitle = s; if (_opt->apply_crop) { - list > im = _subtitle->images (); - for (list >::iterator i = im.begin(); i != im.end(); ++i) { - Position const p = (*i)->position (); - (*i)->set_position (Position (p.x - _fs->crop.left, p.y - _fs->crop.top)); - } + Position const p = _subtitle->position (); + _subtitle->set_position (Position (p.x - _fs->crop.left, p.y - _fs->crop.top)); } } -- cgit v1.2.3