diff options
author | wm4 <wm4@nowhere> | 2013-02-09 15:15:28 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-10 17:25:57 +0100 |
commit | a0987186b91680df473a7273a1eec130d0dd1a60 (patch) | |
tree | 4f8d450f381333f5a52a1b9843bce8b1bb012ba8 /demux/stheader.h | |
parent | 4d016a92c876e98797c362d05468bf27d5a85414 (diff) | |
download | mpv-a0987186b91680df473a7273a1eec130d0dd1a60.tar.bz2 mpv-a0987186b91680df473a7273a1eec130d0dd1a60.tar.xz |
demux_lavf: remove code duplication
Also move the lang field into the general stream header. (SH_COMMON is
an old hack to "share" code between audio/video/sub headers.)
There should be no functional changes, other than not printing stream
info in verbose mode or with slave mode. (The frontend already prints
stream info, and this is just a leftover when individual demuxers did
this, and slave mode remains broken.)
Diffstat (limited to 'demux/stheader.h')
-rw-r--r-- | demux/stheader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/stheader.h b/demux/stheader.h index 433b2a934a..bf9077ea0a 100644 --- a/demux/stheader.h +++ b/demux/stheader.h @@ -63,6 +63,7 @@ struct sh_stream { int lavf_codec_tag; char *title; + char *lang; // language code bool default_track; // container default track flag bool attached_picture; // stream is a picture (such as album art) @@ -93,7 +94,6 @@ struct sh_stream { double pts; \ /* decoder context */ \ void *context; \ - char *lang; /* track language */ \ typedef struct sh_common { SH_COMMON |