Skip to content

Commit

Permalink
Update videoInput.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ofTheo authored Oct 4, 2017
1 parent 6a163b7 commit e6e178f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions videoInputSrcAndDemos/libs/videoInput/videoInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1746,9 +1746,6 @@ static bool setSizeAndSubtype(videoDevice * VD, int attemptWidth, int attemptHei
VIDEOINFOHEADER *pVih = reinterpret_cast<VIDEOINFOHEADER*>(VD->pAmMediaType->pbFormat);

//store current size
// XX: Should they be reset somewhere?
int tmpWidth = HEADER(pVih)->biWidth;
int tmpHeight = HEADER(pVih)->biHeight;
AM_MEDIA_TYPE * tmpType = NULL;

HRESULT hr = VD->streamConf->GetFormat(&tmpType);
Expand Down

0 comments on commit e6e178f

Please sign in to comment.