summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-12 20:16:42 +0200
committerwm4 <wm4@nowhere>2014-07-12 20:17:19 +0200
commit5b820ff1b42a52aa44e9b19974f7b78eead6eba6 (patch)
treeee0b973f55ebf91e2be0504db3b821762b260047
parentc37956b364eef68eeaddc5c4af97c664ede8ebbc (diff)
downloadmpv-5b820ff1b42a52aa44e9b19974f7b78eead6eba6.tar.bz2
mpv-5b820ff1b42a52aa44e9b19974f7b78eead6eba6.tar.xz
dvd: potentially fix video aspect ratio
This overwrote the source stream header, instead of the stream header exported to the decoder.
-rw-r--r--demux/demux_disc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_disc.c b/demux/demux_disc.c
index 9c3e33a935..d433550908 100644
--- a/demux/demux_disc.c
+++ b/demux/demux_disc.c
@@ -141,7 +141,7 @@ static void add_streams(demuxer_t *demuxer)
double ar;
if (stream_control(demuxer->stream, STREAM_CTRL_GET_ASPECT_RATIO, &ar)
== STREAM_OK)
- src->video->aspect = ar;
+ sh->video->aspect = ar;
}
if (sh && src->audio)
sh->audio = src->audio;