diff options
author | wm4 <wm4@nowhere> | 2014-05-06 00:33:59 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-06 00:33:59 +0200 |
commit | 4331617bcea8539c8246f6d92066e3bd4fd5a4da (patch) | |
tree | 11a7844a4c6a125ed64b5d555d5fc0c84e92ee14 /TOOLS | |
parent | 143cf79a960625e8f1b623020987c0b7aa81a0f2 (diff) | |
download | mpv-4331617bcea8539c8246f6d92066e3bd4fd5a4da.tar.bz2 mpv-4331617bcea8539c8246f6d92066e3bd4fd5a4da.tar.xz |
vo: don't crash when changing panscan before first configuration
When the VO was not initialized with vo_reconfig(), or if the last
vo_reconfig() failed, changing panscan would cause a crash due to
vo_get_src_dst_rects() dereferencing vo->params (NULL if not
configured).
Just do nothing if that happens, as there is no video that could be
displayed anyway.
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions