mirror of
https://github.com/mpv-player/mpv
synced 2025-02-23 16:36:56 +00:00
change ve_raw.c:set_format to not overwrite biCompression if force_fourcc is set.
fixes -ovc raw -ffourcc patch by "Andrew Wason" rectalogic !@! rectalogic !.! com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27398 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e588ab056d
commit
cae7631dbe
@ -27,6 +27,7 @@ struct vf_priv_s {
|
||||
#define mux_v (vf->priv->mux)
|
||||
|
||||
static int set_format(struct vf_instance_s *vf, unsigned int fmt) {
|
||||
if (!force_fourcc)
|
||||
mux_v->bih->biCompression = fmt;
|
||||
|
||||
mux_v->bih->biPlanes = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user