diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-20 02:26:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-20 02:26:23 +0100 |
| commit | 98499a61e17e68c438e56fd8854081a4c98b15ad (patch) | |
| tree | daa2d57f826486ee05fef3fc5fc7ba5af56f789b /src/lib/ffmpeg_decoder.h | |
| parent | f2989966b2871ac5fc5f78c2a3ce7867f344b7cd (diff) | |
Somewhat hacky but seemingly functional frame back/forward (rest of #68).
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
| -rw-r--r-- | src/lib/ffmpeg_decoder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index 2a4d40b1d..0c89b973d 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -102,11 +102,13 @@ public: bool seek (double); bool seek_to_last (); + void seek_forward (); + void seek_back (); private: bool pass (); - bool do_seek (double p, bool); + bool do_seek (double p, bool, bool); PixelFormat pixel_format () const; AVSampleFormat audio_sample_format () const; int bytes_per_audio_sample () const; |
