From 3b67c79bf4534e72a7eceaa6e566e7b7c949e4f7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 3 Jun 2015 10:46:47 +0100 Subject: Fix confusion with AUDIO_STREAMS property. --- src/lib/ffmpeg_content.cc | 5 ++--- src/lib/ffmpeg_content.h | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/lib') diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index eab110236..1278c4c10 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -51,8 +51,7 @@ using boost::dynamic_pointer_cast; int const FFmpegContentProperty::SUBTITLE_STREAMS = 100; int const FFmpegContentProperty::SUBTITLE_STREAM = 101; -int const FFmpegContentProperty::AUDIO_STREAMS = 102; -int const FFmpegContentProperty::FILTERS = 103; +int const FFmpegContentProperty::FILTERS = 102; FFmpegContent::FFmpegContent (shared_ptr f, boost::filesystem::path p) : Content (f, p) @@ -183,7 +182,7 @@ FFmpegContent::examine (shared_ptr job) signal_changed (FFmpegContentProperty::SUBTITLE_STREAMS); signal_changed (FFmpegContentProperty::SUBTITLE_STREAM); - signal_changed (FFmpegContentProperty::AUDIO_STREAMS); + signal_changed (AudioContentProperty::AUDIO_STREAMS); } string diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h index b9ae4707a..04523b117 100644 --- a/src/lib/ffmpeg_content.h +++ b/src/lib/ffmpeg_content.h @@ -41,7 +41,6 @@ class FFmpegContentProperty : public VideoContentProperty public: static int const SUBTITLE_STREAMS; static int const SUBTITLE_STREAM; - static int const AUDIO_STREAMS; static int const FILTERS; }; -- cgit v1.2.3