Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:duwe
ffmpegthumbnailer
moviedecoder.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File moviedecoder.patch of Package ffmpegthumbnailer
*** moviedecoder_old.cpp 2011-06-10 21:11:39.000000000 +0200 --- moviedecoder.cpp 2011-06-10 21:08:40.000000000 +0200 *************** *** 130,141 **** --- 130,150 ---- { for (unsigned int i = 0; i < m_pFormatContext->nb_streams; ++i) { + #if LIBAVFORMAT_BUILD < 4621 if (m_pFormatContext->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO) { m_pVideoStream = m_pFormatContext->streams[i]; m_VideoStream = i; break; } + #else + if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) + { + m_pVideoStream = m_pFormatContext->streams[i]; + m_VideoStream = i; + break; + } + #endif } if (m_VideoStream == -1)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor