Commit d91beca3 authored by François Cartegnie's avatar François Cartegnie 🤞

stream_filter: dash: remove double initialization

parent 077312c6
......@@ -37,12 +37,10 @@ RateBasedAdaptationLogic::RateBasedAdaptationLogic (MPDManager *mpdManager, str
AbstractAdaptationLogic (mpdManager, stream),
mpdManager (mpdManager),
count (0),
currentPeriod (mpdManager->getFirstPeriod()),
width (0),
height (0)
currentPeriod (mpdManager->getFirstPeriod())
this->width = var_InheritInteger(stream, "dash-prefwidth");
this->height = var_InheritInteger(stream, "dash-prefheight");
width = var_InheritInteger(stream, "dash-prefwidth");
height = var_InheritInteger(stream, "dash-prefheight");
Chunk* RateBasedAdaptationLogic::getNextChunk()
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