1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-03 13:41:49 +00:00

dvd: potentially fix video aspect ratio

This overwrote the source stream header, instead of the stream header
exported to the decoder.
This commit is contained in:
wm4 2014-07-12 20:16:42 +02:00
parent c37956b364
commit 5b820ff1b4

View File

@ -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;