summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-13 21:59:04 +0200
committerwm4 <wm4@nowhere>2015-06-13 22:34:23 +0200
commitfd88fb70aff630d4d6a861c02c63aeeca5e8f3ca (patch)
tree1051a092e9df6fdbad40e710c19bf2fe1a9965ff /video
parentb33ab743e5ae9445a2efca932c432f00edb132f7 (diff)
downloadmpv-fd88fb70aff630d4d6a861c02c63aeeca5e8f3ca.tar.bz2
mpv-fd88fb70aff630d4d6a861c02c63aeeca5e8f3ca.tar.xz
demux_mkv: remove FourCCs from video codec handling
Inherited from MPlayer times, we used FourCCs to identify video codecs. This was later changed to libavcodec codec names (which made life a whole lot simpler). But demux_mkv still uses FourCCs a lot. Change this for video. It's pretty simple, because some preparation was done in the past. We just have to replace some "internal" FourCCs with different handling. One potentially complicated issue is that there is no natural way to set the sh->format (AVCodecContext.codec_tag) field anymore. Most decoders do not need it, though mjpeg is an exception. Note that the AVI compatibility code still requires codec mappings, but these are provided by FFmpeg. Also, the audio code is not changed. For the MKV_V_MPEG2 -> mpeg1video thing see next commit.
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions