Hey all-

Through help from David and Quentin I've been able to get most of Etoile
compiled on my system, but now I'm running into problems with MediaKit.  You
can see the errors I'm getting below, it seems related to versioning as it's
missing identifiers and I also get deprecation warnings.

Can anyone tell me quick which version of ffmpeg I need to compile
libavcodec and libavformat from to get this to work?  I'm using 0.8.git, the
current head.

Thanks
Ryan


Build Project: MediaKit

Making all for framework MediaKit...
 Compiling file MKObjectPipe.m ...
 Compiling file MKMediaFile.m ...
MKMediaFile.m:112:52: error: use of undeclared identifier 'CODEC_TYPE_VIDEO'

if(formatContext->streams[i]->codec->codec_type==CODEC_TYPE_VIDEO)
                                                                 ^
MKMediaFile.m:126:52: error: use of undeclared identifier 'CODEC_TYPE_AUDIO'

if(formatContext->streams[i]->codec->codec_type==CODEC_TYPE_AUDIO)
                                                                 ^
MKMediaFile.m:143:52: error: use of undeclared identifier 'CODEC_TYPE_AUDIO'

if(formatContext->streams[i]->codec->codec_type==CODEC_TYPE_AUDIO)
                                                                 ^
MKMediaFile.m:154:52: error: use of undeclared identifier 'CODEC_TYPE_VIDEO'

if(formatContext->streams[i]->codec->codec_type==CODEC_TYPE_VIDEO)
                                                                 ^
MKMediaFile.m:274:2: error: no member named 'year' in 'struct
AVFormatContext'
        GET_INT_TAG(kETYearProperty, formatContext->year)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MKMediaFile.m:274:46: note: instantiated from:
        GET_INT_TAG(kETYearProperty, formatContext->year)
                                     ~~~~~~~~~~~~~  ^
MKMediaFile.m:275:2: error: no member named 'track' in 'struct
AVFormatContext'
        GET_INT_TAG(kETTrackProperty, formatContext->track)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MKMediaFile.m:275:47: note: instantiated from:
        GET_INT_TAG(kETTrackProperty, formatContext->track)
_______________________________________________
Etoile-dev mailing list
Etoile-dev@gna.org
https://mail.gna.org/listinfo/etoile-dev

Reply via email to