Permalink
Browse files

vnsi: set stream properties properly, now stream get opened before CO…

…NTENT_INFO
  • Loading branch information...
1 parent 388254a commit 57056f2ce80b91d70d8e8493677895dec8488446 @FernetMenta FernetMenta committed Oct 12, 2012
Showing with 8 additions and 6 deletions.
  1. +8 −6 addons/pvr.vdr.vnsi/src/VNSIDemux.cpp
@@ -56,12 +56,14 @@ bool cVNSIDemux::GetStreamProperties(PVR_STREAM_PROPERTIES* props)
props->iStreamCount = m_Streams.iStreamCount;
for (unsigned int i = 0; i < m_Streams.iStreamCount; i++)
{
- props->stream[i].iStreamIndex = m_Streams.stream[i].iStreamIndex;
- props->stream[i].iPhysicalId = m_Streams.stream[i].iPhysicalId;
- props->stream[i].iCodecType = m_Streams.stream[i].iCodecType;
- props->stream[i].iCodecId = m_Streams.stream[i].iCodecId;
- props->stream[i].iHeight = m_Streams.stream[i].iHeight;
- props->stream[i].iWidth = m_Streams.stream[i].iWidth;
+ props->stream[i].iStreamIndex = m_Streams.stream[i].iStreamIndex;
+ props->stream[i].iPhysicalId = m_Streams.stream[i].iPhysicalId;
+ props->stream[i].iCodecType = m_Streams.stream[i].iCodecType;
+ props->stream[i].iCodecId = m_Streams.stream[i].iCodecId;
+ props->stream[i].iHeight = m_Streams.stream[i].iHeight;
+ props->stream[i].iWidth = m_Streams.stream[i].iWidth;
+ props->stream[i].iFPSRate = m_Streams.stream[i].iFPSRate;
+ props->stream[i].iFPSScale = m_Streams.stream[i].iFPSScale;
props->stream[i].strLanguage[0] = m_Streams.stream[i].strLanguage[0];
props->stream[i].strLanguage[1] = m_Streams.stream[i].strLanguage[1];
props->stream[i].strLanguage[2] = m_Streams.stream[i].strLanguage[2];

0 comments on commit 57056f2

Please sign in to comment.