summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-08 21:45:37 +0200
committerwm4 <wm4@nowhere>2012-08-08 21:45:37 +0200
commitb4dd2194d5c2540583becf6c021d8eb0f52cddc0 (patch)
treea28779bbb2862813e74e84bc2683f7408df58ab4 /libmpdemux
parent7fd43b0bcd5abdcda0a6fe99abb46651f81ec84d (diff)
downloadmpv-b4dd2194d5c2540583becf6c021d8eb0f52cddc0.tar.bz2
mpv-b4dd2194d5c2540583becf6c021d8eb0f52cddc0.tar.xz
command: fix subtitle selection display
Commit 9c02ae7e9510897 set the sh variable (see diff) to the struct of type sh_sub instead the one of sh_stream. Unfortunately this didn't crash, and merely made the OSD show "unknown" for the language. Commit 804bf91570a24b9 accidentally removed the display of the track title. Add it back.
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demuxer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h
index 9b63eb63ac..5f31057cb3 100644
--- a/libmpdemux/demuxer.h
+++ b/libmpdemux/demuxer.h
@@ -136,7 +136,7 @@ typedef struct demux_stream {
// ---- mov -----
unsigned int ss_mul, ss_div;
// ---- stream header ----
- void *sh;
+ void *sh; // points to sh_audio or sh_video
} demux_stream_t;
typedef struct demuxer_info {