summaryrefslogtreecommitdiffstats
path: root/MPD/AdaptationSetHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'MPD/AdaptationSetHelper.h')
-rw-r--r--MPD/AdaptationSetHelper.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/MPD/AdaptationSetHelper.h b/MPD/AdaptationSetHelper.h
new file mode 100644
index 00000000..683d0f0c
--- /dev/null
+++ b/MPD/AdaptationSetHelper.h
@@ -0,0 +1,36 @@
+/*
+ * AdaptationSetHelper.h
+ *****************************************************************************
+ * Copyright (C) 2012, bitmovin Softwareentwicklung OG, All Rights Reserved
+ *
+ * Email: libdash-dev@vicky.bitmovin.net
+ *
+ * This source code and its use and distribution, is subject to the terms
+ * and conditions of the applicable license agreement.
+ *****************************************************************************/
+
+#ifndef LIBDASH_FRAMEWORK_MPD_ADAPTATIONSETHELPER_H_
+#define LIBDASH_FRAMEWORK_MPD_ADAPTATIONSETHELPER_H_
+
+#include "IMPD.h"
+#include <QMessageLogger>
+
+namespace libdash
+{
+namespace framework
+{
+namespace mpd
+{
+class AdaptationSetHelper
+{
+public:
+ static std::vector<dash::mpd::IAdaptationSet *> getAudioAdaptationSets(dash::mpd::IPeriod *period);
+ static std::vector<dash::mpd::IAdaptationSet *> getVideoAdaptationSets(dash::mpd::IPeriod *period);
+ static bool isAudioAdaptationSet(dash::mpd::IAdaptationSet *adaptationSet);
+ static bool isVideoAdaptationSet(dash::mpd::IAdaptationSet *adaptationSet);
+ static bool isContainedInMimeType(dash::mpd::IAdaptationSet *adaptationSet, std::string value);
+};
+}
+}
+}
+#endif /* LIBDASH_FRAMEWORK_MPD_ADAPTATIONSETHELPER_H_ */