diff options
author | wm4 <wm4@nowhere> | 2013-11-23 21:37:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-23 21:37:56 +0100 |
commit | 904c73d2d214c729fbeedc13c8b47afab91e296b (patch) | |
tree | 0b903a73ac8f0c3239f5cb52459f203dce866b16 /mpvcore/player/video.c | |
parent | 639e672bd153e06cfc01ced6c2a48b45870e8f31 (diff) | |
download | mpv-904c73d2d214c729fbeedc13c8b47afab91e296b.tar.bz2 mpv-904c73d2d214c729fbeedc13c8b47afab91e296b.tar.xz |
demux: remove gsh field from sh_audio/sh_video/sh_sub
This used to be needed to access the generic stream header from the
specific headers, which in turn was needed because the decoders had
access only to the specific headers. This is not the case anymore, so
this can finally be removed again.
Also move the "format" field from the specific headers to sh_stream.
Diffstat (limited to 'mpvcore/player/video.c')
-rw-r--r-- | mpvcore/player/video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/player/video.c b/mpvcore/player/video.c index 333b694f9c..248ec91431 100644 --- a/mpvcore/player/video.c +++ b/mpvcore/player/video.c @@ -96,7 +96,7 @@ int reinit_video_chain(struct MPContext *mpctx) goto no_video; MP_VERBOSE(mpctx, "[V] fourcc:0x%X size:%dx%d fps:%5.3f\n", - sh->video->format, + sh->format, sh->video->disp_w, sh->video->disp_h, sh->video->fps); if (opts->force_fps) |