{"action":"created","issue":{"url":"https://api.github.com/repos/UltraStar-Deluxe/USDX/issues/178","repository_url":"https://api.github.com/repos/UltraStar-Deluxe/USDX","labels_url":"https://api.github.com/repos/UltraStar-Deluxe/USDX/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/UltraStar-Deluxe/USDX/issues/178/comments","events_url":"https://api.github.com/repos/UltraStar-Deluxe/USDX/issues/178/events","html_url":"https://github.com/UltraStar-Deluxe/USDX/issues/178","id":193118972,"number":178,"title":"Error: identifier idents no member \"get_buffer\"","user":{"login":"nanu-c","id":404058,"avatar_url":"https://avatars.githubusercontent.com/u/404058?v=3","gravatar_id":"","url":"https://api.github.com/users/nanu-c","html_url":"https://github.com/nanu-c","followers_url":"https://api.github.com/users/nanu-c/followers","following_url":"https://api.github.com/users/nanu-c/following{/other_user}","gists_url":"https://api.github.com/users/nanu-c/gists{/gist_id}","starred_url":"https://api.github.com/users/nanu-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanu-c/subscriptions","organizations_url":"https://api.github.com/users/nanu-c/orgs","repos_url":"https://api.github.com/users/nanu-c/repos","events_url":"https://api.github.com/users/nanu-c/events{/privacy}","received_events_url":"https://api.github.com/users/nanu-c/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-02T13:42:53Z","updated_at":"2016-12-02T14:30:35Z","closed_at":null,"body":"Ubuntu mint 16.10\r\n\r\n```\r\n/home/nanu/progs/USDX/src/media/UVideo.pas(428,18) Error: identifier idents no member \"get_buffer\"\r\n/home/nanu/progs/USDX/src/media/UVideo.pas(429,18) Error: identifier idents no member \"release_buffer\"\r\n/home/nanu/progs/USDX/src/media/UVideo.pas(450,29) Warning: Symbol \"avpicture_get_size\" is deprecated\r\n/home/nanu/progs/USDX/src/media/UVideo.pas(462,13) Warning: Symbol \"avpicture_fill\" is deprecated\r\n/home/nanu/progs/USDX/src/media/UVideo.pas(793,5) Warning: Symbol \"av_free_packet\" is deprecated\r\n```\r\nThis is happening on this lines:\r\n```\r\nfunction TVideo_FFmpeg.Open(const FileName : IPath): boolean;\r\n[...]\r\n  // register custom callbacks for pts-determination\r\n  fCodecContext^.get_buffer := PtsGetBuffer;\r\n  fCodecContext^.release_buffer := PtsReleaseBuffer;\r\n```\r\nThis are my libraries\r\n```\r\n./configure \r\nchecking whether make sets $(MAKE)... yes\r\nchecking whether ln -s works... yes\r\nchecking for a thread-safe mkdir -p... /bin/mkdir -p\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking for a sed that does not truncate output... /bin/sed\r\nchecking for grep that handles long lines and -e... /bin/grep\r\nchecking build system type... x86_64-unknown-linux-gnu\r\nchecking host system type... x86_64-unknown-linux-gnu\r\nchecking for fpc... fpc\r\nchecking for fpcmake... fpcmake\r\nchecking version of fpc... [3.0.0]\r\nchecking whether the Free Pascal Compiler works... yes\r\nchecking whether the Free Pascal Compiler can link... yes\r\nchecking whether FPC supports -k\"-z noexecstack\"... yes\r\nchecking for gcc... gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking for g++... g++\r\nchecking whether we are using the GNU C++ compiler... yes\r\nchecking whether g++ accepts -g... yes\r\nchecking for ranlib... ranlib\r\nchecking for pkg-config... /usr/bin/pkg-config\r\nchecking pkg-config is at least version 0.9.0... yes\r\nchecking for libpng12... no\r\nchecking for libpng >= 1.2... yes\r\nchecking version of libpng... [1.6.25]\r\nchecking for sdl2... yes\r\nchecking for SDL2_image... yes\r\nchecking for freetype2... yes\r\nchecking for sqlite3... yes\r\nchecking for lua5.3... no\r\nchecking for lua5.2... no\r\nchecking for lua5.1... yes\r\nchecking version of lua... [5.1.5]\r\nchecking for libavcodec... yes\r\nchecking version of libavcodec... [57.24.102]\r\nchecking for avcodec_decode_audio in -lavcodec... no\r\nchecking for avcodec_decode_audio2 in -lavcodec... no\r\nchecking for img_convert in -lavcodec... no\r\nchecking for libavformat... yes\r\nchecking version of libavformat... [57.25.100]\r\nchecking for libavutil... yes\r\nchecking version of libavutil... [55.17.103]\r\nchecking version of ffmpeg... [3.0]\r\nchecking for libswscale... yes\r\nchecking version of libswscale... [4.0.100]\r\nchecking for libprojectM >= 0.98... no\r\nchecking for portaudio-2.0... yes\r\nchecking version of portaudio... [19]\r\nchecking for libpcre... yes\r\nchecking version of libpcre... [8.39]\r\nchecking for portmixer... no\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: creating src/Makefile\r\nconfig.status: creating src/config-linux.inc\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/UltraStar-Deluxe/USDX/issues/comments/264466257","html_url":"https://github.com/UltraStar-Deluxe/USDX/issues/178#issuecomment-264466257","issue_url":"https://api.github.com/repos/UltraStar-Deluxe/USDX/issues/178","id":264466257,"user":{"login":"AlexanderS","id":149450,"avatar_url":"https://avatars.githubusercontent.com/u/149450?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderS","html_url":"https://github.com/AlexanderS","followers_url":"https://api.github.com/users/AlexanderS/followers","following_url":"https://api.github.com/users/AlexanderS/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderS/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderS/subscriptions","organizations_url":"https://api.github.com/users/AlexanderS/orgs","repos_url":"https://api.github.com/users/AlexanderS/repos","events_url":"https://api.github.com/users/AlexanderS/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderS/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T14:30:35Z","updated_at":"2016-12-02T14:30:35Z","body":"Seems like `get_buffer` was deprecated in ffmpeg-2.8 and is dropped in ffmpeg-3.0. Very unlikely that an older version of USDX still supports it. (But maybe the old version detected a wrong version for ffmpeg.)"}}
{"actor":{"display_login":"AlexanderS"}}