[vlc-commits] demux: adaptive: use dedicated methods for lowest/highest logics
Francois Cartegnie
git at videolan.org
Wed Oct 12 12:37:27 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct 12 12:36:59 2016 +0200| [756dbb7c10b5e8cc29d92e7990e1818b435794c7] | committer: Francois Cartegnie
demux: adaptive: use dedicated methods for lowest/highest logics
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=756dbb7c10b5e8cc29d92e7990e1818b435794c7
---
modules/demux/adaptive/logic/AlwaysBestAdaptationLogic.cpp | 2 +-
modules/demux/adaptive/logic/AlwaysLowestAdaptationLogic.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/adaptive/logic/AlwaysBestAdaptationLogic.cpp b/modules/demux/adaptive/logic/AlwaysBestAdaptationLogic.cpp
index ed01236..4a48024 100644
--- a/modules/demux/adaptive/logic/AlwaysBestAdaptationLogic.cpp
+++ b/modules/demux/adaptive/logic/AlwaysBestAdaptationLogic.cpp
@@ -39,5 +39,5 @@ AlwaysBestAdaptationLogic::AlwaysBestAdaptationLogic () :
BaseRepresentation *AlwaysBestAdaptationLogic::getNextRepresentation(BaseAdaptationSet *adaptSet, BaseRepresentation *)
{
RepresentationSelector selector;
- return selector.select(adaptSet);
+ return selector.highest(adaptSet);
}
diff --git a/modules/demux/adaptive/logic/AlwaysLowestAdaptationLogic.cpp b/modules/demux/adaptive/logic/AlwaysLowestAdaptationLogic.cpp
index cb8aa4f..c8e4ee3 100644
--- a/modules/demux/adaptive/logic/AlwaysLowestAdaptationLogic.cpp
+++ b/modules/demux/adaptive/logic/AlwaysLowestAdaptationLogic.cpp
@@ -35,5 +35,5 @@ AlwaysLowestAdaptationLogic::AlwaysLowestAdaptationLogic():
BaseRepresentation *AlwaysLowestAdaptationLogic::getNextRepresentation(BaseAdaptationSet *adaptSet, BaseRepresentation *)
{
RepresentationSelector selector;
- return selector.select(adaptSet, 0);
+ return selector.lowest(adaptSet);
}
More information about the vlc-commits
mailing list