/////////////////////////////////////////////////////////////////////////////
// Name:        mediactrl_ffmpeg.h
// Purpose:     Displays video
// Author:      Alex Thuering
// Created:     21.01.2011
// RCS-ID:      $Id: mediactrl_ffmpeg.h,v 1.4 2013/05/26 18:34:23 ntalex Exp $
// Copyright:   (c) Alex Thuering
// Licence:     GPL
/////////////////////////////////////////////////////////////////////////////

#ifndef MEDIA_CTRL_FF_H
#define MEDIA_CTRL_FF_H

#include <wx/mediactrl.h>
#include <vector>
#include "mediaenc.h"

class MediaCtrlFF: public wxMediaCtrl {
public:
	MediaCtrlFF(wxWindow* parent, wxWindowID winid, const wxString& fileName = wxEmptyString,
            const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0,
            const wxValidator& validator = wxDefaultValidator, const wxString& name = wxT("mediaCtrl"));
	virtual ~MediaCtrlFF();
	void SetVideoFormat(VideoFormat videoFormat, AspectRatio aspectRatio,
			const std::vector<int>& pad, const std::vector<int>& crop);
	double GetFps();
};

#endif // MEDIA_CTRL_FF_H
