Skip to content

Commit

Permalink
Revert "[mvc] Enable 3d attribute of mvc video automatically"
Browse files Browse the repository at this point in the history
This reverts commit 1b1eaa6.
  • Loading branch information
popcornmix committed May 28, 2015
1 parent 3ea17a7 commit d9d3baf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion xbmc/cores/dvdplayer/DVDCodecs/Video/MMALCodec.cpp
Expand Up @@ -537,7 +537,7 @@ bool CMMALVideo::Open(CDVDStreamInfo &hints, CDVDCodecOptions &options)
// H.264
m_codingType = MMAL_ENCODING_H264;
m_pFormatName = "mmal-h264";
if (CSettings::Get().GetBool("videoplayer.supportmvc") && hints.codec_tag == AV_CODEC_ID_H264MVC)
if (CSettings::Get().GetBool("videoplayer.supportmvc"))
{
m_codingType = MMAL_ENCODING_MVC;
m_pFormatName= "mmal-mvc";
Expand Down
2 changes: 0 additions & 2 deletions xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
Expand Up @@ -1278,8 +1278,6 @@ CDemuxStream* CDVDDemuxFFmpeg::AddStream(int iId)
// check for metadata in file if detection in stream failed
if (stereoMode.empty())
stereoMode = GetStereoModeFromMetadata(m_pFormatContext->metadata);
if (stereoMode.empty() && pStream->codec->codec_tag == AV_CODEC_ID_H264MVC)
stereoMode = "top_bottom";
if (!stereoMode.empty())
st->stereo_mode = stereoMode;

Expand Down
2 changes: 1 addition & 1 deletion xbmc/cores/omxplayer/OMXVideo.cpp
Expand Up @@ -421,7 +421,7 @@ bool COMXVideo::Open(CDVDStreamInfo &hints, OMXClock *clock, EDEINTERLACEMODE de
break;
}
}
if (CSettings::Get().GetBool("videoplayer.supportmvc") && hints.codec_tag == AV_CODEC_ID_H264MVC)
if (CSettings::Get().GetBool("videoplayer.supportmvc"))
{
m_codingType = OMX_VIDEO_CodingMVC;
m_video_codec_name = "omx-mvc";
Expand Down

0 comments on commit d9d3baf

Please sign in to comment.