mirror of https://github.com/mpv-player/mpv
demux: expose stream_type_name() function
This commit is contained in:
parent
c236cb7679
commit
486658e5c7
|
@ -281,7 +281,7 @@ void free_demuxer(demuxer_t *demuxer)
|
|||
talloc_free(demuxer);
|
||||
}
|
||||
|
||||
static const char *stream_type_name(enum stream_type type)
|
||||
const char *stream_type_name(enum stream_type type)
|
||||
{
|
||||
switch (type) {
|
||||
case STREAM_VIDEO: return "video";
|
||||
|
|
|
@ -304,4 +304,6 @@ void mp_tags_clear(struct mp_tags *tags);
|
|||
bool demux_matroska_uid_cmp(struct matroska_segment_uid *a,
|
||||
struct matroska_segment_uid *b);
|
||||
|
||||
const char *stream_type_name(enum stream_type type);
|
||||
|
||||
#endif /* MPLAYER_DEMUXER_H */
|
||||
|
|
Loading…
Reference in New Issue