Commit 1cf0d2d5 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

VideoTrack: Remove unused class member

parent e1e7dde6
......@@ -27,8 +27,7 @@ const std::string policy::VideoTrackTable::Name = "VideoTrack";
const std::string policy::VideoTrackTable::PrimaryKeyColumn = "id_track";
int64_t VideoTrack::* const policy::VideoTrackTable::PrimaryKey = &VideoTrack::m_id;
VideoTrack::VideoTrack( MediaLibraryPtr ml, sqlite::Row& row )
: m_ml( ml )
VideoTrack::VideoTrack( MediaLibraryPtr, sqlite::Row& row )
{
row >> m_id
>> m_codec
......@@ -38,9 +37,8 @@ VideoTrack::VideoTrack( MediaLibraryPtr ml, sqlite::Row& row )
>> m_mediaId;
}
VideoTrack::VideoTrack( MediaLibraryPtr ml, const std::string& codec, unsigned int width, unsigned int height, float fps, int64_t mediaId )
: m_ml( ml )
, m_id( 0 )
VideoTrack::VideoTrack( MediaLibraryPtr, const std::string& codec, unsigned int width, unsigned int height, float fps, int64_t mediaId )
: m_id( 0 )
, m_codec( codec )
, m_width( width )
, m_height( height )
......
......@@ -43,8 +43,8 @@ struct VideoTrackTable
class VideoTrack : public medialibrary::IVideoTrack, public DatabaseHelpers<VideoTrack, policy::VideoTrackTable>
{
public:
VideoTrack( MediaLibraryPtr ml, sqlite::Row& row );
VideoTrack( MediaLibraryPtr ml, const std::string& codec,
VideoTrack( MediaLibraryPtr, sqlite::Row& row );
VideoTrack( MediaLibraryPtr, const std::string& codec,
unsigned int width, unsigned int height, float fps, int64_t mediaId );
virtual int64_t id() const override;
......@@ -58,7 +58,6 @@ class VideoTrack : public medialibrary::IVideoTrack, public DatabaseHelpers<Vide
unsigned int width, unsigned int height, float fps, int64_t mediaId );
private:
MediaLibraryPtr m_ml;
int64_t m_id;
std::string m_codec;
unsigned int m_width;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment