From 3171c89fef95b19c8889996caaac73eea71cf388 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 16 Dec 2012 13:43:25 +0000 Subject: Decoder handles crop changing. --- src/lib/ffmpeg_decoder.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/ffmpeg_decoder.h') diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index d483db1d9..d5753393e 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -26,6 +26,7 @@ #include #include #include +#include extern "C" { #include #include @@ -34,6 +35,7 @@ extern "C" { #include "decoder.h" #include "video_decoder.h" #include "audio_decoder.h" +#include "film.h" struct AVFilterGraph; struct AVCodecContext; @@ -117,6 +119,8 @@ private: void maybe_add_subtitle (); boost::shared_ptr deinterleave_audio (uint8_t* data, int size); + void film_changed (Film::Property); + std::string stream_name (AVStream* s) const; AVFormatContext* _format_context; @@ -137,4 +141,5 @@ private: boost::optional _first_audio; std::list > _filter_graphs; + boost::mutex _filter_graphs_mutex; }; -- cgit v1.2.3