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

MediaCX: Update to new parseWithOptions API

parent 5bf9acb9
...@@ -93,9 +93,9 @@ namespace libVLCX ...@@ -93,9 +93,9 @@ namespace libVLCX
m_media.parse(); m_media.parse();
} }
void Media::parseWithOptions(ParseFlags flags) void Media::parseWithOptions(ParseFlags flags, int timeoutMs)
{ {
m_media.parseWithOptions(static_cast<VLC::Media::ParseFlags>( flags ) ); m_media.parseWithOptions(static_cast<VLC::Media::ParseFlags>( flags ), timeoutMs);
} }
ParsedStatus Media::parsedStatus() ParsedStatus Media::parsedStatus()
......
...@@ -101,10 +101,10 @@ namespace libVLCX ...@@ -101,10 +101,10 @@ namespace libVLCX
public enum class ParsedStatus public enum class ParsedStatus
{ {
Init = VLC::Media::ParsedStatus::Init,
Skipped = VLC::Media::ParsedStatus::Skipped, Skipped = VLC::Media::ParsedStatus::Skipped,
Failed = VLC::Media::ParsedStatus::Failed, Failed = VLC::Media::ParsedStatus::Failed,
Done = VLC::Media::ParsedStatus::Done, Done = VLC::Media::ParsedStatus::Done,
Timeout = VLC::Media::ParsedStatus::Timeout,
}; };
public enum class FromType public enum class FromType
...@@ -288,7 +288,7 @@ namespace libVLCX ...@@ -288,7 +288,7 @@ namespace libVLCX
* *
* \see Media::tracks() * \see Media::tracks()
*/ */
void Media::parseWithOptions(ParseFlags flags); void Media::parseWithOptions(ParseFlags flags, int timeoutMs);
ParsedStatus parsedStatus(); ParsedStatus parsedStatus();
......
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