diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-04-01 07:58:05 +0200 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-04-01 07:58:05 +0200 |
commit | c711861c4ed7a962026220a3b94878883b3a429e (patch) | |
tree | 7c212eb5bb2e517836c4ba1041019743be6fdf05 /dxr3device.c | |
parent | 95ef9ae3663c7578a7ee127713830bb284a54838 (diff) | |
download | vdr-plugin-dxr3-c711861c4ed7a962026220a3b94878883b3a429e.tar.gz vdr-plugin-dxr3-c711861c4ed7a962026220a3b94878883b3a429e.tar.bz2 |
why should PlayVideo ever call DemuxAudioPes?
Diffstat (limited to 'dxr3device.c')
-rw-r--r-- | dxr3device.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dxr3device.c b/dxr3device.c index 2d3c449..33f7161 100644 --- a/dxr3device.c +++ b/dxr3device.c @@ -205,11 +205,7 @@ bool cDxr3Device::Poll(cPoller &Poller, int TimeoutMs) //! actually plays the given data block as video int cDxr3Device::PlayVideo(const uchar *Data, int Length) { - if (m_PlayMode == pmAudioOnly) { - return m_DemuxDevice.DemuxAudioPes(Data, Length); - } else { - return m_DemuxDevice.DemuxPes(Data, Length); - } + return m_DemuxDevice.DemuxPes(Data, Length); } // ================================== |