summaryrefslogtreecommitdiffstats
path: root/loader/dshow/DS_VideoDecoder.c
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-23 08:07:07 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-23 08:07:07 +0000
commite33a1695bab717d2dd3a7e5c289ed822437b187f (patch)
tree2146e18e2a4b3eba6ea2c92468e22fee852513ec /loader/dshow/DS_VideoDecoder.c
parent0a02ca6ec3a8d7cd371b01f2def1269ea73b236e (diff)
downloadmpv-e33a1695bab717d2dd3a7e5c289ed822437b187f.tar.bz2
mpv-e33a1695bab717d2dd3a7e5c289ed822437b187f.tar.xz
Fixed loading of VoxWare and wma9sp binary audio codecs using dshow engine.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22322 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dshow/DS_VideoDecoder.c')
-rw-r--r--loader/dshow/DS_VideoDecoder.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/loader/dshow/DS_VideoDecoder.c b/loader/dshow/DS_VideoDecoder.c
index 248938dbf3..cfeedc0c3c 100644
--- a/loader/dshow/DS_VideoDecoder.c
+++ b/loader/dshow/DS_VideoDecoder.c
@@ -278,14 +278,8 @@ void DS_VideoDecoder_StartInternal(DS_VideoDecoder *this)
ALLOCATOR_PROPERTIES props, props1;
Debug printf("DS_VideoDecoder_StartInternal\n");
//cout << "DSSTART" << endl;
- this->m_pDS_Filter->Start(this->m_pDS_Filter);
-
- props.cBuffers = 1;
- props.cbBuffer = this->m_sDestType.lSampleSize;
- props.cbAlign = 1;
- props.cbPrefix = 0;
- this->m_pDS_Filter->m_pAll->vt->SetProperties(this->m_pDS_Filter->m_pAll, &props, &props1);
this->m_pDS_Filter->m_pAll->vt->Commit(this->m_pDS_Filter->m_pAll);
+ this->m_pDS_Filter->Start(this->m_pDS_Filter);
this->iv.m_State = START;
}