}
void
-FilmViewer::set_film (shared_ptr<Film> f)
+FilmViewer::set_film (shared_ptr<Film> film)
{
- if (_film == f) {
+ if (_film == film) {
return;
}
- _film = f;
+ _film = film;
_frame.reset ();
}
try {
- _player.reset (new Player (f));
+ _player.reset (new Player (_film));
} catch (bad_alloc) {
error_dialog (this, _("There is not enough free memory to do that."));
_film.reset ();