New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFMPEG / Media Compiler Warnings #383

Open
Enverex opened this Issue Nov 10, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@Enverex
Contributor

Enverex commented Nov 10, 2017

This is more for cleanup reference as these don't appear to be causing a problem right now.

src/media.cpp: In member function ‘void FeVideoImp::preload()’:
src/media.cpp:530:15: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
	codec_ctx->refcounted_frames = 1;
			   ^~~~~~~~~~~~~~~~~
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:2694:9: note: declared here
	 int refcounted_frames;
		 ^~~~~~~~~~~~~~~~~
src/media.cpp:530:15: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
	codec_ctx->refcounted_frames = 1;
			   ^~~~~~~~~~~~~~~~~
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:2694:9: note: declared here
	 int refcounted_frames;
		 ^~~~~~~~~~~~~~~~~
src/media.cpp:530:15: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
	codec_ctx->refcounted_frames = 1;
			   ^~~~~~~~~~~~~~~~~
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:2694:9: note: declared here
	 int refcounted_frames;
		 ^~~~~~~~~~~~~~~~~
src/media.cpp:536:24: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
	 &got_frame, packet );
						^
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:4993:5: note: declared here
 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
	 ^~~~~~~~~~~~~~~~~~~~~
src/media.cpp: In member function ‘void FeVideoImp::video_thread()’:
src/media.cpp:702:17: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
	  codec_ctx->refcounted_frames = 1;
				 ^~~~~~~~~~~~~~~~~
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:2694:9: note: declared here
	 int refcounted_frames;
		 ^~~~~~~~~~~~~~~~~
src/media.cpp:702:17: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
	  codec_ctx->refcounted_frames = 1;
				 ^~~~~~~~~~~~~~~~~
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:2694:9: note: declared here
	 int refcounted_frames;
		 ^~~~~~~~~~~~~~~~~
src/media.cpp:702:17: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
	  codec_ctx->refcounted_frames = 1;
				 ^~~~~~~~~~~~~~~~~
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:2694:9: note: declared here
	 int refcounted_frames;
		 ^~~~~~~~~~~~~~~~~
src/media.cpp:708:27: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
		&got_frame, packet );
						   ^
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:4993:5: note: declared here
 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
	 ^~~~~~~~~~~~~~~~~~~~~
src/media.cpp:714:35: warning: ‘AVFrame::pkt_pts’ is deprecated [-Wdeprecated-declarations]
	   raw_frame->pts = raw_frame->pkt_pts;
								   ^~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:38:0,
				 from src/media.cpp:30:
/usr/include/libavutil/frame.h:302:13: note: declared here
	 int64_t pkt_pts;
			 ^~~~~~~
src/media.cpp:714:35: warning: ‘AVFrame::pkt_pts’ is deprecated [-Wdeprecated-declarations]
	   raw_frame->pts = raw_frame->pkt_pts;
								   ^~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:38:0,
				 from src/media.cpp:30:
/usr/include/libavutil/frame.h:302:13: note: declared here
	 int64_t pkt_pts;
			 ^~~~~~~
src/media.cpp:714:35: warning: ‘AVFrame::pkt_pts’ is deprecated [-Wdeprecated-declarations]
	   raw_frame->pts = raw_frame->pkt_pts;
								   ^~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:38:0,
				 from src/media.cpp:30:
/usr/include/libavutil/frame.h:302:13: note: declared here
	 int64_t pkt_pts;
			 ^~~~~~~
src/media.cpp: In member function ‘bool FeMedia::internal_open(sf::Texture*)’:
src/media.cpp:1014:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
	AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
																		 ^~~~~
In file included from src/media.cpp:31:0:
/usr/include/libavformat/avformat.h:893:21: note: declared here
	 AVCodecContext *codec;
					 ^~~~~
src/media.cpp:1014:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
	AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
																		 ^~~~~
In file included from src/media.cpp:31:0:
/usr/include/libavformat/avformat.h:893:21: note: declared here
	 AVCodecContext *codec;
					 ^~~~~
src/media.cpp:1014:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
	AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
																		 ^~~~~
In file included from src/media.cpp:31:0:
/usr/include/libavformat/avformat.h:893:21: note: declared here
	 AVCodecContext *codec;
					 ^~~~~
src/media.cpp:1069:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
	AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
																		 ^~~~~
In file included from src/media.cpp:31:0:
/usr/include/libavformat/avformat.h:893:21: note: declared here
	 AVCodecContext *codec;
					 ^~~~~
src/media.cpp:1069:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
	AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
																		 ^~~~~
In file included from src/media.cpp:31:0:
/usr/include/libavformat/avformat.h:893:21: note: declared here
	 AVCodecContext *codec;
					 ^~~~~
src/media.cpp:1069:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
	AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
																		 ^~~~~
In file included from src/media.cpp:31:0:
/usr/include/libavformat/avformat.h:893:21: note: declared here
	 AVCodecContext *codec;
					 ^~~~~
src/media.cpp: In member function ‘virtual bool FeMedia::onGetData(sf::SoundStream::Chunk&)’:
src/media.cpp:1226:23: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
   m_audio->codec_ctx->refcounted_frames = 1;
					   ^~~~~~~~~~~~~~~~~
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:2694:9: note: declared here
	 int refcounted_frames;
		 ^~~~~~~~~~~~~~~~~
src/media.cpp:1226:23: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
   m_audio->codec_ctx->refcounted_frames = 1;
					   ^~~~~~~~~~~~~~~~~
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:2694:9: note: declared here
	 int refcounted_frames;
		 ^~~~~~~~~~~~~~~~~
src/media.cpp:1226:23: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
   m_audio->codec_ctx->refcounted_frames = 1;
					   ^~~~~~~~~~~~~~~~~
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:2694:9: note: declared here
	 int refcounted_frames;
		 ^~~~~~~~~~~~~~~~~
src/media.cpp:1235:82: warning: ‘int avcodec_decode_audio4(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
   int len = avcodec_decode_audio4( m_audio->codec_ctx, frame, &got_frame, packet );
																				  ^
In file included from src/media.cpp:30:0:
/usr/include/libavcodec/avcodec.h:4944:5: note: declared here
 int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
	 ^~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment