Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…NTENT_INFO
  • Loading branch information...
commit 57056f2ce80b91d70d8e8493677895dec8488446 1 parent 388254a
@FernetMenta FernetMenta authored
Showing with 8 additions and 6 deletions.
  1. +8 −6 addons/pvr.vdr.vnsi/src/VNSIDemux.cpp
View
14 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];
Please sign in to comment.
Something went wrong with that request. Please try again.