fftools/ffmpeg_demux: add an AVClass to DemuxStream/InputStream

Use it for logging. This makes log messages related to this input stream
more consistent.
This commit is contained in:
Anton Khirnov
2023-02-11 07:59:36 +01:00
parent d9079f6700
commit 66c1e956aa
2 changed files with 52 additions and 29 deletions

View File

@@ -333,6 +333,8 @@ typedef struct FilterGraph {
} FilterGraph;
typedef struct InputStream {
const AVClass *class;
int file_index;
AVStream *st;
int discard; /* true if stream data should be discarded */