return;
}
- boost::shared_ptr<Image> input = _raw_frame;
+ boost::shared_ptr<const Image> input = _raw_frame;
pair<string, string> const s = Filter::ffmpeg_strings (_film->filters());
if (!s.second.empty ()) {
}
void
-FilmViewer::process_video (shared_ptr<Image> image, bool, shared_ptr<Subtitle> sub, double t)
+FilmViewer::process_video (shared_ptr<const Image> image, bool, shared_ptr<Subtitle> sub, double t)
{
_raw_frame = image;
_raw_sub = sub;
_got_frame = true;
double const fps = _decoders.video->frames_per_second ();
- _frame->SetLabel (wxString::Format ("%d", int (rint (t * fps))));
+ _frame->SetLabel (wxString::Format (wxT("%d"), int (rint (t * fps))));
double w = t;
int const h = (w / 3600);
int const s = floor (w);
w -= s;
int const f = rint (w * fps);
- _timecode->SetLabel (wxString::Format ("%02d:%02d:%02d:%02d", h, m, s, f));
+ _timecode->SetLabel (wxString::Format (wxT("%02d:%02d:%02d:%02d"), h, m, s, f));
}
void