"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xbmc/cores/VideoPlayer/DVDInputStreams/DVDInputStreamNavigator.cpp" between
xbmc-19.0-Matrix.tar.gz and xbmc-19.1.tar.gz

About:

DVDInputStreamNavigator.cpp  (xbmc-19.0-Matrix):DVDInputStreamNavigator.cpp  (xbmc-19.1)
skipping to change at line 1043 skipping to change at line 1043
case DVD_AUDIO_LANG_EXT_NotSpecified: case DVD_AUDIO_LANG_EXT_NotSpecified:
case DVD_AUDIO_LANG_EXT_NormalCaptions: case DVD_AUDIO_LANG_EXT_NormalCaptions:
default: default:
break; break;
} }
switch(audio_attributes.audio_format) switch(audio_attributes.audio_format)
{ {
case DVD_AUDIO_FORMAT_AC3: case DVD_AUDIO_FORMAT_AC3:
info.name += " AC3"; info.name += " AC3";
info.codecName = "ac3";
break; break;
case DVD_AUDIO_FORMAT_UNKNOWN_1: case DVD_AUDIO_FORMAT_UNKNOWN_1:
info.name += " UNKNOWN #1"; info.name += " UNKNOWN #1";
break; break;
case DVD_AUDIO_FORMAT_MPEG: case DVD_AUDIO_FORMAT_MPEG:
info.name += " MPEG AUDIO"; info.name += " MPEG AUDIO";
info.codecName = "mp1";
break; break;
case DVD_AUDIO_FORMAT_MPEG2_EXT: case DVD_AUDIO_FORMAT_MPEG2_EXT:
info.name += " MP2 Ext."; info.name += " MP2 Ext.";
info.codecName = "mp2";
break; break;
case DVD_AUDIO_FORMAT_LPCM: case DVD_AUDIO_FORMAT_LPCM:
info.name += " LPCM"; info.name += " LPCM";
info.codecName = "pcm";
break; break;
case DVD_AUDIO_FORMAT_UNKNOWN_5: case DVD_AUDIO_FORMAT_UNKNOWN_5:
info.name += " UNKNOWN #5"; info.name += " UNKNOWN #5";
break; break;
case DVD_AUDIO_FORMAT_DTS: case DVD_AUDIO_FORMAT_DTS:
info.name += " DTS"; info.name += " DTS";
info.codecName = "dts";
break; break;
case DVD_AUDIO_FORMAT_SDDS: case DVD_AUDIO_FORMAT_SDDS:
info.name += " SDDS"; info.name += " SDDS";
break; break;
default: default:
info.name += " Other"; info.name += " Other";
break; break;
} }
switch(audio_attributes.channels + 1) switch(audio_attributes.channels + 1)
skipping to change at line 1603 skipping to change at line 1608
info.angles = GetAngleCount(); info.angles = GetAngleCount();
info.videoAspectRatio = GetVideoAspectRatio(); info.videoAspectRatio = GetVideoAspectRatio();
uint32_t width, height = 0; uint32_t width, height = 0;
GetVideoResolution(&width, &height); GetVideoResolution(&width, &height);
info.width = static_cast<int>(width); info.width = static_cast<int>(width);
info.height = static_cast<int>(height); info.height = static_cast<int>(height);
// Until we add get_video_attr or get_video_codec we can't distinguish MPEG-1 (h261) // Until we add get_video_attr or get_video_codec we can't distinguish MPEG-1 (h261)
// from MPEG-2 (h262). The latter is far more common, so use this. // from MPEG-2 (h262). The latter is far more common, so use this.
info.codecName = "h262"; info.codecName = "mpeg2";
return info; return info;
} }
int dvd_inputstreamnavigator_cb_seek(void * p_stream, uint64_t i_pos) int dvd_inputstreamnavigator_cb_seek(void * p_stream, uint64_t i_pos)
{ {
CDVDInputStreamFile *lpstream = reinterpret_cast<CDVDInputStreamFile*>(p_strea m); CDVDInputStreamFile *lpstream = reinterpret_cast<CDVDInputStreamFile*>(p_strea m);
if (lpstream->Seek(i_pos, SEEK_SET) >= 0) if (lpstream->Seek(i_pos, SEEK_SET) >= 0)
return 0; return 0;
else else
 End of changes. 6 change blocks. 
1 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)