From 671df54e4dcf0675c335483d26f7f6ff9baaf76a Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 12 Jan 2016 23:48:19 +0100 Subject: demux: merge sh_video/sh_audio/sh_sub This is mainly a refactor. I'm hoping it will make some things easier in the future due to cleanly separating codec metadata and stream metadata. Also, declare that the "codec" field can not be NULL anymore. demux.c will set it to "" if it's NULL when added. This gets rid of a corner case everything had to handle, but which rarely happened. --- sub/sd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub/sd.h') diff --git a/sub/sd.h b/sub/sd.h index 5945b00483..b142654ed1 100644 --- a/sub/sd.h +++ b/sub/sd.h @@ -18,7 +18,7 @@ struct sd { void *priv; struct demuxer *demuxer; - struct sh_stream *sh; + struct mp_codec_params *codec; }; struct sd_functions { -- cgit v1.2.3