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:
parent
c37956b364
commit
5b820ff1b4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user