Merge master.
[dcpomatic.git] / src / lib / format.cc
index a83d53ebd1aa3ba01a486c488cb35d90b3645e67..f5026c0da8faf0ddf8267c11b0a32adcc163a9c8 100644 (file)
@@ -60,13 +60,6 @@ FixedFormat::name () const
        return s.str ();
 }
 
-/** @return Identifier for this format as metadata for a Film's metadata file */
-string
-Format::as_metadata () const
-{
-       return _id;
-}
-
 /** Fill our _formats vector with all available formats */
 void
 Format::setup_formats ()
@@ -165,16 +158,6 @@ Format::from_id (string i)
        return *j;
 }
 
-
-/** @param m Metadata, as returned from as_metadata().
- *  @return Matching Format, or 0.
- */
-Format const *
-Format::from_metadata (string m)
-{
-       return from_id (m);
-}
-
 /** @return All available formats */
 vector<Format const *>
 Format::all ()